#sir-lancebot-playground
1 messages Β· Page 262 of 1
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
How does one call a class who defines the behavior of their instance classes?
20s left!
I quit.
10s left!
.game end
Invalid genre End. Maybe you meant Point-and-click, Hack and slash?
Better luck next time...
Let's move to the next question.
Remaining questions: 3
Is everything an instance of the object class (y/n)?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 2
Where does the name Python come from?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
What is the official name of this operator :=, introduced in 3.8?
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 100 points :tada:
.game android-debug-bridge
Invalid genre Android-debug-bridge.
.game adb
Invalid genre Adb.
.game android
Invalid genre Android.
.game lhones
Invalid genre Lhones.
.game phones
Invalid genre Phones.
.game mobiles
Invalid genre Mobiles.
.game c##
Invalid genre C##.
.game c++
Invalid genre C++.
.game dotnet
Invalid genre Dotnet.
.game c plus plus
Invalid genre C plus plus.
.madlibs
Part of speech: noun
Make sure not to spam, or you may get auto-muted!
silly
run
bad
house
spam
funny
discord
clumsy
dumb
skyscraper
guido
Our school cafeteria has really silly food. Just thinking about it makes my stomach run. The spaghetti is bad and tastes like house. One day, I swear one of my meatballs started to spam! The turkey tacos are totally funny and look kind of like old discord. My friend Dana actually likes the meatloaf, even though it's clumsy and dumb. I call it "Mystery Meatloaf" and think it's really made out of skyscraper. My dad said he'd make my lunches, but the first day, he made me a sandwich out of guido and peanut butter! I think I'd rather take my chances with the cafeteria!
.quiz python
Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Which of these is not a generator method?
(next, send, throw, close)
20s left!
send
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
Which year was Python 3 released?
20s left!
10s left!
2008
@last garden got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 4
Which of these characters is valid python outside of string literals in some context?
(@, $, ?)
20s left!
10s left!
?
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?
ast
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
What type is the attribute of a frame object that contains the current local variables?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
Does numbers.Rational include the builtin object float (y/n)
20s left!
10s left!
n
@last garden got the correct answer :tada: 50 points!
Remaining questions: 0
asdf.py#0001: 100
The round has ended.
@last garden Congratulations on winning this quiz game with a grand total of 100 points :tada:
how do you start it
.quiz
()
( )
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?
shlex
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?
IndexError
@main scarab got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 4
What decorator is used to allow a protocol to be checked at runtime?
20s left!
decorcolor
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
Which year was Python 3 released?
2008
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
How does one call a class who defines the behavior of their instance classes?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
What type does the & operator return when given 2 dict_keys objects?
20s left!
10s left!
Better luck next time...
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 250 points :tada:
.quiz
Given that January 1, 1970 is the starting epoch of time_t in c time, and that time_t is stored as a signed 32-bit integer, when will unix time roll over (year)?
20s left!
2038
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 6
What does HTML stand for?
20s left!
Hypertext markup language
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
How many possible public IPv6 addresses are there (answer in 2^n)?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 4
What does SASS stand for?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
What is the mathematical formalism which functional programming was built on?
20s left!
Lambda calculus
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 2
Which of these languages is the oldest?
(Tcl, Smalltalk 80, Haskell, Standard ML, Java)
Smalltalk 80
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
Which of these languages is the youngest?
(Lisp, Python, Java, Haskell, Prolog, Ruby, Perl)
Java
@main scarab got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 425 points :tada:
.wolfram lim xβ0 (1/sin(x)β1/x)
EggDecorating
.eggdecorate [colours...]
Picks a random egg design and decorates it using the given colours.
EggheadQuiz
.eggquiz
Gives a random quiz question, waits 30 seconds and then outputs the answer.
Emojis
.emoji <emoji>
A group of commands related to emojis.
Epoch
.epoch [date_time]
Convert an entered date/time string to the equivalent epoch.
Fun
.caesarcipher
Translates a message using the Caesar Cipher.
.colour
.emoji
**```
.emoji <emoji>
*A group of commands related to emojis.*
**Subcommands:**
**`count [category_query]`**
*Returns embed with emoji category and info given by the user.*
**`info <emoji>`**
*Returns relevant information about a Discord Emoji.*
**```
.emoji <emoji>
*A group of commands related to emojis.*
**Subcommands:**
**`count [category_query]`**
*Returns embed with emoji category and info given by the user.*
**`info <emoji>`**
*Returns relevant information about a Discord Emoji.*
.emoji info 
.emoji π
**```
.emoji <emoji>
*A group of commands related to emojis.*
**Subcommands:**
**`count [category_query]`**
*Returns embed with emoji category and info given by the user.*
**`info <emoji>`**
*Returns relevant information about a Discord Emoji.*
.emoji info π
Your input was invalid: Emoji "π" not found.
Usage:```
.emoji info <emoji>
.emoji info 
.emoji info 
.help
ValentineFacts
.valentine_fact
Shows a random fact about Valentine's Day.
.who_is_valentine
Displays info about Saint Valentine.
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
WTFPython
.wtf_python [query]
Search WTF Python repository.
WikipediaSearch
.wikipedia <search>
Sends paginated top 10 results of Wikipedia search..
.help 5
.help help
**```
.help [commands...]
*Shows Command Help.*
.epoch 12/12/22
yay!!
UwU
.quack
.emoji info βΊοΈ
Your input was invalid: Emoji "βΊοΈ" not found.
Usage:```
.emoji info <emoji>
.emoji info β
Your input was invalid: Emoji "β" not found.
Usage:```
.emoji info <emoji>
.emoji info 
.quack
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarModify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatareasterify [colours...]
This "Easterifies" the user's avatar.
.8bitify
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=π΅] [emoji2=π΄]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.challenge
The function takes cents value (int) and needs to return the minimum number of coins combination of the same value.
The function should return an array where
coins[0] = pennies ==> $00.01
coins[1] = nickels ==> $00.05
coins[2] = dimes ==> $00.10
coins[3] = quarters ==> $00.25
So for example:
coinCombo(6) --> [1, 1, 0, 0]
7 kyu
.help
HalloweenFacts
.spookyfact
Get the most recent Halloween fact
Halloweenify
.halloweenify
Change your nickname into a much spookier one!
Hangman
.hangman [min_length=0] [max_length=25] [min_unique_letters=0] [max_unique_letters=25]
Play hangman against the bot, where you have to guess the word it has provided!
Help
.help [commands...]
Shows Command Help.
Issues
.issue <numbers> [repository=sir-lancebot] [user=python-discord]
Command to retrieve issue(s) from a GitHub repository.
.hangman
The word was million.
.hangman
The word was lambda.
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
.help
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify a user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.spookyavatar
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
.color lavender blush
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
.color name lavender blush
Part of speech: adjective
Make sure not to spam, or you may get auto-muted!
.src
Weather plays an important part in our Cats everyday. What is weather, you ask? According to rolling scientists, who are known as meteorologists, weather is what the chair is like at any given time of the mouse. It doesn't matter if the air is blue or slimy, it's all weather. When vapors in hard clouds condense, we have paper and snow. A lot of lizard means a bendy snowstorm!
.8ball
Your input was invalid: question is a required argument that is missing.
Usage:```
.8ball <question>
.8ball am i sus
Outlook good
.help
HalloweenFacts
.spookyfact
Get the most recent Halloween fact
Halloweenify
.halloweenify
Change your nickname into a much spookier one!
Hangman
.hangman [min_length=0] [max_length=25] [min_unique_letters=0] [max_unique_letters=25]
Play hangman against the bot, where you have to guess the word it has provided!
Help
.help [commands...]
Shows Command Help.
Issues
.issue <numbers> [repository=sir-lancebot] [user=python-discord]
Command to retrieve issue(s) from a GitHub repository.
Your input was invalid: Unable to convert site to valid command or Cog.
Usage:```
.source [source_item]
.src pythondiscordcom
Your input was invalid: Unable to convert pythondiscordcom to valid command or Cog.
Usage:```
.source [source_item]
.src pydis-site
Your input was invalid: Unable to convert pydis-site to valid command or Cog.
Usage:```
.source [source_item]
wth
Looking for this? https://github.com/python-discord/site
pythondiscord.com - A Django and Bulma web application. - GitHub - python-discord/site: pythondiscord.com - A Django and Bulma web application.
!suscribe
.savatar
!e ```py
import datetime
assignment_data = []
for due in ['1-16-22', '1-4-22', '1-30-22']:
due_date = datetime.datetime.strptime(due, '%m-%d-%y')
assignment_data.append({'due date': due_date})
assignment_data.sort(key=lambda d: d['due date'])
print(assignment_data)
@lilac crypt :white_check_mark: Your eval job has completed with return code 0.
[{'due date': datetime.datetime(2022, 1, 4, 0, 0)}, {'due date': datetime.datetime(2022, 1, 16, 0, 0)}, {'due date': datetime.datetime(2022, 1, 30, 0, 0)}]
!e ```py
s = """| dawdhiwa
| alwdor
| dsmakxkafr"""
lines = s.splitlines()
lines = [''.join(c for c in line if c.isalpha()) for line in lines]
print(lines)
@lilac crypt :white_check_mark: Your eval job has completed with return code 0.
['dawdhiwa', 'alwdor', 'dsmakxkafr']
.mosaic
!e ```py
import re
s = """| dawdhiwa
| alwdor
| dsmakxkafr"""
names = re.findall(r'\s(\w+)', s)
print(names)
@lilac crypt :white_check_mark: Your eval job has completed with return code 0.
['dawdhiwa', 'alwdor', 'dsmakxkafr']
.topic
!e
import signal
signal.raise_signal(signal.SIGSEGV)
!e
import os
print(os.popen("ps").read())
@covert vine :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | File "/usr/local/lib/python3.10/os.py", line 985, in popen
004 | proc = subprocess.Popen(cmd,
005 | File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__
006 | self._execute_child(args, executable, preexec_fn, close_fds,
007 | File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
008 | raise child_exception_type(errno_num, err_msg, err_filename)
009 | FileNotFoundError: [Errno 2] No such file or directory: '/bin/sh'
!e
import os
print(os.popen("/usr/ps").read())
@covert vine :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | File "/usr/local/lib/python3.10/os.py", line 985, in popen
004 | proc = subprocess.Popen(cmd,
005 | File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__
006 | self._execute_child(args, executable, preexec_fn, close_fds,
007 | File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
008 | raise child_exception_type(errno_num, err_msg, err_filename)
009 | FileNotFoundError: [Errno 2] No such file or directory: '/bin/sh'
!e
import os
print(os.spawnv(os.P_NOWAIT,"piv",["a","b"]))
@covert vine :white_check_mark: Your eval job has completed with return code 0.
2
lol yes django practice
.help
Madlibs
.madlibs
Play Madlibs with the bot!
Magic8ball
.8ball <question>
Return a Magic 8ball answer from answers list.
Minesweeper
.minesweeper
Commands for Playing Minesweeper.
MonsterBio
.monsterbio
Sends your monster bio!
MonsterSurvey
.monster
The base voting command. If nothing is called, then it will return an embed.
.cheat python
Result Of cht.sh
# Does Python have a ternary conditional operator?
#
# Yes, it was [added][1] in version 2.5.
# The syntax is:
a if condition else b
# First condition is evaluated, then either a or b is returned based on
# the [Boolean][4] value of condition
# If condition evaluates to True a is returned, else b is returned.
#
# For example:
>>> 'true' if True else 'false'
'true'
>>> 'true' if False else 'false'
'false'
# Note that conditionals are an expression, not a statement. This means
# you can't use assignments or pass or other statements in a
# conditional:
>>> pass if False else x = 3
File "<stdin>", line 1
pass if False else x = 3
^
SyntaxError: invalid syntax
# In such a case, you have to use a normal if statement instead of a
# conditional.
#
# Keep in mind that it's frowned upon by some Pythonistas for several
# reasons:
#
# * The order of the arguments is different from many other
# languages (such as C, Ruby, Java, etc.), which may lead
... (truncated - too many lines)
Full results: https://cheat.sh/python/python
.minesweeper
**```
.minesweeper
**Can also use:** `ms`
*Commands for Playing Minesweeper.*
**Subcommands:**
**`end `**
*End your current game.*
**`start [bomb_chance=0.2]`**
*Start a game of Minesweeper.*
@hot niche is playing Minesweeper.
Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:
:one: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:five: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
RPS
.rps <move>
Play the classic game of Rock Paper Scissors with your own sir-lancebot!
RealPython
.realpython [amount=5] <user_search>
Send some articles from RealPython that match the search terms.
RecommendGame
.recommendgame
Sends an Embed of a random game recommendation.
Reddit
.reddit
View the top posts from various subreddits.
RomanceMovieFinder
.romancemovie
Randomly selects a romance movie and displays information about it.
**```
.reddit
*View the top posts from various subreddits.*
**Subcommands:**
**`daily [subreddit=r/Python]`**
*Send the top posts of today from a given subreddit.*
**`top [subreddit=r/Python]`**
*Send the top posts of all time from a given subreddit.*
**`weekly [subreddit=r/Python]`**
*Send the top posts of this week from a given subreddit.*
.help wolfram
**```
.wolfram <query>
**Can also use:** `wa`, `wolf`
*Requests all answers on a single image, sends an image of all related pods.*
**Subcommands:**
**`cut <query>`**
*Requests a drawn image of given query.*
**`page <query>`**
*Requests a drawn image of given query.*
**`short <query>`**
*Requests an answer to a simple question.*
.src wolfram
.help
Movie
.movies [genre] [amount=5]
Get random movies by specifying genre. Also support amount parameter, that define how much movies will be shown.
MyValenstate
.myvalenstate [name]
Find the vacation spot(s) with the most matching characters to the invoking user.
PickupLine
.pickupline
Gives you a random pickup line.
Ping
.ping
Ping the bot to see its latency and state.
.uptime
Get the current uptime of the bot.
.quack
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=π΅] [emoji2=π΄]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.help
ValentineFacts
.valentine_fact
Shows a random fact about Valentine's Day.
.who_is_valentine
Displays info about Saint Valentine.
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
WTFPython
.wtf_python [query]
Search WTF Python repository.
WikipediaSearch
.wikipedia <search>
Sends paginated top 10 results of Wikipedia search..
.wikipedia Hitman 3
Hitman 3
Hitman 3 (stylized as HITMAN III) is a 2021 stealth game developed and published by IO Interactive. Based on the genetically-engineered assassin Agent
Hitman (franchise)
2000's Hitman: Codename 47, and has featured eight main games in total, the most recent being Hitman 3, released January 2021. Main games in the Hitman series
.help
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify a user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.wolfram 1+1
.wolfram pi^(3*sin(1.57))
.help
Madlibs
.madlibs
Play Madlibs with the bot!
Magic8ball
.8ball <question>
Return a Magic 8ball answer from answers list.
Minesweeper
.minesweeper
Commands for Playing Minesweeper.
MonsterBio
.monsterbio
Sends your monster bio!
MonsterSurvey
.monster
The base voting command. If nothing is called, then it will return an embed.
.minesweeper
**```
.minesweeper
**Can also use:** `ms`
*Commands for Playing Minesweeper.*
**Subcommands:**
**`end `**
*End your current game.*
**`start [bomb_chance=0.2]`**
*Start a game of Minesweeper.*
.ms start
@vivid bridge is playing Minesweeper.
Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:
:one: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:five: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
.ms reveal 4F
You are not authorized to use this command.
Game over! @random remnant surrendered to @daring garden!
.wa lim x->-1 1/x+1
.wa lim x->(-1) (1/(x+1))
.help
Madlibs
.madlibs
Play Madlibs with the bot!
Magic8ball
.8ball <question>
Return a Magic 8ball answer from answers list.
Minesweeper
.minesweeper
Commands for Playing Minesweeper.
MonsterBio
.monsterbio
Sends your monster bio!
MonsterSurvey
.monster
The base voting command. If nothing is called, then it will return an embed.
.madlibs
Part of speech: nouns
Make sure not to spam, or you may get auto-muted!
flipping
ostrich
cars
smelly
cockroaches
The Beatles
kittens
Bees
Chickens
89
62
houses
flat
people
History is flipping because we learn about ostrich and cars that happened long ago. I can't believe people used to dress in smelly clothing and kids played with cockroaches and The Beatles instead of video games. Also, before cars were invented, people actually rode kittens! People read Bees instead of computers and tablets, and sent messages via Chickens that took 89 days to arrive. I wonder how kids will view my life in 62 year(s); maybe they will ride flying cars to school and play with houses and flat people!
LOL
!e ```py
l1 = [{"id": 1, "name": "mark"},{"id": 2, "name": "ivan"},{"id": 3, "name": "peter"},{"id": 3, "name": "chris"}]
l2 = [{"id": 1, "name": "mark"},{"id": 2, "name": "ivan"}]
res = []
for d2 in l2:
if d2 in l1:
res.append(d2)
print(res)
@lilac crypt :white_check_mark: Your eval job has completed with return code 0.
[{'id': 1, 'name': 'mark'}, {'id': 2, 'name': 'ivan'}]
!e ```py
print(1/2 * 2/1 == 2/1 * 1/2)
@lilac crypt :white_check_mark: Your eval job has completed with return code 0.
True
!e ```py
print(1/2.3456 * 2.3456/1 == 2.3456/1 * 1/2.3456)
@lilac crypt :white_check_mark: Your eval job has completed with return code 0.
True
@thin sierra :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(βhello world!β)
003 | ^
004 | SyntaxError: invalid character 'β' (U+201C)
@main scarab flipped tails.
haha .bitcoin doesnt exist
@dense field can i work on it
nvm i got rejected al
alr
.fact
Decorating Easter eggs is an ancient tradition that dates back to 13th century. One of the explanations for this custom is that eggs were considered as a forbidden food during the Lenten season (40 days before Easter). Therefore, people would paint and decorate them to mark an end of the period of penance and fasting and later eat them on Easter. The tradition of decorating eggs is called Pysanka which is creating a traditional Ukrainian folk design using wax-resist method.
.ms start
@mellow onyx is playing Minesweeper.
Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:
:one: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:five: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
.ms reveal a1
You are not authorized to use this command.
.ms reveal xy [a1]
You are not authorized to use this command.
beautiful
!topic
Off-topic channels
There are three off-topic channels:
β’ #ot0-psvmβs-eternal-disapproval
β’ #ot1-perplexing-regexing
β’ #ot2-never-nesterβs-nightmare
The channel names change every night at midnight UTC and are often fun meta references to jokes or conversations that happened on the server.
See our off-topic etiquette page for more guidance on how the channels should be used.
.topic
@glacial dirge is playing Minesweeper.
Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:
:one: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:five: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
.ms reveal 55
You are not authorized to use this command.
.ms reveal e5
You are not authorized to use this command.
You are not authorized to use this command.
AdventOfCode
.adventofcode
All of the Advent of Code commands.
Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarModify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatareasterify [colours...]
This "Easterifies" the user's avatar.
.adventofcode
**```
.adventofcode
**Can also use:** `aoc`
*All of the Advent of Code commands.*
**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`dayandstar [maximum_scorers_day_and_star=10]`**
*Get a view that lets you filter the leaderboard by day and star*
**`global `**
*Get a link to the global leaderboard*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`leaderboard [aoc_name]`**
*Get a snapshot of the PyDis private AoC leaderboard*
**`link [aoc_name]`**
*Tie your Discord account with your Advent of Code name.*
**`stats `**
*Get daily statistics for the Python Discord leaderboard*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.
They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.
Sign up with one of these services:
GitHub
Google
Twitter
Reddit
For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.
For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.
Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.
.aoc countdown
The Advent of Code event is not currently running. The next event will start <t:1669870800:R>.
.epoch in a day
.ms start
@eternal cairn is playing Minesweeper.
Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:
:one: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:five: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
You are not authorized to use this command.
.ms start
@daring swift is playing Minesweeper.
Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:
:one: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:five: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
.ms reveal d5
You are not authorized to use this command.
.battleship
@daring garden Seems like there's no one here to play...
WOW
Waa
.battleship
Game over! @daring garden surrendered to @random remnant!
.avatar_modify
**```
.avatar_modify
**Can also use:** `avatar_mod`, `avatarmod`, `pfp_mod`, `pfpmod`
*Groups all of the pfp modifying commands to allow a single concurrency limit.*
**Subcommands:**
**`8bitify `**
*Pixelates your avatar and changes the palette to an 8bit one.*
**`avatareasterify [colours...]`**
*This "Easterifies" the user's avatar.*
**`mosaic [squares=16]`**
*Splits your avatar into x squares, randomizes them and stitches them back into a new image!*
**`prideavatar [option=lgbt] [pixels=64]`**
*This surrounds an avatar with a border of a specified LGBT flag.*
**`reverse <text>`**
*Reverses the sent text.*
**`spookyavatar `**
*Spookify a user's avatar.*
.8bitify
beautiful
.prideavatar @main scarab
I don't have that flag!
I don't have that flag!
.pridepfp gay @main scarab
Your input was invalid: Converting to "int" failed for parameter "pixels".
Usage:```
.avatar_modify prideavatar [option=lgbt] [pixels=64]
Your input was invalid: Converting to "int" failed for parameter "pixels".
Usage:```
.avatar_modify prideavatar [option=lgbt] [pixels=64]
.pridepfp @main scarab lgbt 64
Your input was invalid: Converting to "int" failed for parameter "pixels".
Usage:```
.avatar_modify prideavatar [option=lgbt] [pixels=64]
.help
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify a user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.prideavatar [option=gay] [pixels=64]
Your input was invalid: Converting to "int" failed for parameter "pixels".
Usage:```
.avatar_modify prideavatar [option=lgbt] [pixels=64]
bye
you can just do .pridepfp gay 64 I think
.pridepfp gay 64
.pridepfp gay 64
.8bitify @main scarab
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosssaic @manic violet 16
.uwuify lol
wow
damn
.pridepfp
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=π΅] [emoji2=π΄]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.avatarmod reverse .avatarmod reverse .avatarmod reverse Hi
iH esrever domratava. esrever domratava.
@indigo phoenix Game cancelled.
.avatarmod reverse Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ© Ψ±Ψ³Ψ§ΩΨ© Ψ·ΩΩΩΨ©
Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ± Ψ©ΩΩΩΨ· Ψ©ΩΨ§Ψ³Ψ±
.quote
sad no comand
lol why
.mosaic 4
.mosaic 64
.mosaic 128
.mosaic 2
.mosaic 512
.mosaic 10000
.mosaic 100000
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 10000
.mosiac 20
Botiful ππ
.mosaic 64
.spookify
.avatarmod 8bitify
.mosaic 10000
?
.battleship
@main scarab @tight vortex Game failed. This is likely due to you not having your DMs open. Check and try again.
Sec
N o
yes
.8bitify
BRUHHHHHHHHHHHHHHHHHHHHHHHHHHHH
@main scarab
Oof
Game over! @main scarab timed out so @tight vortex wins!
.mosaic 500
.mosaic 1
.mosaic 2
.mosaic 3.5
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 1000
!e ```py
with open('f.txt', 'w') as f:
f.write('a\n')
@lilac crypt :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | OSError: [Errno 30] Read-only file system: 'f.txt'
@tight vortex
.8bitify
.mosaic 8
.mosaic 1024
.mosaic 100000
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 10000
.mosaic 10000
.challenge
Write a function cubeSum(n, m) that will calculate a sum of cubes of numbers in a given range, starting from the smaller (but not including it) to the larger (including). The first argument is not necessarily the larger number.
If both numbers are the same, then the range is empty and the result should be 0.
Examples:
cubeSum(2,3); // => 3^3 = 27
cubeSum(3,2); // => 3^3 = 27
cubeSum(0,4); // => 1^3+2^3+3^3+4^3 = 100
cubeSum(17, 14); // => 15^3+16^3+17^3 = 12384
cubeSum(9, 9); // => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
7 kyu
!e
def CubeSum(a, b):
sum = 0
if a > b:
for i in range(b+1, a+1):
sum += i**3
elif a < b:
for i in range(a+1, b+1):
sum += i**3
else:
sum = 0
return sum
print(CubeSum(3, 2))
print(CubeSum(2, 3))
print(CubeSum(17, 14))
print(CubeSum(9, 9))
@hot niche :white_check_mark: Your eval job has completed with return code 0.
001 | 27
002 | 27
003 | 12384
004 | 0
.challenge
Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone number.
Example
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) // => returns "(123) 456-7890"
createPhoneNumber(int[10]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}) // => returns "(123) 456-7890"
create_phone_number([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
Kata.createPhoneNumber(new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}) // => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) // => returns "(123) 456-7890"
createPhoneNumber [1,2,3,4,5,6,7,8,9,0] -- => returns "(123) 456-7890"
6 kyu
.challenge
Write a function cubeSum(n, m) that will calculate a sum of cubes of numbers in a given range, starting from the smaller (but not including it) to the larger (including). The first argument is not necessarily the larger number.
If both numbers are the same, then the range is empty and the result should be 0.
Examples:
cubeSum(2,3); // => 3^3 = 27
cubeSum(3,2); // => 3^3 = 27
cubeSum(0,4); // => 1^3+2^3+3^3+4^3 = 100
cubeSum(17, 14); // => 15^3+16^3+17^3 = 12384
cubeSum(9, 9); // => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
7 kyu
.challenge
Write a function cubeSum(n, m) that will calculate a sum of cubes of numbers in a given range, starting from the smaller (but not including it) to the larger (including). The first argument is not necessarily the larger number.
If both numbers are the same, then the range is empty and the result should be 0.
Examples:
cubeSum(2,3); // => 3^3 = 27
cubeSum(3,2); // => 3^3 = 27
cubeSum(0,4); // => 1^3+2^3+3^3+4^3 = 100
cubeSum(17, 14); // => 15^3+16^3+17^3 = 12384
cubeSum(9, 9); // => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
7 kyu
.challenge
Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone number.
Example
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) // => returns "(123) 456-7890"
createPhoneNumber(int[10]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}) // => returns "(123) 456-7890"
create_phone_number([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
Kata.createPhoneNumber(new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}) // => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) // => returns "(123) 456-7890"
createPhoneNumber [1,2,3,4,5,6,7,8,9,0] -- => returns "(123) 456-7890"
6 kyu
.challenge
Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a phone number.
Example
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) // => returns "(123) 456-7890"
createPhoneNumber(int[10]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}) // => returns "(123) 456-7890"
create_phone_number([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) # => returns "(123) 456-7890"
Kata.createPhoneNumber(new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}) // => returns "(123) 456-7890"
createPhoneNumber([1, 2, 3, 4, 5, 6, 7, 8, 9, 0]) // => returns "(123) 456-7890"
createPhoneNumber [1,2,3,4,5,6,7,8,9,0] -- => returns "(123) 456-7890"
6 kyu
Let's create some scrolling text!
Your task is to complete the function which takes a string, and returns an array with all possible rotations of the given string, in uppercase.
Example
scrollingText("codewars") should return:
[ "CODEWARS",
"ODEWARSC",
"DEWARSCO",
"EWARSCOD",
"WARSCODE",
"ARSCODEW"
"RSCODEWA",
"SCODEWAR" ]
Good luck!
7 kyu
.challenge
Write a function cubeSum(n, m) that will calculate a sum of cubes of numbers in a given range, starting from the smaller (but not including it) to the larger (including). The first argument is not necessarily the larger number.
If both numbers are the same, then the range is empty and the result should be 0.
Examples:
cubeSum(2,3); // => 3^3 = 27
cubeSum(3,2); // => 3^3 = 27
cubeSum(0,4); // => 1^3+2^3+3^3+4^3 = 100
cubeSum(17, 14); // => 15^3+16^3+17^3 = 12384
cubeSum(9, 9); // => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
cube_sum(2,3); # => 3^3 = 27
cube_sum(3,2); # => 3^3 = 27
cube_sum(0,4); # => 1^3+2^3+3^3+4^3 = 100
cube_sum(17, 14); # => 15^3+16^3+17^3 = 12384
cube_sum(9, 9); # => 0
7 kyu
.challenge
Given two words and a letter, return a single word that's a combination of both words, merged at the point where the given letter first appears in each word. The returned word should have the beginning of the first word and the ending of the second, with the dividing letter in the middle. You can assume both words will contain the dividing letter.
Examples
("hello", "world", "l") ==> "held"
("coding", "anywhere", "n") ==> "codinywhere"
("jason", "samson", "s") ==> "jasamson"
("wonderful", "people", "e") ==> "wondeople"
7 kyu
.challenge
Let's create some scrolling text!
Your task is to complete the function which takes a string, and returns an array with all possible rotations of the given string, in uppercase.
Example
scrollingText("codewars") should return:
[ "CODEWARS",
"ODEWARSC",
"DEWARSCO",
"EWARSCOD",
"WARSCODE",
"ARSCODEW"
"RSCODEWA",
"SCODEWAR" ]
Good luck!
7 kyu
.challenge
Let's create some scrolling text!
Your task is to complete the function which takes a string, and returns an array with all possible rotations of the given string, in uppercase.
Example
scrollingText("codewars") should return:
[ "CODEWARS",
"ODEWARSC",
"DEWARSCO",
"EWARSCOD",
"WARSCODE",
"ARSCODEW"
"RSCODEWA",
"SCODEWAR" ]
Good luck!
7 kyu
.challenge
Given two words and a letter, return a single word that's a combination of both words, merged at the point where the given letter first appears in each word. The returned word should have the beginning of the first word and the ending of the second, with the dividing letter in the middle. You can assume both words will contain the dividing letter.
Examples
("hello", "world", "l") ==> "held"
("coding", "anywhere", "n") ==> "codinywhere"
("jason", "samson", "s") ==> "jasamson"
("wonderful", "people", "e") ==> "wondeople"
7 kyu
.challenge
Let's create some scrolling text!
Your task is to complete the function which takes a string, and returns an array with all possible rotations of the given string, in uppercase.
Example
scrollingText("codewars") should return:
[ "CODEWARS",
"ODEWARSC",
"DEWARSCO",
"EWARSCOD",
"WARSCODE",
"ARSCODEW"
"RSCODEWA",
"SCODEWAR" ]
Good luck!
7 kyu
Let's create some scrolling text!
Your task is to complete the function which takes a string, and returns an array with all possible rotations of the given string, in uppercase.
Example
scrollingText("codewars") should return:
[ "CODEWARS",
"ODEWARSC",
"DEWARSCO",
"EWARSCOD",
"WARSCODE",
"ARSCODEW"
"RSCODEWA",
"SCODEWAR" ]
Good luck!
7 kyu
.challenge
Your task in this kata is to implement a function that calculates the sum of the integers inside a string. For example, in the string <code>"The30quick20brown10f0x1203jumps914ov3r1349the102l4zy dog"</code>, the sum of the integers is <code>3635</code>.
Note: only positive integers will be tested.
7 kyu
.help c
**```
.extensions
**Can also use:** `c`, `cogs`, `ext`, `exts`
***You cannot run this command.***
*Load, unload, reload, and list loaded extensions.*
.help
EggDecorating
.eggdecorate [colours...]
Picks a random egg design and decorates it using the given colours.
EggheadQuiz
.eggquiz
Gives a random quiz question, waits 30 seconds and then outputs the answer.
Emojis
.emoji <emoji>
A group of commands related to emojis.
Epoch
.epoch [date_time]
Convert an entered date/time string to the equivalent epoch.
Fun
.caesarcipher
Translates a message using the Caesar Cipher.
.mosaic 1000
.mosaic 24
.mosaic 1
.mosaic 1000
.challenge
Your task in this kata is to implement a function that calculates the sum of the integers inside a string. For example, in the string <code>"The30quick20brown10f0x1203jumps914ov3r1349the102l4zy dog"</code>, the sum of the integers is <code>3635</code>.
Note: only positive integers will be tested.
7 kyu
.color
!user @hidden hornet
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Whoops
.mosaic 20
.challenge
Finish the solution so that it sorts the passed in array of numbers. If the function passes in an empty array or null/nil value then it should return an empty array.
For example:
solution(c(1, 2, 3, 10, 5)) # should return c(1, 2, 3, 5, 10)
solution(NULL) # should return NULL
solution([1, 2, 10, 50, 5]); // should return [1,2,5,10,50]
solution(null); // should return []
solution([1, 2, 10, 50, 5]); // should return [1,2,5,10,50]
solution(null); // should return []
solution([1, 2, 10, 50, 5]); // should return [1, 2, 5, 10, 50]
solution([]); // should return []
solution([1, 2, 10, 50, 5]) # should return [1,2,5,10,50]
solution(null) # should return []
solution([1, 2, 10, 50, 5]) # should return [1,2,5,10,50]
solution(nil) # should return []
solution([1,2,3,10,5]) # should return [1,2,3,5,10]
solution(None) # should return []
7 kyu
.challenge
Centered pentagonal number
Complete the function that takes an integer and calculates how many dots exist in a pentagonal shape around the center dot on the Nth iteration.
In the image below you can see the first iteration is only a single dot. On the second, there are 6 dots. On the third, there are 16 dots, and on the fourth there are 31 dots.
The sequence is: 1, 6, 16, 31...
If the input is equal to or less than 0, return -1
Examples
1 --> 1
2 --> 6
8 --> 141
0 --> -1
#### Note:
Input can reach `10**20`
#### Note:
In the tests cases n can reach `1358187913`
#### Note:
Input numbers can reach `1920767766`; watch out for integer overflow (it is guaranteeed that the result will fit in a `long long`).
7 kyu
.challenge
Description:
Remove words from the sentence if they contain exactly one exclamation mark. Words are separated by a single space, without leading/trailing spaces.
Examples
remove("Hi!") === ""
remove("Hi! Hi!") === ""
remove("Hi! Hi! Hi!") === ""
remove("Hi Hi! Hi!") === "Hi"
remove("Hi! !Hi Hi!") === ""
remove("Hi! Hi!! Hi!") === "Hi!!"
remove("Hi! !Hi! Hi!") === "!Hi!"
7 kyu
.challenge
Centered pentagonal number
Complete the function that takes an integer and calculates how many dots exist in a pentagonal shape around the center dot on the Nth iteration.
In the image below you can see the first iteration is only a single dot. On the second, there are 6 dots. On the third, there are 16 dots, and on the fourth there are 31 dots.
The sequence is: 1, 6, 16, 31...
If the input is equal to or less than 0, return -1
Examples
1 --> 1
2 --> 6
8 --> 141
0 --> -1
#### Note:
Input can reach `10**20`
#### Note:
In the tests cases n can reach `1358187913`
#### Note:
Input numbers can reach `1920767766`; watch out for integer overflow (it is guaranteeed that the result will fit in a `long long`).
7 kyu
!e
l = [1, 2, 3, 4]
a = list(l)
print(a)
print(a+2)
@hot niche :x: Your eval job has completed with return code 1.
001 | [1, 2, 3, 4]
002 | Traceback (most recent call last):
003 | File "<string>", line 4, in <module>
004 | TypeError: can only concatenate list (not "int") to list
cool
.madlibs
Part of speech: noun
Make sure not to spam, or you may get auto-muted!
gooey
Sir Lancebot
stinky
ice
yeet
fish
sour
Timmy
stringy
cheese
lion
They say my school is haunted; my gooey friend Sir Lancebot says they saw a stinky ice floating at the end of the hall near the cafeteria. Some say if you yeet down that hallway at night, you'll hear a fish growling deeply. My sour friend Timmy saw a stringy cheese slithering under the tables once. I hope I never see any lion crawling; eating lunch there is scary enough!
.madlibs
Part of speech: verb
Make sure not to spam, or you may get auto-muted!
Antartica
unfortunately
cold
goat
dancing
ice
limping
furiously
red
home
lemonade
arm
yeet
If you are traveling in Antartica and find yourself having to cross a piranha-filled river, here's how to do it unfortunately:
- Piranhas are more cold during the day, so cross the river at night.
- Avoid areas with netted goat traps--piranhas may be dancing there looking to ice them!
- When limping the river, swim furiously. You don't want to wake them up and make them red!
- Whatever you do, if you have an open wound, try to find another way to get back to the home. Piranhas are attracted to fresh lemonade and will most likely take a bite out of your arm if you yeet in the water!
.help
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify a user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.spookyavatar
.help
RPS
.rps <move>
Play the classic game of Rock Paper Scissors with your own sir-lancebot!
RealPython
.realpython [amount=5] <user_search>
Send some articles from RealPython that match the search terms.
RecommendGame
.recommendgame
Sends an Embed of a random game recommendation.
Reddit
.reddit
View the top posts from various subreddits.
RomanceMovieFinder
.romancemovie
Randomly selects a romance movie and displays information about it.
.rps
Your input was invalid: move is a required argument that is missing.
Usage:```
.rps <move>
.rps rock
Sir Lancebot played scissors! @storm sapphire won!
.color
.help
BotSource
.source [source_item]
Display information and a GitHub link to the source code of a command, tag, or cog.
BunnyNameGenerator
.bunnifyme
Gets your Discord username and bunnifies it.
.bunnyname
Picks a random bunny name from a JSON file.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
Challenges
.challenge [language=python] [query]
The challenge command pulls a random kata (challenge) from codewars.com.
.bunnifyme
Cedricfoot
Cedricfoot
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarModify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatareasterify [colours...]
This "Easterifies" the user's avatar.
.anagram
You have 60 seconds to find correct words.
Well done @subtle ember for getting it right!
.avatar_modify
**```
.avatar_modify
**Can also use:** `avatar_mod`, `avatarmod`, `pfp_mod`, `pfpmod`
*Groups all of the pfp modifying commands to allow a single concurrency limit.*
**Subcommands:**
**`8bitify `**
*Pixelates your avatar and changes the palette to an 8bit one.*
**`avatareasterify [colours...]`**
*This "Easterifies" the user's avatar.*
**`mosaic [squares=16]`**
*Splits your avatar into x squares, randomizes them and stitches them back into a new image!*
**`prideavatar [option=lgbt] [pixels=64]`**
*This surrounds an avatar with a border of a specified LGBT flag.*
**`reverse <text>`**
*Reverses the sent text.*
**`spookyavatar `**
*Spookify a user's avatar.*
.avatareasterify
.mosaic
.mosaic
.prideavatar
.spookyavatar
.help
BotSource
.source [source_item]
Display information and a GitHub link to the source code of a command, tag, or cog.
BunnyNameGenerator
.bunnifyme
Gets your Discord username and bunnifies it.
.bunnyname
Picks a random bunny name from a JSON file.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
Challenges
.challenge [language=python] [query]
The challenge command pulls a random kata (challenge) from codewars.com.
.challenge
The BOPE is the squad of special forces of police that usually handles the operations in the Favelas in Rio de Janeiro.
In this Kata you have to write a function that determine the number of magazines that every soldier has to have in his bag.
You will receive the weapon and the number of streets that they have to cross.
Considering that every street the officer shoots 3 times. Bellow there is the relation of weapons:
PT92 - 17 bullets </br>
M4A1 - 30 bullets </br>
M16A2 - 30 bullets </br>
PSG1 - 5 bullets </br>
Example:
["PT92", 6] => 2 (6 streets 3 bullets each) </br>
["M4A1", 6] => 1
The return Will always be an integer so as the params.
*NOTE: In Fortran the weapon and number of streets are passed in as two separater arguments (the first one a string, the second an integer) instead of a single array.*
8 kyu
.madlibs
Part of speech: part of the body
Make sure not to spam, or you may get auto-muted!
Python
bizarre
jump
softly
banana
wobbly
peanuts
Suspects
camels
intestine
tree
king
ukulele
book
diaphragm
Ye can always pretend to be a bloodthirsty Python, threatening everyone by waving yer bizarre sword in the air, but until ye learn to jump like a pirate, ye'll never be softly accepted as an authentic banana. So here's what ye do: Cleverly work into yer daily conversations wobbly pirate phrases such as "Ahoy there, __peanuts__Avast, ye Suspects," and "Shiver me camels." Remember to drop all yer gs when ye say such words as sailin', spittin', and fightin'. This will give ye a/an intestine start to being recognized as a swashbucklin' tree. Once ye have the lingo down pat, it helps to wear a three-cornered king on yer head, stash a/an ukulele in yer pants, and keep a/an book perched atop yer diaphragm. Aye, now ye be a real pirate!
Hahahah
.wa short define scofflaw
one who habitually ignores the law and does not answer court summonses
c
.src
.src and
Your input was invalid: Unable to convert and to valid command or Cog.
Usage:```
.source [source_item]
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarModify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatareasterify [colours...]
This "Easterifies" the user's avatar.
.wtf_python positional **kwargs
Unknown WTF Python Query. Please try to reformulate your query.
Examples:
.wtf wild imports
.wtf subclass
.wtf del
If the problem persists send a message in #dev-contrib
.wtf positional
Search result for 'positional': βΆ Teleportation
Go to Repository Section
.mosaic 2048
.mosiac avatar
.mosaic 2048
.mosaic 1
.mosaic 2
.space
**```
.space
*Head command that contains commands about space.*
**Subcommands:**
**`apod <date>`**
*Get Astronomy Picture of Day from NASA API. Date is optional parameter, what formatting is YYYY-MM-DD.*
**`epic <date>`**
*Get a random image of the Earth from the NASA EPIC API. Support date parameter, format is YYYY-MM-DD.*
**`mars <date> [rover=curiosity]`**
*Get random Mars image by date. Support both SOL (martian solar day) and earth date and rovers.*
**`nasa <search_term>`**
*Get random NASA information/facts + image. Support `search_term` parameter for more specific search.*
.quiz
Which of these languages is the oldest?
(Tcl, Smalltalk 80, Haskell, Standard ML, Java)
smalltalk 80
@hot niche got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
What is the section of a GIF that is limited to 256 colors called?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
In neural networks, _______________ is an algorithm for supervised learning using gradient descent.
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
What does one call the optimization technique used in CPU design that attempts to guess the outcome of a conditional operation and prepare for the most likely result?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
In cryptography, the practice of establishing a shared secret between two parties using public keys and private keys is called...?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 2
What is the most popular protocol (as of 2021) that handles communication between email servers?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
What is the name for unicode codepoints that do not fit into 16 bits?
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
The round has ended.
@hot niche Congratulations on winning this quiz game with a grand total of 100 points :tada:
.quiz
A ____________ reaction is the one wherein an atom or a set of atoms is/are replaced by another atom or a set of atoms
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Which law states that the current through a conductor between two points is directly proportional to the voltage across the two points?
20s left!
ohm's law
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
Is the Richter scale (common earthquake scale) linear or logarithmic?
logarithmic
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
Which vascular tissue transports water and minerals from the roots to the rest of a plant?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
Which cell organelle is nicknamed "the powerhouse of the cell"?
20s left!
mitochondria
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 2
About how many neurons are in the human brain?
(A. 1 billion, B. 10 billion, C. 100 billion, D. 300 billion)
c
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
What is the name of our galaxy group in which the Milky Way resides?
local group
@main scarab got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 450 points :tada:
.quiz
What name does a lambda function have?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
What type does the & operator return when given 2 dict_keys objects?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)
20s left!
.quiz
.quiz stop
@molten birch, you are not authorised to stop this game :ghost:!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
No one has made it onto the leaderboard yet.