#sir-lancebot-playground
1 messages · Page 268 of 1
History is green because we learn about helper and moderators that happened long ago. I can't believe people used to dress in yellow clothing and kids played with chairs and cats instead of video games. Also, before cars were invented, people actually rode dogs! People read planets instead of computers and tablets, and sent messages via roads that took 3794 days to arrive. I wonder how kids will view my life in 1101 year(s); maybe they will ride flying cars to school and play with students and long hairs!
.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.
.fool
Check out this April Fools' video by google.
Welcome to SnoopaVision, a fully immersive experience that lets you watch any video on YouTube in 360 degrees, with Snoop Dogg.
The best of SnoopaVision: https://goo.gl/f495Zw
Watch more Snoop: https://www.youtube.com/westfesttv
New album "High Definition" dropping soon
Oh, and by the way, Happy April 1st.
Video brought to you by YouTube a...
||spoiler|| message ||is it||, ||spoiler ||in|| spoiler||
.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.
.fool
Check out this April Fools' video by razer.
*** REFORMULATED FOR HUMAN CONSUMPTION - MEET RESPAWN BY RAZER: http://www.respawnbyrazer.com ***
Become the extension of the world's deadliest gaming hardware with Project Venom V2: http://rzr.to/venomv2
Formulated with Nano-mechanical bot technologies, achieve peak gaming performance and beyond. Be the machine.
Song Credit: ASCEND by Jay C...
.8bitify
.anagram
You have 60 seconds to find correct words.
nominates
Well done @karmic cliff for getting it right!
.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.
.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 `**
*NOTE: This command has been moved to !subscribe*
.aoc about
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 join
The Python Discord leaderboard for 2022 is not yet available!
.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.
.lovefest
NOTE: This command has been moved to !subscribe
.mosaic 100
.mosaic 5
.mosaic 4
.mosaic 1
.mosaic -1
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 0
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic inf
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic why?
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic what mistake?
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic what?
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic can I do it again?
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic why?
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 1.5
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 0x3H
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 10,000
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 10000
.mosaic 69
.mosaic 99999
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 9999
.mosaic 10000
.mosaic 999
.mosaic 10001
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.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.
An anagram is already being solved in this channel!
its words like vest, stove etc
Nobody got it right.
.anagram
You have 60 seconds to find correct words.
.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.
.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.*
Nobody got it right.
.pfpmod mosaic 10
.pfpmod mosaic 16 8bitify
.pfpmod 8bitify mosaic 16
.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.
Check out this April Fools' video by nvidia.
GeForce GTX G-Assist takes advantage of cutting-edge NVIDIA artificial intelligence to bring you the next revolution in gaming. http://nvda.ws/2nEwcdJ
Eliminate AFKs. Overcome the toughest boss battles. Monitor and maintain your peak gaming performance. Learn from the only gamer to play over 10,080 games. Now, you can do it all with G-Assist’s...
Nobody got it right.
.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.
.lovefest
NOTE: This command has been moved to !subscribe
.spookyavatar
.reverse Hello world
dlrow olleH
.mosaic [squares = 20]
Your input was invalid: Converting to "int" failed for parameter "squares".
Usage:```
.avatar_modify mosaic [squares=16]
**```
.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.*
Your input was invalid: Converting to "float" failed for parameter "bomb_chance".
Usage:```
.minesweeper start [bomb_chance=0.2]
.minesweeper start [bomb_chance=0.2]
Your input was invalid: Converting to "float" failed for parameter "bomb_chance".
Usage:```
.minesweeper start [bomb_chance=0.2]
.minesweeper start [bomb_chance=1]
Your input was invalid: Converting to "float" failed for parameter "bomb_chance".
Usage:```
.minesweeper start [bomb_chance=0.2]
.spookyavatar
.color
.spookyavatar
.spookyavatar
.spookyavatar
.randomcase yourmother
YOURMOTHeR
.spookavatar
.minesweeper start [bomb_chance=0.2]
Your input was invalid: Converting to "float" failed for parameter "bomb_chance".
Usage:```
.minesweeper start [bomb_chance=0.2]
.madlibs
Part of speech: adjective
Make sure not to spam, or you may get auto-muted!
books
ran
run
shirt
arm
blue
table
tables
arm
pcs
leg
name]
home
runing
@modern glade
Uh oh! You took too long to respond!
.madlibs
Part of speech: plural noun
Make sure not to spam, or you may get auto-muted!
@karmic cliff
Uh oh! You took too long to respond!
.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.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
.bunnifyme
Totearsing112
.catify hello
ᘣᘏᗢ hello
.quiz
Guess the title of the Wikipedia article.
Zachary William ****** is an American football coach who is the head coach for the Cincinnati Bengals of the National Football League (NFL). Beginning his NFL career as an offensive assistant with the Miami Dolphins, he was the quarterbacks coach for the Los Angeles Rams when they made a Super Bowl appearance in Super Bowl LIII. ****** was named Cincinnati's head coach the following season in 2019, where he went 6–25–1 in his first two years. In 2021, he led the Bengals to their first playoff win since 1990, ending the longest active drought in the four major North American sports, en route to an appearance in Super Bowl LVI, the franchise's first since 1988.
20s left!
10s left!
Zachary william
No one answered correctly!
Information
Zachary William Taylor is an American football coach who is the head coach for the Cincinnati Bengals of the National Football League (NFL). Beginning his NFL career as an offensive assistant with the Miami Dolphins, he was the quarterbacks coach for the Los Angeles Rams when they made a Super Bowl appearance in Super Bowl LIII. Taylor was named Cincinnati's head coach the following season in 2019, where he went 6–25–1 in his first two years. In 2021, he led the Bengals to their first playoff win since 1990, ending the longest active drought in the four major North American sports, en route to an appearance in Super Bowl LVI, the franchise's first since 1988.
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Guess the title of the Wikipedia article.
**** Steven ****** is an American former football safety who played in the National Football League (NFL) for 14 seasons. He played college football at Utah, where he was a consensus All-American, and was selected by the San Diego Chargers in the second round of the 2007 NFL Draft. During his nine seasons with the Chargers, ****** received three Pro Bowl selections and two first-team All-Pro honors. ****** spent his next three seasons as a member of the Baltimore Ravens, earning Pro Bowl honors in each and extending his total selections to six. He retired after playing for the Los Angeles Rams in 2019, but returned two years later to join the Rams on their playoff run, which culminated with a victory in Super Bowl LVI. Following the victory, he retired a second time.
20s left!
.quiz stop
Quiz stopped.
.spookyavatar
.spookyavatar
.spookyavatar
.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.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
I 🐈 wonder...
.catify
Your catified nickname is: Outsider | ᓚᘏᗢ
easy
.catify
Your catified nickname is: ブラックライト <( ̄︶ ̄)> | ᘣᘏᗢ
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 jaunary
You have 60 seconds to find correct words.
Well done @main scarab for getting it right!
.8bitify
.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.*
.mosaic 4
.mosaic
.mosaic 100
.mosaic 1000
.mosaic 1000000000
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
.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.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
.catify
Your catified nickname is: Blank | ᕦᘏᗢ
.bunnyname
Dandelion
.bunnyname
Marshmallow
.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.
Emojis
.emoji <emoji>
A group of commands related to emojis.
Epoch
.epoch [date_time]
Convert an entered date/time string to the equivalent epoch.
.riddle
You have 10 seconds before the first hint.
because she got 2nd place
1st
Nobody got it right...
You have 10 seconds before the first hint.
rabbeas
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
Bugs Bunny
Well done @main scarab for getting it right!
.riddle
You have 10 seconds before the first hint.
Nobody got it right...
.riddle
You have 10 seconds before the first hint.
Because an egg beater
because an egg beater
Well done @main scarab for getting it right!
You have 10 seconds before the first hint.
.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.
Nobody got it right...
.uptime
I started up a day ago.
@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: :one: :two: :bomb: :one: :one: :one: :two: :two: :two:
:two: :two: :four: :bomb: :three: :one: :one: :bomb: :two: :bomb: :bomb:
:three: :bomb: :bomb: :bomb: :two: :one: :two: :two: :two: :two: :two:
:four: :two: :four: :three: :three: :two: :bomb: :two: :one: :two: :one:
:five: :stop_button: :one: :bomb: :two: :bomb: :two: :two: :bomb: :three: :bomb:
:six: :two: :three: :two: :three: :three: :three: :two: :three: :bomb: :three:
:seven: :bomb: :bomb: :one: :two: :bomb: :bomb: :one: :two: :bomb: :two:
:eight: :bomb: :three: :two: :four: :bomb: :four: :two: :two: :two: :one:
:nine: :two: :two: :one: :bomb: :bomb: :three: :three: :bomb: :two: :stop_button:
:keycap_ten: :bomb: :one: :one: :two: :three: :bomb: :three: :bomb: :two: :stop_button:
**```
.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.*
**```
.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.*
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.
**```
.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.*
lol
.savatar
.savatar
.avatar_modify reverse all flesh is grass
ssarg si hself lla
.so Error: Command raised an exception: BadURLException: URL is not valid: http:// is not valid
Here are the top 5 results:
.savatar
Hm
.savatar
.savatar
.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.
.lovefest
NOTE: This command has been moved to !subscribe
.spookyavatar
.spookyavatar
**```
.help [commands...]
*Shows Command Help.*
.help
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.
.spookyfact
An Irish legend about jack-o'-lanterns goes as follows:
On route home after a night's drinking, Jack encounters the Devil and tricks him into climbing a tree. A quick-thinking Jack etches the sign of the cross into the bark, thus trapping the Devil. Jack strikes a bargain that Satan can never claim his soul. After a life of sin, drink, and mendacity, Jack is refused entry to heaven when he dies. Keeping his promise, the Devil refuses to let Jack into hell and throws a live coal straight from the fires of hell at him. It was a cold night, so Jack places the coal in a hollowed out turnip to stop it from going out, since which time Jack and his lantern have been roaming looking for a place to rest.
.halloweenify
.monsterbio
Your name is Gronngaf, a member of the spectacular species Wozymeeltir. The first Wozymeeltir was found by Ellis Schimm in 1330 at dawn. The species Wozymeeltir is known for its rubbery pure white horns. It is said to even be able to devour dreams!
.halloweenify
.help latex
**```
.latex <query>
*Renders the text in latex and sends the image.*
.reverse hello
Gateway Latency: 123ms
.halloweenify
.prideavatar
.latex $\frac{d}{dx}f(x) = \lim\limits_{h \to 0} \frac{f(x+h) - f(x)}{h}$
^ you need that for inline math
Boa noite
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
.avatareasterify
.avatareasterify
.src t
.latex 1 + 2
.latex ```tex
\usepackage{minted}
\begin{minted}{python}
def f():
i = 1 + 2
return i
\end{minted}
.latex ```tex
\usepackage{minted}
\begin{document}
\begin{minted}{python}
def f():
i = 1 + 2
return i
\end{minted}
\end{document}
.latex ```tex
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0)--(1,1);
\end{tikzpicture}
\end{document}
.latex $a \cup b = c$
.latex my name is Lancelot
.8bitify
.8bitify
.8bitify
😄
.help
Ping
.uptime
Get the current uptime of the bot.
PrideAnthem
.prideanthem [genre]
Sends a message with a video of a random pride anthem.
PrideFacts
.pridefact [option]
Sends a message with a pride fact of the day.
PrideLeader
.pride_leader <pride_leader_name>
Information about a Pride Leader.
PythonFacts
.pythonfact
Sends a Random fun fact about Python.
.spookyavatar
I started up 16 hours ago.
!subscribe
.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.
.latex \LaTeX
.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.
.ping
Gateway Latency: 115ms
.uptime
I started up 2 minutes ago.
.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.
.uptime
I started up 23 minutes ago.
.8bitify
.anagram
You have 60 seconds to find correct words.
.prideanthem
MS MR - Do I Wanna Know (Arctic Monkeys Cover)
.pythonfact
Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
Suggest more facts here!
.8bitify
.pythonfact
If you type import this in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in #bot-commands)
Suggest more facts here!
.pythonfact
If you type import antigravity in the Python REPL, you'll be directed to an xkcd comic about how easy Python is.
Suggest more facts here!
Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
Suggest more facts here!
If you type import this in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in #bot-commands)
Suggest more facts here!
If you type import antigravity in the Python REPL, you'll be directed to an xkcd comic about how easy Python is.
Suggest more facts here!
Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
Suggest more facts here!
:ok_hand: applied mute to @leaden lance until <t:1645370384:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
!unmute 589430291559481345
:ok_hand: pardoned infraction mute for @leaden lance.
hallo! pls be careful not to spam
ty
.8bitify
.8bitify
If you type import this in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in #bot-commands)
Suggest more facts here!
.anagram
You have 60 seconds to find correct words.
Well done @terse violet for getting it right!
yo
.8bitify
!voiceverify
.status dog 201
.status cat 200
Your input was invalid: Converting to "int" failed for parameter "code".
Usage:```
.http_status <code>
.status cat 4
The range of valid status codes is 100 to 599
.status cat 101
.status car 102
Your input was invalid: Converting to "int" failed for parameter "code".
Usage:```
.http_status <code>
.status cat 102
.status cat 107
.status cat 406
.status cat 103
.status cat 404
.status 202
.status 200
The range of valid status codes is 100 to 599
.status 599
Your input was invalid: Converting to "int" failed for parameter "code".
Usage:```
.http_status cat <code>
.status cat 599
.status penguin 599
Your input was invalid: Converting to "int" failed for parameter "code".
Usage:```
.http_status <code>
.status help
Your input was invalid: Converting to "int" failed for parameter "code".
Usage:```
.http_status <code>
.help
WTFPython
.wtf_python [query]
Search WTF Python repository.
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.
The range of valid status codes is 100 to 599
.status cat 420
.status 420
.status 451
.status cat 451
.status 420
.status 410
.status cat 410
.status cat 409
.status 201 Created
.status 103
.status 301
.latex $x\in(-inf, -5) U (7,inf)$
.latex $x\in(-inf, -5) \cup (7,inf)$
e
.latex [\begin{array}{r|cccc}
&x^2+x+3&x+2&2x-3&\frac{x^2+x+3}{(2x-3)(x+2)}\\hline x<-2&+&-&-&+\x=-2&+&0&-&\text{Undefined}\-2<x<\frac32&+&+&-&-\x=\frac32&+&+&0&\text{Undefined}\
x>\frac32&+&+&+&+\end{array}]
.latex \begin{array}{r|cccc}
&x^2+x+3&x+2&2x-3&\frac{x^2+x+3}{(2x-3)(x+2)}\\hline x<-2&+&-&-&+\x=-2&+&0&-&\text{Undefined}\-2<x<\frac32&+&+&-&-\x=\frac32&+&+&0&\text{Undefined}\
x>\frac32&+&+&+&+\end{array}
.latex $\boxed{x\in(-inf,2)\cup(1.5,inf)}$
.status pig 002
Your input was invalid: Converting to "int" failed for parameter "code".
Usage:```
.http_status <code>
.help
MonsterSurvey
.monster
The base voting command. If nothing is called, then it will return an embed.
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.
.bunnifyme
dpatchy
.ping
Gateway Latency: 107ms
.quiz
20s left!
:incoming_envelope: :ok_hand: applied mute to @keen nova until <t:1645413869:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
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 a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)
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 year was Python 3 released?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
What name does a lambda function have?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
No one has made it onto the leaderboard yet.
What is the official name of this operator :=, introduced in 3.8?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 2
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: 1
No one has made it onto the leaderboard yet.
What decorator is used to allow a protocol to be checked at runtime?
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
.quiz
What is the capital of Iraq?
20s left!
10s left!
No one answered correctly!
Information
Baghdad is the capital of Iraq. It has a population of 7 million people.
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Who lived at 221B, Baker Street, London?
Not me
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.
Diamonds are always nice in Minecraft, but can you name the "Diamond Capital in the World"?
20s left!
10s left!
Better luck next time...
Information
Antwerp, Belgium is where 60-80% of the world's diamonds are cut and traded, and is known as the "Diamond Capital of the World."
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
Who was the winner of FIFA 2018?
france
@wind jay got the correct answer :tada: 100 points!
Information
France 4 - 2 Croatia
Let's move to the next question.
Remaining questions: 3
The United Nations headquarters is located at which city?
20s left!
10s left!
No one answered correctly!
Information
The United Nations is headquartered in New York City in a complex designed by a board of architects led by Wallace Harrison and built by the architectural firm Harrison & Abramovitz. The complex has served as the official headquarters of the United Nations since its completion in 1951.
Let's move to the next question.
Remaining questions: 2
How many planets are there in the Solar system?
20s left!
10s left!
No one answered correctly!
Information
In the Solar system, there are 8 planets: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus and Neptune. Pluto isn't considered a planet in the Solar System anymore.
Let's move to the next question.
Remaining questions: 1
The Valley Of The Kings is located in which country?
20s left!
10s left!
No one answered correctly!
Information
The Valley of the Kings, also known as the Valley of the Gates of the Kings, is a valley in Egypt where, for a period of nearly 500 years from the 16th to 11th century BC, rock cut tombs were excavated for the pharaohs and powerful nobles of the New Kingdom (the Eighteenth to the Twentieth Dynasties of Ancient Egypt).
Remaining questions: 0
The round has ended.
@wind jay Congratulations on winning this quiz game with a grand total of 100 points :tada:
.latex $\mathcal{this}$
.latex $\mathcal{s}$
.latex $\mathcal{S}$
wild
.quiz
Guess the title of the Wikipedia article.
********* "Sasha" Vyacheslavovna ******* is a Russian figure skater. She is the 2022 Olympic silver medalist, the 2021 World bronze medalist, a two-time European bronze medalist, the 2019 Grand Prix Final bronze medalist, and a four-time Russian national medalist. As of February 2022, ******* is the second highest ranked women's singles skater in the world by the International Skating Union, behind teammate Anna Shcherbakova.
20s left!
alexandra trusova
@main scarab got the correct answer :tada: 75 points!
Information
Alexandra "Sasha" Vyacheslavovna Trusova is a Russian figure skater. She is the 2022 Olympic silver medalist, the 2021 World bronze medalist, a two-time European bronze medalist, the 2019 Grand Prix Final bronze medalist, and a four-time Russian national medalist. As of February 2022, Trusova is the second highest ranked women's singles skater in the world by the International Skating Union, behind teammate Anna Shcherbakova.
Let's move to the next question.
Remaining questions: 6
Guess the title of the Wikipedia article.
**** Kristen ******** is an American former competitive figure skater, actress, sports commentator and documentary film producer. A former competitor in ladies' singles, she is the 1998 Olympic champion, the 1997 world champion, a two time Champions Series Final champion (1997–1998) and the 1997 U.S. national champion. She was, until 2019, the youngest skater to win a U.S. Nationals. She was also the youngest skater to win a World Figure Skating title and the youngest to win an Olympic gold medal. She is the first woman to complete a triple loop-triple loop combination, her signature jump, in competition.
20s left!
10s left!
kristen
Better luck next time...
Information
Tara Kristen Lipinski is an American former competitive figure skater, actress, sports commentator and documentary film producer. A former competitor in ladies' singles, she is the 1998 Olympic champion, the 1997 world champion, a two time Champions Series Final champion (1997–1998) and the 1997 U.S. national champion. She was, until 2019, the youngest skater to win a U.S. Nationals. She was also the youngest skater to win a World Figure Skating title and the youngest to win an Olympic gold medal. She is the first woman to complete a triple loop-triple loop combination, her signature jump, in competition.
Let's move to the next question.
Remaining questions: 5
Guess the title of the Wikipedia article.
***** Aparesh ****** was an Indian singer, composer and record producer. He popularised the use of synthesised disco music in Indian cinema and sang some of his own compositions. He had delivered major box office successes in Bengali films like Amar Sangee, Asha O Bhalobasha, Aamar Tumi, Amar Prem, Mandira, Badnam, Raktelekha, Priya and so on. He was popular in the 1980s and 1990s with filmi soundtracks such as Wardat, Disco Dancer, Namak Halaal, Sharaabi, Naukar Biwi Ka, Naya Kadam, Masterji, Bewafai, Maqsad, Suraag, Insaaf Main Karoongaa, Dance Dance, Commando, Saaheb, Adhikar, Aaj Ka M.L.A. Ram Avtar.
20s left!
10s left!
Bappi Lahiri
@main scarab got the correct answer :tada: 50 points!
Information
Bappi Aparesh Lahiri was an Indian singer, composer and record producer. He popularised the use of synthesised disco music in Indian cinema and sang some of his own compositions. He had delivered major box office successes in Bengali films like Amar Sangee, Asha O Bhalobasha, Aamar Tumi, Amar Prem, Mandira, Badnam, Raktelekha, Priya and so on. He was popular in the 1980s and 1990s with filmi soundtracks such as Wardat, Disco Dancer, Namak Halaal, Sharaabi, Naukar Biwi Ka, Naya Kadam, Masterji, Bewafai, Maqsad, Suraag, Insaaf Main Karoongaa, Dance Dance, Commando, Saaheb, Adhikar, Aaj Ka M.L.A. Ram Avtar.
Let's move to the next question.
Remaining questions: 4
Guess the title of the Wikipedia article.
******** Vladimirovich ***** is a Russian politician and former intelligence officer who is the current president of Russia. He has been serving in this position since 2012, and he previously held this office from 1999 until 2008. He was also the prime minister from 1999 to 2000, and again from 2008 to 2012. ***** is the second-longest current serving European president after Alexander Lukashenko.
20s left!
Vladimir Putin
@main scarab got the correct answer :tada: 75 points!
Information
Vladimir Vladimirovich Putin is a Russian politician and former intelligence officer who is the current president of Russia. He has been serving in this position since 2012, and he previously held this office from 1999 until 2008. He was also the prime minister from 1999 to 2000, and again from 2008 to 2012. Putin is the second-longest current serving European president after Alexander Lukashenko.
Let's move to the next question.
Remaining questions: 3
Guess the title of the Wikipedia article.
*** ****** *** is a 2021 spy action film directed by Matthew Vaughn from a screenplay by Vaughn and Karl Gajdusek and a story by Vaughn. *** third installment in *** Kingsman film series, which is based on *** comic book *** Secret Service by Mark Millar and Dave Gibbons, it is a prequel to Kingsman: *** Secret Service (2014) and Kingsman: *** Golden Circle (2017). Its ensemble cast includes Ralph Fiennes, Gemma Arterton, Rhys Ifans, Matthew Goode, Tom Hollander, Harris Dickinson, Daniel Brühl, Djimon Hounsou, and Charles Dance. It focuses on several events during World War I and *** birth of *** Kingsman organization.
20s left!
The King's Man
@main scarab got the correct answer :tada: 75 points!
Information
The King's Man is a 2021 spy action film directed by Matthew Vaughn from a screenplay by Vaughn and Karl Gajdusek and a story by Vaughn. The third installment in the Kingsman film series, which is based on the comic book The Secret Service by Mark Millar and Dave Gibbons, it is a prequel to Kingsman: The Secret Service (2014) and Kingsman: The Golden Circle (2017). Its ensemble cast includes Ralph Fiennes, Gemma Arterton, Rhys Ifans, Matthew Goode, Tom Hollander, Harris Dickinson, Daniel Brühl, Djimon Hounsou, and Charles Dance. It focuses on several events during World War I and the birth of the Kingsman organization.
Let's move to the next question.
Remaining questions: 2
Guess the title of the Wikipedia article.
Marshall Bruce Mathers III, known professionally as ******, is an American rapper, songwriter, and record producer. ****** is among the best-selling music artists of all time, with estimated worldwide sales of over 220 million records. He is credited with popularizing hip hop in middle America and is critically acclaimed as one of the greatest rappers of all time.
20s left!
Eminem
@main scarab got the correct answer :tada: 75 points!
Information
Marshall Bruce Mathers III, known professionally as Eminem, is an American rapper, songwriter, and record producer. Eminem is among the best-selling music artists of all time, with estimated worldwide sales of over 220 million records. He is credited with popularizing hip hop in middle America and is critically acclaimed as one of the greatest rappers of all time.
Let's move to the next question.
Remaining questions: 1
Guess the title of the Wikipedia article.
***** ****** is an Israeli conman convicted of theft, forgery and fraud. According to The Times of Israel, between 2017 and 2019 he allegedly conned an estimated $10 million from victims across Europe in a Ponzi scheme. His criminal activity became widely known in 2019 after the publication of an article titled The Tinder Swindler by investigative journalists from the Norwegian tabloid Verdens Gang, with the support of Israeli journalist Uri Blau, and later with the release of the 2022 Netflix documentary of the same name.
20s left!
Simon Leviev
@main scarab got the correct answer :tada: 75 points!
Information
Simon Leviev is an Israeli conman convicted of theft, forgery and fraud. According to The Times of Israel, between 2017 and 2019 he allegedly conned an estimated $10 million from victims across Europe in a Ponzi scheme. His criminal activity became widely known in 2019 after the publication of an article titled The Tinder Swindler by investigative journalists from the Norwegian tabloid Verdens Gang, with the support of Israeli journalist Uri Blau, and later with the release of the 2022 Netflix documentary of the same name.
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 425 points :tada:
.latex \frac34
.latex $\frac34$
.latex $\begin{array}{r|cccc}
&x^2+x+3&x+2&2x-3&\frac{x^2+x+3}{(2x-3)(x+2)}\hline x<-2&+&-&-&+\x=-2&+&0&-&\text{Undefined}-2<x<\frac32&+&+&-&-\x=\frac32&+&+&0&\text{Undefined}
x>\frac32&+&+&+&+\end{array}$
!voiceverify
.color
.color
.color
.color
.color
.latex $3$
.latex $3+5=6$
.color blue
.quiz
Super Mario
**Hint #1
**The game was released in 1990.
Mario Kart
**Hint #2
**It was released on the SNES.
im dead
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
What is the best selling game on the Nintendo GameCube?
**Hint #1
**It is not a mainline Mario Game, although the plumber is present.
Super Mario Oddysey
**Hint #2
**It is not a mainline Zelda Game, although Link is present.
...
Better luck next time...
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
What did Nintendo make before video games and toys?
Food
**Hint #1
**They were used alternatively to playing cards.
Poker
**Hint #2
**They generally have handdrawn nature images on them.
Rip me
Better luck next time...
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
What year was Tetris released?
1986
**Hint #1
**It was released before the 90's.
**Hint #2
**It was released after 1980.
1981
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
No one has made it onto the leaderboard yet.
What was Mario's original occupation?
Plumber
**Hint #1
**The occupation was in construction
Construction worker
**Hint #2
**He appeared as this kind of worker in 1981's Donkey Kong
Smash thigns
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
No one has made it onto the leaderboard yet.
Who was Nintendo's biggest competitor in 1990?
PS
**Hint #1
**Before being Nintendo's main competitor in home gaming, they were successful in arcades.
**Hint #2
**Their first console was called the Master System.
No one answered correctly!
idk
Let's move to the next question.
Remaining questions: 1
No one has made it onto the leaderboard yet.
What is Yoshi's (from Mario Bros.) full name?
Yoshi H
**Hint #1
**It was revealed in the Nintendo Character Guide in 1993.
😐
**Hint #2
**His last name has to do with eating Mario's enemies.
No one answered correctly!
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
.quiz
**Hint #1
**They were used alternatively to playing cards.
**Hint #2
**They generally have handdrawn nature images on them.
No one answered correctly!
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
What is the best selling game on the Nintendo GameCube?
**Hint #1
**It is not a mainline Mario Game, although the plumber is present.
**Hint #2
**It is not a mainline Zelda Game, although Link is present.
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
Who was Nintendo's biggest competitor in 1990?
**Hint #1
**Before being Nintendo's main competitor in home gaming, they were successful in arcades.
**Hint #2
**Their first console was called the Master System.
Better luck next time...
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
What was the first game Yoshi appeared in?
**Hint #1
**The game was released in 1990.
**Hint #2
**It was released on the SNES.
Better luck next time...
Let's move to the next question.
Remaining questions: 3
No one has made it onto the leaderboard yet.
What year was Tetris released?
**Hint #1
**It was released before the 90's.
**Hint #2
**It was released after 1980.
Better luck next time...
Let's move to the next question.
Remaining questions: 2
No one has made it onto the leaderboard yet.
What is Yoshi's (from Mario Bros.) full name?
**Hint #1
**It was revealed in the Nintendo Character Guide in 1993.
**Hint #2
**His last name has to do with eating Mario's enemies.
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
No one has made it onto the leaderboard yet.
What was Mario's original occupation?
**Hint #1
**The occupation was in construction
**Hint #2
**He appeared as this kind of worker in 1981's Donkey Kong
No one answered correctly!
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
.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.
.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 `**
*NOTE: This command has been moved to !subscribe*
!sc
Scoping Rules
A scope defines the visibility of a name within a block, where a block is a piece of python code executed as a unit. For simplicity, this would be a module, a function body, and a class definition. A name refers to text bound to an object.
For more information about names, see !tags names
A module is the source code file itself, and encompasses all blocks defined within it. Therefore if a variable is defined at the module level (top-level code block), it is a global variable and can be accessed anywhere in the module as long as the block in which it's referenced is executed after it was defined.
Alternatively if a variable is defined within a function block for example, it is a local variable. It is not accessible at the module level, as that would be outside its scope. This is the purpose of the return statement, as it hands an object back to the scope of its caller. Conversely if a function was defined inside the previously mentioned block, it would have access to that variable, because it is within the first function's scope.
>>> def outer():
... foo = 'bar' # local variable to outer
... def inner():
... print(foo) # has access to foo from scope of outer
... return inner # brings inner to scope of caller
...
>>> inner = outer() # get inner function
>>> inner() # prints variable foo without issue
bar
Official Documentation
1. Program structure, name binding and resolution
2. global statement
3. nonlocal statement
!source
!source eval
Run Python code and get the results.
!source d
Look up documentation for Python symbols.
!source source
Display information and a GitHub link to the source code of a command, tag, or cog.
!source f-strings
**```
.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.*
.minesweeper start
@ruby falcon 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 xy 10
You are not authorized to use this command.
.minesweeper start
@astral spire 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 xy
You are not authorized to use this command.
.dddg
(0, 1, 8) - Scofflaw
(4, 5, 11) - Scofflaw
(2, 9, 11) - Scofflaw
(0, 2, 4) - Scofflaw
(3, 6, 8) - Scofflaw
(6, 7, 9) - Scofflaw
(5, 6, 10) - Scofflaw
All the flights were found!
Final scores:
Scofflaw: 8
.dddg
(5, 6, 11) - Scofflaw
(0, 7, 9) - Scofflaw
(8, 9, 10) - Scofflaw
(0, 2, 8) - Scofflaw
(5, 7, 10) - Scofflaw
(2, 5, 9) - Scofflaw
Flights everyone missed:
(1, 3, 7)
Final scores:
Scofflaw: 5
.dddg
(3, 7, 8) - Scofflaw
(5, 9, 10) - Scofflaw
(2, 4, 11) - Scofflaw
(0, 4, 8) - Scofflaw
(4, 6, 7) - Scofflaw
(2, 7, 10) - Scofflaw
All the flights were found!
Final scores:
Scofflaw: 6
bot-core#1
.dddg
(4, 7, 11) - Scofflaw
(2, 7, 10) - Scofflaw
(3, 7, 8) - Scofflaw
(2, 5, 6) - Scofflaw
(3, 4, 5) - Scofflaw
All the flights were found!
Final scores:
Scofflaw: 7
.dddg
(0, 8, 11) - Scofflaw
(6, 7, 9) - Scofflaw
(3, 5, 9) - Scofflaw
(0, 1, 2) - Scofflaw
(9, 10, 11) - Scofflaw
(0, 3, 6) - Scofflaw
All the flights were found!
Final scores:
Scofflaw: 5
.dddg
(1, 4, 11) - Scofflaw
(0, 3, 4) - Scofflaw
(0, 6, 8) - Scofflaw
(0, 5, 9) - Scofflaw
(9, 10, 11) - Scofflaw
(2, 8, 11) - Scofflaw
All the flights were found!
Final scores:
Scofflaw: 8
.dddg
0
47
2
python, selenium, exception