#sir-lancebot-playground
1 messages · Page 141 of 1
wanna play?
😅
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: 🔴 :white_circle: 🔵 :white_circle: :white_circle: :white_circle:
🔴 🔵 🔴 🔴 :white_circle: :white_circle: :white_circle:
🔴 🔴 🔵 🔴 :white_circle: :white_circle: :white_circle:
🔵 🔵 🔵 🔴 🔴 :white_circle: :white_circle:
🔵 🔵 🔴 🔵 🔵 🔵 :white_circle:
🔵 🔴 🔴 🔵 🔴 🔴 🔵
Game Over! @wicked parrot won against @fallow tree
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 :white_circle: 🔵 :white_circle: 🔴 :white_circle: :white_circle:
🔵 :white_circle: 🔵 🔴 🔴 :white_circle: :white_circle:
🔵 🔴 🔵 🔵 🔴 :white_circle: :white_circle:
🔵 🔵 🔴 🔴 🔴 🔵 :white_circle:
Game Over! @wicked parrot won against @fallow tree
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 :white_circle: 🔴 :white_circle: 🔴 🔴 :white_circle:
🔵 🔴 🔵 🔵 🔵 🔵 🔴
Game Over! @fallow tree won against @wicked parrot
@main scarab Game cancelled.
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 🔵 🔴 🔴 🔴 🔴 🔵
Game Over! @wicked parrot won against @main scarab
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 🔴 :white_circle: 🔵 🔵 🔵 🔵
Game Over! @fringe kindle won against @wicked parrot
.ttt
It's time for the game! Let's begin.
1️⃣ 2️⃣ 🇴
🇽 🇴 🇽
🇴 8️⃣ 🇽
:tada: AI won this game! :tada:
I am baddd
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: 🔴 :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: 🔵 :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: 🔴 🔵 :white_circle: :white_circle: :white_circle:
🔵 🔵 🔵 🔵 🔴 🔴 🔴
Game Over! @main scarab won against @wicked parrot
.ttt
It's time for the game! Let's begin.
🇴 🇴 🇴
4️⃣ 🇽 🇽
🇽 🇽 🇴
:tada: AI won this game! :tada:
.ttt
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: 🔵 :white_circle: 🔴 :white_circle: :white_circle: :white_circle:
:white_circle: 🔴 🔵 🔵 🔵 :white_circle: :white_circle:
:white_circle: 🔴 🔴 🔵 🔴 :white_circle: :white_circle:
:white_circle: 🔵 🔴 🔵 🔵 🔴 :white_circle:
Game Over! @main scarab won against @wicked parrot
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: 🔵 :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: 🔴 🔴 :white_circle: :white_circle: :white_circle: :white_circle:
🔵 🔵 🔴 🔵 :white_circle: :white_circle: :white_circle:
🔴 🔵 🔵 🔴 :white_circle: :white_circle: :white_circle:
🔵 🔵 🔵 🔴 :white_circle: :white_circle: :white_circle:
🔴 🔴 🔵 🔵 :white_circle: 🔴 🔴
Game Over! @uneven thicket won against @wicked parrot
.earth
.earth
.earth
.ttt
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.
DragNames
.dragname
Sends a message with a drag queen name.
EarthPhotos
.earth_photos
Returns a random photo of earth, sourced from Unsplash.
EasterFacts
.eggfact
Get easter egg facts.
.earth
.cheat elixir
Result Of cht.sh
# You can find \`sparta\` by name \`legion\` in Kali Linux. Do:
#
# \`# apt install legion\`
#
# And get you software package.
#
# [Petr Zhuvasin] [so/q/60662243] [cc by-sa 3.0]
.cheat tkinter
Result Of cht.sh
# python - What does 'weight' do in tkinter?
#
# In the simplest terms possible, a non-zero weight causes a row or
# column to grow if there's extra space. The default is a weight of
# zero, which means the column will not grow if there's extra space.
#
# Consider the following code, which creates a window larger than the
# widgets that are inside, and for which no columns have weight:
import tkinter as tk
root = tk.Tk()
root.geometry("200x100")
f1 = tk.Frame(root, background="bisque", width=10, height=100)
f2 = tk.Frame(root, background="pink", width=10, height=100)
f1.grid(row=0, column=0, sticky="nsew")
f2.grid(row=0, column=1, sticky="nsew")
root.grid_columnconfigure(0, weight=0)
root.grid_columnconfigure(1, weight=0)
root.mainloop()
# This is what the window looks like:
#
# 
# (https://i.stack.imgur.com/njGFB.png)
#
# The reason it looks that way is because tkinter has been told not to
... (truncated - too many lines)```
Full results: https://cheat.sh/python/tkinter
.cheat django
Result Of cht.sh
# django - What does deconstructible do in Python?
#
# By using Google I managed to find that it is part of Django:
#
# https://docs.djangoproject.com/en/1.10/topics/migrations/adding-a
# -deconstruct-method
#
# > As long as all of the arguments to your class’ constructor are
# themselves serializable, you can use the @deconstructible class
# decorator from django.utils.deconstruct to add the deconstruct()
# method
#
# [DeepSpace] [so/q/41221531] [cc by-sa 3.0]
.help
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
WikipediaSearch
.wikipedia <search>
Sends paginated top 10 results of Wikipedia search..
Wolfram
.wolfram <query>
Requests all answers on a single image, sends an image of all related pods.
WonderTwins
.formof
Command to send a Wonder Twins inspired phrase to the user invoking the command.
XKCD
.xkcd <comic>
Getting an xkcd comic's information along with the image.
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: 🔴
🔵 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: 🔵
🔵 🔴 🔵 :white_circle: :white_circle: :white_circle: 🔴
🔵 🔵 🔵 🔴 :white_circle: :white_circle: 🔴
🔵 🔴 🔴 🔵 :white_circle: :white_circle: 🔴
Game Over! @main scarab won against @wicked parrot
.ttt
It's time for the game! Let's begin.
🇴 🇴 🇴
4️⃣ 🇽 6️⃣
🇽 🇽 9️⃣
:tada: AI won this game! :tada:
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.
DragNames
.dragname
Sends a message with a drag queen name.
EarthPhotos
.earth_photos
Returns a random photo of earth, sourced from Unsplash.
EasterFacts
.eggfact
Get easter egg facts.
.fool
Check out this April Fools' video by google.
This spring, Google is introducing the self-driving bicycle in Amsterdam, the world’s premier cycling city. The Dutch cycle more than any other nation in the world, almost 900 kilometres per year per person, amounting to over 15 billion kilometres annually. The self-driving bicycle enables safe navigation through the city for Amsterdam residents...
.topic
.eggfact
In earlier days, a festival of egg throwing was held in church, when the priest would throw a hard-boiled egg to one of the choirboys. It was then tossed from one choirboy to the next and whoever held the egg when the clock struck 12 on Easter, was the winner and could keep it.
.eggfact
80 million chocolate Easter eggs are sold each year. This accounts for 10% of Britain's annual spending on chocolate!
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: 🔴 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔴 🔴 :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
🔵 🔴 :white_circle: 🔵 :white_circle: :white_circle: :white_circle:
🔵 🔴 🔵 🔴 🔵 :white_circle: :white_circle:
🔵 🔵 🔴 🔵 🔵 🔴 🔴
Game Over! @wicked parrot won against @delicate verge
.ttt
It's time for the game! Let's begin.
🇴 🇽 🇴
🇽 🇴 🇽
🇽 8️⃣ 🇴
:tada: AI won this game! :tada:
.ttt
It's time for the game! Let's begin.
🇽 🇴 🇽
4️⃣ 🇴 🇽
🇴 8️⃣ 🇽
:tada: @delicate verge won this game! :tada:
@delicate verge Seems like there's no one here to play...
:,c
@torpid haven @delicate verge Game failed. This is likely due to you not having your DMs open. Check and try again.
i have
@torpid haven Game cancelled.
.battleship
.snake antidote
.snake antidote
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
thats my new pfp
.help
HalloweenFacts
.spookyfact
Get the most recent Halloween fact
Halloweenify
.halloweenify
Change your nickname into a much spookier one!
Help
.help [commands...]
Shows Command Help.
Issues
.issue <numbers> [repository=sir-lancebot] [user=python-discord]
Command to retrieve issue(s) from a GitHub repository.
LoveCalculator
.love <who> [whom]
Tells you how much the two love each other.
.love @delicate verge @tight sigil
Rui#9487 ❤ mom#6872 scored 52%!
Your relationship has a reasonable amount of working out. But do not overestimate yourself there. Your relationship will suffer good and bad times. Make sure to not let the bad times destroy your relationship, so do not hesitate to talk to each other, figure problems out together etc.
@rancid harness Game cancelled.
.earth
.earth
.earth
.earth
.spookyfact
Halloween or Hallowe'en is also known as Allhalloween, All Hallows' Eve and All Saints' Eve.
.spookyfacts
.issue 627
.issue 623
nope
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.help
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
.help
EasterRiddle
.riddle
Gives a random riddle, then provides 2 hints at certain intervals before revealing the answer.
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.
EightBitify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
Emojis
.emoji <emoji>
A group of commands related to emojis.
.8bitify
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
.riddle
A riddle is already being solved in #sir-lancebot-playground!
Nobody got it right...
.8bitify
.8bitify
!d pandas
You have 10 seconds before the first hint.
Nobody got it right...
You have 10 seconds before the first hint.
Nobody got it right...
.snakes
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.snake antidote
.help snake antidote
.snakes antidote
*Antidote! Can you create the antivenom before the patient dies?
Rules: You have 4 ingredients for each antidote, you only have 10 attempts
Once you synthesize the antidote, you will be presented with 4 markers
Tick: This means you have a CORRECT ingredient in the CORRECT position
Circle: This means you have a CORRECT ingredient in the WRONG position
Cross: This means you have a WRONG ingredient in the WRONG position
Info: The game automatically ends after 5 minutes inactivity.
You should only use each ingredient once.
This game was created by Lord Bisk and Runew0lf.*
You have 10 seconds before the first hint.
Nobody got it right...
.8bitify
.battleship
@queen oracle Game cancelled.
.8bitify
.battleship
@queen oracle Seems like there's no one here to play...
.battleship
Game over! @digital pawn timed out so @queen oracle wins!
.battleship
Game over! @queen oracle surrendered to @digital pawn!
.battleship
Game over! @queen oracle surrendered to @digital pawn!
.snakes draw
.battleship
.8bitify
.8bitify not .bitfy
.battleship
Game over! @queen oracle surrendered to @digital pawn!
.help
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
Snuffle_gamers243
.help
Magic8ball
.8ball <question>
Return a Magic 8ball answer from answers list.
Minesweeper
.minesweeper
Commands for Playing Minesweeper.
MonsterBio
.monsterbio
Sends your monster bio!
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.
One of the best games of all time. A brilliant story involving time-travel with loveable characters. It has a brilliant score by Yasonuri Mitsuda and artwork by Akira Toriyama. With over 20 endings and New Game+, there is a huge amount of replay value here.
.recommendgame
.movies [action] [amount=5]
Your input was invalid: Converting to "int" failed for parameter "amount".
Usage:
.movies [genre] [amount=5]
.movies [action] [5]
Your input was invalid: Converting to "int" failed for parameter "amount".
Usage:
.movies [genre] [amount=5]
.movies action amount=5
Your input was invalid: Converting to "int" failed for parameter "amount".
Usage:
.movies [genre] [amount=5]
.monsterbio
The Homqurroktir is an ferocious species, and you, Matileeltyre, are no exception. Homqurroktir is famed for its bouncy bones. Whispers say that when brewed with a and at the time of a lunar eclipse., a foul, green brew will be produced, granting it's drinker the ability to devour metal! This species was found by Elliot Schiftner in 1594.
.recommendgame
.snakes
Subcommands:
name [name]
Snakifies a username.
quiz
Asks a snake-related question in the chat and validates the user's guess.
sal
Play a game of Snakes and Ladders.
snakify [message]
How would I talk if I were a snake?
video [search]
Gets a YouTube video about snakes.
zen
Gets a random quote from the Zen of Python, except as if spoken by a snake.
.snakes sal
Snakes and Ladders: A new game is about to start!
@queen oracle Seems like there's no one here to play...
Snakes and Ladders: The game is starting!
Players: @queen oracle, @digital pawn
Snakes and Ladders: A new round has started! Current board:
Current positions:
@queen oracle: Tile 11
@digital pawn: Tile 98
Use 🎲 to roll the dice!
@queen oracle rolled a 6!
@digital pawn rolled a 5!
Snakes and Ladders: @digital pawn has won the game! :tada:
.help
SpookyEightBall
.spookyeightball <question>
Responds with a random response to a question.
SpookyGif
.spookygif
Fetches a random gif from the GIPHY API and responds with it.
SpookyRating
.spookyrating [who]
Calculates the spooky rating of someone.
TicTacToe
.tictactoe <opponent>
Tic Tac Toe game. Play against friends or AI. Use reactions to add your mark to field.
TimeLeft
.timeleft
Calculates the time left until the end of Hacktober.
.tictactoe <@digital pawn>
It's time for the game! Let's begin.
🇴 🇴 🇴
🇽 🇽 🇴
🇽 🇽 9️⃣
:tada: AI won this game! :tada:
.tictactoe shadowhunter
It's time for the game! Let's begin.
🇽 🇴 🇴
🇴 🇽 6️⃣
🇽 8️⃣ 🇽
:tada: @queen oracle won this game! :tada:
.snakes sal
Snakes and Ladders: A new game is about to start!
Press 🙋 to participate, and press ☑ to start the game
Snakes and Ladders: The game is starting!
Players: @queen oracle, @digital pawn
Snakes and Ladders: A new round has started! Current board:
Current positions:
@queen oracle: Tile 60
@digital pawn: Tile 66
Use 🎲 to roll the dice!
@queen oracle rolled a 1!
@digital pawn rolled a 1!
.snakes draw
.snakes draw
.snakes draw
.snakes draw
.tictactoe
.snakes
Subcommands:
name [name]
Snakifies a username.
quiz
Asks a snake-related question in the chat and validates the user's guess.
sal
Play a game of Snakes and Ladders.
snakify [message]
How would I talk if I were a snake?
video [search]
Gets a YouTube video about snakes.
zen
Gets a random quote from the Zen of Python, except as if spoken by a snake.
.snakes sal
Snakes and Ladders: A new game is about to start!
Snakes and Ladders: The game is starting!
Players: @ornate scaffold
Snakes and Ladders: A new round has started! Current board:
Current positions:
@ornate scaffold: Tile 14
Use 🎲 to roll the dice!
Snakes and Ladders: The game has been surrendered!
.help
PickupLine
.pickupline
Gives you a random pickup line.
PrideAnthem
.prideanthem [genre]
Sends a message with a video of a random pride anthem.
PrideAvatar
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
PrideFacts
.pridefact
Sends a message with a pride fact of the day.
PythonFacts
.pythonfact
Sends a Random fun fact about Python.
.snakes sal
Snakes and Ladders: A new game is about to start!
Snakes and Ladders: The game is starting!
Players: @fallow tree
Snakes and Ladders: A new round has started! Current board:
Current positions:
@fallow tree: Tile 5
Use 🎲 to roll the dice!
Snakes and Ladders: The game has been surrendered!
.snakes sal
Snakes and Ladders: A new game is about to start!
Press 🙋 to participate, and press ☑ to start the game
Snakes and Ladders: Game has been canceled.
.earth
.help
Magic8ball
.8ball <question>
Return a Magic 8ball answer from answers list.
Minesweeper
.minesweeper
Commands for Playing Minesweeper.
MonsterBio
.monsterbio
Sends your monster bio!
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.
.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
@simple chasm 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:
@simple chasm Seems like there's no one here to play...
.ms start
@muted quail 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: :x: :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: :bomb: :grey_question: :grey_question: :grey_question: :bomb: :bomb: :bomb: :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: :bomb: :bomb: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :bomb:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :grey_question:
:nine: :grey_question: :bomb: :grey_question: :grey_question: :bomb: :bomb: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :bomb: :bomb: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:fire: @muted quail just lost Minesweeper! :fire:
.earth
.source
.snakes
Subcommands:
name [name]
Snakifies a username.
quiz
Asks a snake-related question in the chat and validates the user's guess.
sal
Play a game of Snakes and Ladders.
snakify [message]
How would I talk if I were a snake?
video [search]
Gets a YouTube video about snakes.
zen
Gets a random quote from the Zen of Python, except as if spoken by a snake.
.c4
@sinful compass Game cancelled.
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: 🔴 :white_circle: :white_circle:
:white_circle: :white_circle: 🔴 :white_circle: 🔵 :white_circle: :white_circle:
:white_circle: 🔴 🔵 🔵 🔵 🔵 :white_circle:
🔴 🔵 🔴 🔵 🔵 🔴 🔴
Game Over! @sinful compass won against @wicked parrot
.snakes sal
Snakes and Ladders: A new game is about to start!
Press 🙋 to participate, and press ☑ to start the game
Snakes and Ladders: The game is starting!
Players: @covert citrus
Snakes and Ladders: A new round has started! Current board:
Current positions:
@covert citrus: Tile 69
Use 🎲 to roll the dice!
@covert citrus rolled a 2!
@covert citrus climbs a ladder to 91
.earth
.help earth
.earth_photos
Can also use: earth
Returns a random photo of earth, sourced from Unsplash.
.earth
.earth
.earth
.earth
.earth_photos
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
You must include at least 2 colours!
.avatareasterify
.ms start
@main scarab is playing Minesweeper
:no_entry: Game canceled :no_entry:
Here's your 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: :stop_button: :stop_button: :one: :bomb: :bomb: :bomb: :bomb: :one: :stop_button: :stop_button:
:two: :one: :one: :two: :two: :four: :four: :three: :one: :one: :one:
:three: :one: :bomb: :one: :stop_button: :one: :bomb: :two: :one: :two: :bomb:
:four: :two: :two: :three: :two: :three: :two: :two: :bomb: :three: :two:
:five: :one: :bomb: :three: :bomb: :bomb: :one: :one: :one: :two: :bomb:
:six: :two: :three: :bomb: :five: :four: :two: :one: :two: :three: :two:
:seven: :one: :bomb: :three: :bomb: :bomb: :three: :two: :bomb: :bomb: :one:
:eight: :three: :three: :three: :four: :bomb: :four: :bomb: :four: :three: :two:
:nine: :bomb: :bomb: :one: :two: :bomb: :four: :two: :two: :bomb: :one:
:keycap_ten: :two: :two: :one: :one: :two: :bomb: :one: :one: :one: :one:
.snake antidote
.snake juice
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.snakes hatch
.snakes antidote
.snakes antidote
.snakes hatch
You're already using this command. Please wait until it is done before you use it again.
.snake juice
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.snake hatch
.snake antidote
.snake hatch
.snake hatch
.snake hatch
.snake hatch
.snake
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.snake get python
Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant indentation. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented and functional programming. Python is often described as a "batteries included" language due to its comprehensive standard library.Guido van Rossum began working on Python in the late 1980's, as a successor to the ABC programming language, and first released it in 1991 as Python 0.9.0. Python 2.0 was released in 2000 and introduced new features, such as list comprehensions and a garbage collection system using reference counting and was discontinued with version 2.7.18 in 2020. Python 3.0 was released in 2008 and
Read more on Wikipedia
.snake get cobra
Cobra is the common name of various elapid snakes, most of which belong to the genus Naja.
Read more on Wikipedia
.snake get viper
1: Leaf-nosed viper
2: Cyclades blunt-nosed viper
3: Carpet viper
4: Asp viper
5: Palm viper
6: Siamese palm viper
7: Sri Lankan pit viper
8: Wagler's pit viper
9: Green tree pit viper
10: Macrovipera schweizeri
11: Rough-scaled bush viper
12: Hairy bush viper
13: Banded pitviper
14: Vipera palaestinae
15: Brongersma's pitviper
16: Nitsche's bush viper
17: Long-nosed viper
18: Bush viper
19: Mole viper
20: Horned desert viper
1
Common names: McMahon's viper, Asian sand viper, leaf-nosed viper, whiskered viper.Eristicophis is a monotypic genus created for the venomous viper species, Eristicophis macmahonii, which is endemic to the desert region of Balochistan near the borders of Iran, Pakistan, and Afghanistan. No subspecies are currently recognized.
Read more on Wikipedia
.wikipedia
Your input was invalid: search is a required argument that is missing.
Usage:
.wikipedia <search>
Hewwo!
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.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
join
Learn how to join the leaderboard (via DM)
stats
Get daily statistics for the Python Discord leaderboard
subscribe
Notifications for new days
The Python Discord leaderboard for 2021 is not yet available!
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
.bunnifyme
GD Nibble
.wiki Django
Django Unchained
Django Unchained (/ˈdʒæŋɡoʊ/) is a 2012 American revisionist Western film written and directed by Quentin Tarantino, starring Jamie Foxx, Christoph Waltz
Django
Django may refer to: Django (1966 film), a 1966 Italian Western by Sergio Corbucci which had a particular influence on the Spaghetti Western genre Django
.help
.earth
A photo of Earth 🌎 from Unsplash.
Photo by Federico Di Dio photography on Unsplash.
.help
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
WikipediaSearch
.wikipedia <search>
Sends paginated top 10 results of Wikipedia search..
Wolfram
.wolfram <query>
Requests all answers on a single image, sends an image of all related pods.
WonderTwins
.formof
Command to send a Wonder Twins inspired phrase to the user invoking the command.
XKCD
.xkcd <comic>
Getting an xkcd comic's information along with the image.
.snake hatch
.snake
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.earth
.earth
.snake
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.snake hatch
.snake hatch
.snake antidote
.snake draw
.snake
Subcommands:
name [name]
Snakifies a username.
quiz
Asks a snake-related question in the chat and validates the user's guess.
sal
Play a game of Snakes and Ladders.
snakify [message]
How would I talk if I were a snake?
video [search]
Gets a YouTube video about snakes.
zen
Gets a random quote from the Zen of Python, except as if spoken by a snake.
.snake hatch
.snake pyo
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
Your snake-name is Ball Python
.snake snakify hello how are you im good
hhhhello hhhhow are you im good
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.battleship
@manic temple Game cancelled.
.bemyvalentine
Your input was invalid: user is a required argument that is missing.
Usage:
.bemyvalentine <user> [valentine_type]
.bemyvalentine @wicked parrot
Your input was invalid: You cannot send a valentine to Sir Lancebot#9543 as they do not have the lovefest role!
Usage:
.bemyvalentine <user> [valentine_type]
.help
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
.cheat help
Result Of cht.sh
# How to search help using python console
#
# The pydoc -k flag searches the documentation.
pydoc -k <keyword>
Search for a keyword in the synopsis lines of all available modules.
# From a terminal, run..
$ pydoc -k pdf
# ..for example:
$ pydoc -k pdf
PdfImagePlugin
wx.lib.pdfwin
PIL.PdfImagePlugin
# It doesn't search the contents of the documentation, but it searches
# all module names - if that's not enough, I'd suggest using Google or
# StackOverflow to search for "Python PDF module" or similar
#
# [dbr] [so/q/969093] [cc by-sa 3.0]
.cheat print
Result Of cht.sh
# printing - Print multiple arguments in Python
#
# There are many ways to do this. To fix your current code using
# %-formatting, you need to pass in a tuple:
#
# 1. Pass it as a tuple:
print("Total score for %s is %s" % (name, score))
# A tuple with a single element looks like ('this',).
#
# Here are some other common ways of doing it:
#
# 1. Pass it as a dictionary:
print("Total score for %(n)s is %(s)s" % {'n': name, 's': score})
# There's also new-style string formatting, which might be a little
# easier to read:
#
# 1. Use new-style string formatting:
print("Total score for {} is {}".format(name, score))
# 5. Use new-style string formatting with numbers (useful for
# reordering or printing the same one multiple times):
print("Total score for {0} is {1}".format(name, score))
# 9. Use new-style string formatting with explicit names:
print("Total score for {n} is {s}".format(n=name, s=score))
# 13. Concatenate
... (truncated - too many lines)```
Full results: https://cheat.sh/python/print
.cheat format
Result Of cht.sh
# python - How to format print output or string into fixed width ...
#
# I find using str.format much more elegant:
>>> '{0: <5}'.format('ss')
'ss '
>>> '{0: <5}'.format('sss')
'sss '
>>> '{0: <5}'.format('ssss')
'ssss '
>>> '{0: <5}'.format('sssss')
'sssss'
# If you like the string to be align to the right use > instead of <:
>>> '{0: >5}'.format('ss')
' ss'
# Edit:
# As mentioned in the comments: the 0 indicates the index of the format
# argument.
#
# [0x90] [so/q/8450472] [cc by-sa 3.0]
.bunnifyme
pyofoot
.earth
.earth
.snake
.help
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
😳
.bunnifyme
BOO123tail
.remind
what is sir lancebot
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.avatareasterify
Thumper
.bunnifyme
penguinfoot
.cheat
Result Of cht.sh
# Python: significance of -u option?
#
# From python --help:
#
# > -u : unbuffered binary stdout and stderr; also
# PYTHONUNBUFFERED=x
see man page for details on internal buffering relating to '-u'
# The manpage states:
#
# > -u Force stdin, stdout and stderr to be totally
# unbuffered. On systems where it matters, also put stdin,
stdout and stderr in binary mode. Note that there is internal buffering in xreadlines(), readlines()
and file-object iterators ("for line in sys.stdin") which is not influenced by this option. To work
around this, you will want to use "sys.stdin.readline()" inside a "while 1:" loop.
# Python opens the stdin, -out and -error streams in a buffered mode;
# it'll read or write in larger chunks, keeping data in memory until a
# threshold is reached. -u disables those buffers.
#
# Also, python can interpret newlines on open files and translate them
# from and to the native platform
... (truncated - too many lines)```
Full results: https://cheat.sh/python/
EasterRiddle
.riddle
Gives a random riddle, then provides 2 hints at certain intervals before revealing the answer.
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.
EightBitify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
Emojis
.emoji <emoji>
A group of commands related to emojis.
.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 count
There is 1 emoji in the ok category.
There is 1 emoji in the gem category.
.riddle
You have 10 seconds before the first hint.
Gummy bunny?
Nobody got it right...
Goldie
.riddle
You have 10 seconds before the first hint.
Because he was a duck?
Nobody got it right...
.snake
.snakes
Can also use: snake
Commands from our first code jam.
Subcommands:
about
Show an embed with information about the event, its participants, and its winners.
antidote
Antidote! Can you create the antivenom before the patient dies?
card [name]
Create an interesting little card from a snake.
draw
Draws a random snek using Perlin noise.
fact
Gets a snake-related fact.
get [name]
Fetches information about a snake from Wikipedia.
guess
Snake identifying game.
hatch
Hatches your personal snake.
movie
Gets a random snake-related movie from TMDB.
.snake card python
A wild Python (Programming Language) appears!
.snake card Cobra
A wild Cobra appears!
.avatareasterify
.earth
.earth
.earth
.earth
.cheat javascript
Result Of cht.sh
# Best way to integrate Python and JavaScript?
#
# How about pyjs (http://pyjs.org/)?
#
# From the above website:
#
# > pyjs is a Rich Internet Application (RIA) Development Platform for
# both Web and Desktop. With pyjs you can write your JavaScript-powered
# web applications entirely in Python.
#
# [Stephen Simmons] [so/q/683462] [cc by-sa 3.0]
.cheat async
Result Of cht.sh
# asynchronous - \`async for\` in Python 3.4
#
# No, there is not, async/await (__aiter__, etc as well) was introduced
# in python 3.5. On py3.4 the closest thing is asyncio.gather
# (https://docs.python.org/3.4/library/asyncio-task.htmlasyncio.gather)
# (if you can run all tasks at once/in parallel and wait until they are
# all finished) or pushing results into an asyncio.Queue
# (https://docs.python.org/3.4/library/asyncio-queue.htmlasyncio.Queue)
# (which is sequential, just as async for). Edit: see last example for
# an async for alternative, as described in the question.
#
# Here is an example ala python docs for asyncio.gather:
import asyncio
@asyncio.coroutine
def task(id):
print("task: {}".format(id))
yield from asyncio.sleep(random.uniform(1, 3))
return id
tasks = [
task("A"),
task("B"),
task("C")
]
loop = asyncio.get_event_loop()
results = loop.run_until_complete(asyncio.gather(*tasks))
loop.close()
print(results)
# Output:
task: B
... (truncated - too many lines)```
Full results: https://cheat.sh/python/async
.riddle
You have 10 seconds before the first hint.
Well done @uneven thicket for getting it right!
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
.cheat brothere
Result Of cht.sh
# Both the Brother PT-P950NW and Borther PT-9800PCN support a "raster
# protocol" (code 1 instead of 0 after \`ESC iA\`). With this protocol, it
# is possible to print raster graphics at full width.
#
# However, I could not find any documentation (the closest was [this PDF
# for another printer](http://download.brother.com/welcome/docp000771/cv
# _pth500p700e500_eng_raster_110.pdf)), so I reverse-engineered it (and
# tried out a lot). The result is the project
# [rasterprynt](https://github.com/boxine/rasterprynt), available as [a
# PyPi package](https://pypi.org/project/rasterprynt/). With
# rasterprynt, you can print arbitrary images, like this:
import rasterprynt
import PIL.Image
# Enter the IP address of your printer below
printer_ip = '192.168.1.123'
img1 = PIL.Image.open('example1.png')
img2 = PIL.Image.open('example2.png')
data = rasterprynt.prynt([img1, img2, img1], printer_ip)
# [phihag] [so/q/49929551] [cc by-sa 3.0]
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
.bunnyname
Daisy
.bunnyname
Lucky
.cat 404
.status cat 900
.help
.earth
.earth
.status cat 401
.status cat 403
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
You have 10 seconds before the first hint.
im way too incompetent for these lmao
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
Why are they so hard LOL
Nobody got it right...
You have 10 seconds before the first hint.
Eggs?
Basketball?
WHAT
Nobody got it right...
You have 10 seconds before the first hint.
Oh i remember this one
He kept quacking all the eggs
Nobody got it right...
You have 10 seconds before the first hint.
I remember this one too but what was i t
Chocolate bunny
Nobody got it right...
You have 10 seconds before the first hint.
A chocolate one
A chocolate one!
Well done @light yacht for getting it right!
ApacheHelipadnose
.snake guess
.snake guess
Sure, okay, but I bet you can't pronounce it. The correct answer was Boa constrictor imperator.
.snake card bitis peringueyi
A wild Bitis Peringueyi appears!
.snake fact
The black mamba is the world’s fastest snake and the world’s second-longest venomous snake in the world, after the king cobra. Found in East Africa, it can reach speeds of up to 12 mph (19kph). It’s named not from the color of its scales, which is olive green, but from the inside of its mouth, which is inky black. Its venom is highly toxic, and without anti-venom, death in humans usually occurs within 7–15 hours.
.snake hatch
.earth
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.snake antidote
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.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
join
Learn how to join the leaderboard (via DM)
stats
Get daily statistics for the Python Discord leaderboard
subscribe
Notifications for new days
.c4 ai
1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle: :white_circle:
:white_circle: :white_circle: :white_circle: :white_circle: :white_circle: 🔵 🔵
:white_circle: :white_circle: :white_circle: 🔴 🔴 🔴 🔴
🔴 :white_circle: 🔵 🔴 🔵 🔵 🔵
🔴 :white_circle: 🔴 🔵 🔵 🔵 🔴
@main scarab You're already playing a game!
@torpid haven Game cancelled.
Game Over! @wicked parrot won against @main scarab
@main scarab Game cancelled.
@main scarab @torpid haven Game failed. This is likely due to you not having your DMs open. Check and try again.
Fun
.caesarcipher
Translates a message using the Caesar Cipher.
.randomcase <text>
Randomly converts the casing of a given text.
.roll [num_rolls=1]
Outputs a number of random dice emotes (up to 6).
.uwu <text>
Converts a given text into it's uwu equivalent.
Games
.games [amount=5] [genre]
Get random game(s) by genre from IGDB. Use .games genres command to get all available genres.
GithubInfo
.github <username>
Fetches a user's GitHub information.
HTTPStatusCodes
.http_status
Group containing dog and cat http status code commands.
.help http_status
.http_status
Can also use: status, httpstatus
Group containing dog and cat http status code commands.
Subcommands:
cat <code>
Sends an embed with an image of a cat, portraying the status code.
dog <code>
Sends an embed with an image of a dog, portraying the status code.
.status cat 200
.status cat 204
.status cat 418
.status cat 501
.status cat 404
.earth
.earth
.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
join
Learn how to join the leaderboard (via DM)
stats
Get daily statistics for the Python Discord leaderboard
subscribe
Notifications for new days
.aoc subscribe
You can't subscribe to 2021's Advent of Code announcements yet!
.help
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.
.earth
.earth
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
WikipediaSearch
.wikipedia <search>
Sends paginated top 10 results of Wikipedia search..
Wolfram
.wolfram <query>
Requests all answers on a single image, sends an image of all related pods.
WonderTwins
.formof
Command to send a Wonder Twins inspired phrase to the user invoking the command.
XKCD
.xkcd <comic>
Getting an xkcd comic's information along with the image.
.snake antidote
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.battleship
@plucky nacelle Seems like there's no one here to play...
.riddle
You have 10 seconds before the first hint.
a basket
tail
Nobody got it right...
oh
.help
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
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.
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
.source
.earth
.bm 823931359537004605
.status cat 0
.status cat 204
.status cat 220
.help
AdventOfCode
.adventofcode
All of the Advent of Code commands.
AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.
AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the 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.
.help
.avatareasterify
.snake hatch
.help 2
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
You have 10 seconds before the first hint.
chocolate bunny
Nobody got it right...
You have 10 seconds before the first hint.
carrots
carat
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
eggplant
eggplants
Well done @spare frost for getting it right!
You have 10 seconds before the first hint.
wood
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
14 carat gold
14 carrot gold
Well done @spare frost for getting it right!
.riddle
You have 10 seconds before the first hint.
he got banned
killed?
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
in a burrow
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
eggplants
Eggplants
Well done @spare frost for getting it right!
😐
.earth
.earth
.earth
.riddle
You have 10 seconds before the first hint.
eggs
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
a flabit
Nobody got it right...
You have 10 seconds before the first hint.
hip hop
Well done @main scarab for getting it right!
.riddle
You have 10 seconds before the first hint.
hip hop
hip hop
Well done @main scarab for getting it right!
.riddle
You have 10 seconds before the first hint.
two
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
.game
.games [amount=5] [genre]
Can also use: game
*Get random game(s) by genre from IGDB. Use .games genres command to get all available genres.
Also support amount parameter, what max is 25 and min 1, default 5. Supported formats:
- .games <genre>
- .games <amount> <genre>*
Subcommands:
company [amount=5]
Get random Game Companies companies from IGDB API.
genres
Get all available genres.
search <search_term>
Find games by name.
top [amount=10]
Get current Top games in IGDB.
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
jump style
Nobody got it right...
You have 10 seconds before the first hint.
Nobody got it right...
.fool
Check out this April Fools' video by google.
Thanks for all your great entries.
YouTube finally has enough videos to begin selecting a winner.
What do you think is the #bestvideo on YouTube?
We've been thrilled with all of the diverse, creative entries we've seen so far, and we can't wait to begin the process of selecting the best video. We'll be announcing the winner in 10 years.
Subs...
.riddle
You have 10 seconds before the first hint.
egg egg egg
lol
Nobody got it right...
You have 10 seconds before the first hint.
something with hop i guess

