#sir-lancebot-playground
1 messages · Page 275 of 1
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify a user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.anagram preposterous
You have 60 seconds to find correct words.
Nobody got it right.
.cat
.cc decrypt 5 myyux
https
.8bitify
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.cheat semiconductors
Result Of cht.sh
# For myself I wrote some dirty script with \`pytesseract\` and few
# techniques from \`opencv\` library. You can choose different params here
# and view results.
# For example, I have image with name \`softserve.png\`:
#
# [![softserve][1]][1]
#
# Suppose you have \`ocr.py\` with following code:
# import the necessary packages
import argparse
import cv2
import numpy as np
import os
from PIL import Image
import pytesseract
# construct the argument parse and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--image", required=True,
help="path to input image to be OCR'd")
ap.add_argument("-b", "--blur", type=str, default=None,
help="type of preprocessing to be done")
ap.add_argument("-t", "--thresh", type=str, default=None,
help="type of preprocessing to be done")
ap.add_argument("-r", "--resize", type=float, default=1.0,
help="type of preprocessing to be done")
ap.add_ar
... (truncated - too many lines)
Full results: https://cheat.sh/python/semiconductors
Result Of cht.sh
# Hello World in Python
print("Hello, World!")
# You are probably using Python 3.0, where Python is now a function
# (hence the parenthesis) instead of a statement.
#
# [Unknown] [so/q/1077347] [cc by-sa 3.0]
Result Of cht.sh
# There are a couple of ways.
>>> x = np.random.random((3, 2)) - 0.5
>>> x
array([[-0.00590765, 0.18932873],
[-0.32396051, 0.25586596],
[ 0.22358098, 0.02217555]])
>>> np.maximum(x, 0)
array([[ 0. , 0.18932873],
[ 0. , 0.25586596],
[ 0.22358098, 0.02217555]])
>>> x * (x > 0)
array([[-0. , 0.18932873],
[-0. , 0.25586596],
[ 0.22358098, 0.02217555]])
>>> (abs(x) + x) / 2
array([[ 0. , 0.18932873],
[ 0. , 0.25586596],
[ 0.22358098, 0.02217555]])
# If timing the results with the following code:
import numpy as np
x = np.random.random((5000, 5000)) - 0.5
print("max method:")
%timeit -n10 np.maximum(x, 0)
print("multiplication method:")
%timeit -n10 x * (x > 0)
print("abs method:")
%timeit -n10 (abs(x) + x) / 2
# We get:
max method:
10 loops, best of 3: 239 ms per loop
multiplication method:
10 loops, best of 3: 145 ms per loop
abs method:
10
... (truncated - too many lines)
Full results: https://cheat.sh/python/rectifier
.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/
.src
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.rps rock
Sir Lancebot played scissors! @abstract willow won!
You have 60 seconds to find correct words.
teens
Well done @abstract willow for getting it right!
Movie
.movies [genre] [amount=5]
Get random movies by specifying genre. Also support amount parameter, that define how much movies will be shown.
MyValenstate
.myvalenstate [name]
Find the vacation spot(s) with the most matching characters to the invoking user.
PickupLine
.pickupline
Gives you a random pickup line.
Ping
.ping
Ping the bot to see its latency and state.
.uptime
Get the current uptime of the bot.
.8bitify
.help
Movie
.movies [genre] [amount=5]
Get random movies by specifying genre. Also support amount parameter, that define how much movies will be shown.
MyValenstate
.myvalenstate [name]
Find the vacation spot(s) with the most matching characters to the invoking user.
PickupLine
.pickupline
Gives you a random pickup line.
Ping
.ping
Ping the bot to see its latency and state.
.uptime
Get the current uptime of the bot.
.ping
Gateway Latency: 112ms
.uptime
I started up 2 days ago.
.pickupline
.wiki pip
Pip Torrens
(19 September 2015). "10 best modern-era Doctor Who episodes". The Telegraph. Pip Torrens at IMDb Pip Torrens profile, bfi.org; accessed 19 April 2016.
Pip-Boy
The Pip-Boy is a fictional wearable computer in the post-apocalyptic Fallout video game franchise. Manufactured in-universe by RobCo Industries prior
.wiki wikipedia
Wikimedia Foundation
projects. It was established in 2003 by Jimmy Wales as a way to fund Wikipedia and its sibling projects through non-profit means. As of 2021[update]
Reliability of Wikipedia
The reliability of Wikipedia concerns the validity, verifiability, and veracity of Wikipedia and its user-generated editing model, particularly its English-language
Your catified nickname is: vivax | 🐈 | ᕦᘏᗢ
Your catified nickname is: vivax | 🐈 | ᕦᘏᗢ | ᓕᘏᗢ
.help
BotSource
.source [source_item]
Display information and a GitHub link to the source code of a command, tag, or cog.
BunnyNameGenerator
.bunnifyme
Gets your Discord username and bunnifies it.
.bunnyname
Picks a random bunny name from a JSON file.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
Challenges
.challenge [language=python] [query]
The challenge command pulls a random kata (challenge) from codewars.com.
.bunnyname
Clover
.bunnifyme
Sawbeezear
.challenge c
Write a function that takes a string of parentheses, and determines if the order of the parentheses is valid. The function should return true if the string is valid, and false if it's invalid.
Examples
"()" => true
")(()))" => false
"(" => false
"(())((()())())" => true
Constraints
0 <= input.length <= 100
Along with opening (`(`) and closing (`)`) parenthesis, input may contain any valid ASCII characters. Furthermore, the input string may be empty and/or not contain any parentheses at all. Do **not** treat other forms of brackets as parentheses (e.g. `[]`, `{}`, `<>`).
5 kyu
.challenge c cipher
In this country soldiers are poor but they need a certain level of secrecy for their communications so, though they do not know Caesar cypher, they reinvent it in the following way.
The action of a Caesar cipher is to replace each plaintext letter (plaintext letters are from 'a' to 'z' or from 'A' to 'Z') with a different one a fixed number of places up or down the alphabet. This displacement of a number of places is called the "shift" or the "rotate" of the message. For example, if the shift is 1 letter a becomes b and A becomes B; the shift is cyclic so, with a shift of 1, z becomes a and Z becomesA.
They use ASCII, without really knowing it, but code only letters a-z and A-Z. Other characters are kept such as.
... continue reading
5 kyu
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.
.avatareasterify red
.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.*
.reverse hello
olleh
.spookyavatar
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.coinflip
@past remnant flipped tails.
.challenge python
Given a number and a binary tree (again, NOT a BST):
- Return True if the given number is in the tree
- Return False if it isn't
7 kyu
Simple interest on a loan is calculated by simply taking the initial amount (the principal, p) and multiplying it by a rate of interest (r) and the number of time periods (n).
Compound interest is calculated by adding the interest after each time period to the amount owed, then calculating the next interest payment based on the principal PLUS the interest from all previous periods.
Given a principal p, interest rate r, and a number of periods n, return an array [total owed under simple interest, total owed under compound interest].
EXAMPLES:
interest(100,0.1,1) = [110,110]
interest(100,0.1,2) = [120,121]
interest(100,0.1,10) = [200,259]
Round all answers to the nearest integer. Principal will always be an integer between 0 and 9999; interest rate will be a decimal between 0 and 1; number of time periods will be an integer between 0 and 49.
... continue reading
7 kyu
.wa short x^2+y^2=23
Failed to get response.
.help challange
.wa help
.help challenge
**```
.challenge [language=python] [query]
**Can also use:** `kata`
*The challenge command pulls a random kata (challenge) from codewars.com.
The different ways to use this command are:
`.challenge <language>` - Pulls a random challenge within that language's scope.
`.challenge <language> <difficulty>` - The difficulty can be from 1-8,
1 being the hardest, 8 being the easiest. This pulls a random challenge within that difficulty & language.
`.challenge <language> <query>` - Pulls a random challenge with the query provided under the language
`.challenge <language> <query>, <difficulty>` - Pulls a random challenge with the query provided,
under that difficulty within the language's scope.*
.challenge python
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as forward. Examples of numerical palindromes are:
<p>2332
<br>110011
<br>54322345
For a given number num, return its closest numerical palindrome which can either be smaller or larger than num. If there are 2 possible values, the larger value should be returned. If num is a numerical palindrome itself, return it.
For this kata, single digit numbers will <u>NOT</u> be considered numerical palindromes.
Also, you know the drill - be sure to return "Not valid" if the input is not an integer or is less than 0.
palindrome(8) => 11
palindrome(281) => 282
palindrome(1029) => 1001
palindrome(1221) => 1221
palindrome("1221") => "Not valid"
In Haskell the function should return a Maybe Int with Nothing for cases where the argument is less than zero.
6 kyu
@regal vine :white_check_mark: Your eval job has completed with return code 0.
001 | 11
002 | 282
003 | 1001
004 | 1221
005 | Not valid
!e ```py
def is_polindrome(n):
if len(str(n)) == 1:
return False
return str(n) == str(n)[::-1]
def palindrome(number):
if (type(number) != int) or ("-" in str(number)):
return "Not valid"
far = 0
while True:
if is_polindrome(number + far):
return number + far
elif is_polindrome(number - far):
return number - far
far += 1
print(palindrome(8))
print(palindrome(281))
print(palindrome(1029))
print(palindrome(1221))
print(palindrome("1221"))
@regal vine :white_check_mark: Your eval job has completed with return code 0.
001 | 11
002 | 282
003 | 1001
004 | 1221
005 | Not valid
Yes!
.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.
.help
EggDecorating
.eggdecorate [colours...]
Picks a random egg design and decorates it using the given colours.
EggheadQuiz
.eggquiz
Gives a random quiz question, waits 30 seconds and then outputs the answer.
Emojis
.emoji <emoji>
A group of commands related to emojis.
Epoch
.epoch [date_time]
Convert an entered date/time string to the equivalent epoch.
Fun
.caesarcipher
Translates a message using the Caesar Cipher.
.catify
Your catified nickname is: RGBCube | ᓂᘏᗢ
.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.*
incredible
These are the valid emoji categories:
python, joe, pydis, lemonpeek, hyperlemon, thinkmon, lemonshake, brainmon, this, grumpchib, ducky, py, flag, aniblobsweat, amegablobsweats, ablobhammer, logo, pyllow, blobgrimacing, pipenv, pithink, jam, incident, lemon, lemonsaurus, dice, pypi, plus1, roundtable, ok, gem, shipit, yert, hemshake, hemlock, pixels, guido, stack, patron, champion, zig, yikea, nedbat, tada, thin, scofflaw
joe
.help
TriviaQuiz
.quiz <category> <questions>
Start a quiz!
Twemoji
.twemoji [raw_emoji...]
Sends a preview of a given Twemoji, specified by codepoint or emoji.
ValentineFacts
.valentine_fact
Shows a random fact about Valentine's Day.
.who_is_valentine
Displays info about Saint Valentine.
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
.wtf_python
.quiz c
- General
Test your general knowledge.
- Retro
Questions related to retro gaming.
- Math
General questions about mathematics ranging from grade 8 to grade 12.
- Science
Put your understanding of science to the test!
- Cs
A large variety of computer science questions.
- Python
Trivia on our amazing language, python!
- Wikipedia
Guess the title of random wikipedia passages.
.quiz python

Is the __aiter__ method async (y/n)?
y
20s left!
@hot niche got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 6
Is everything an instance of the object class (y/n)?
y
@hot niche got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
Which file contains all special site builtins, such as help or credits?
builtins.pyi
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
What attribute of a closure contains the value closed over?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
How does one call a class who defines the behavior of their instance classes?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
What is the official name of this operator :=, introduced in 3.8?
Better luck next time...
Let's move to the next question.
Remaining questions: 1
What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
The round has ended.
@hot niche Congratulations on winning this quiz game with a grand total of 175 points :tada:
.quiz python
Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?
20s left!
10s left!
__doc__
@hidden token got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 6
Where does the name Python come from?
Monty python
@hidden token got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
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: 4
Which protocol is used to pass self to methods when accessed on classes?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
Does numbers.Rational include the builtin object float (y/n)
@hidden token got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?
IndexError
@hidden token got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
Which year was Python 3 released?
2009
20s left!
2008
@hidden token got the correct answer :tada: 75 points!
Remaining questions: 0
The round has ended.
@hidden token Congratulations on winning this quiz game with a grand total of 425 points :tada:
.color
.quiz
What is the process by which green plants and certain other organisms transform light energy into chemical energy?
Photosynthesis
@upbeat girder got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
What type of image is formed by a convex mirror?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
About how many neurons are in the human brain?
(A. 1 billion, B. 10 billion, C. 100 billion, D. 300 billion)
C
@upbeat girder got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
What range of frequency are the average human ears capable of hearing?
(A. 10Hz-10kHz, B. 20Hz-20kHz, C. 20Hz-2000Hz, D. 10kHz-20kHz)
B
@upbeat girder got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
In the biological taxonomic hierarchy, what is placed directly above class?
.end
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
As of 2021, how many elements are there in the Periodic Table?
81
118
@upbeat girder got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 1
Which law states that the current through a conductor between two points is directly proportional to the voltage across the two points?
20s left!
Ohm's Law
@upbeat girder got the correct answer :tada: 75 points!
Remaining questions: 0
The round has ended.
Genius
@upbeat girder Congratulations on winning this quiz game with a grand total of 425 points :tada:
.quiz
Which of these sorting algorithms is not stable?
(Counting sort, quick sort, insertion sort, tim sort, bubble sort)
Quick Sort
@upbeat girder got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
What does SASS stand for?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 5
In neural networks, _______________ is an algorithm for supervised learning using gradient descent.
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 4
What does one call the optimization technique used in CPU design that attempts to guess the outcome of a conditional operation and prepare for the most likely result?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
Which newline sequence does HTTP use?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
Which of these languages is the oldest?
(Tcl, Smalltalk 80, Haskell, Standard ML, Java)
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
What does HTML stand for?
20s left!
Hyper Text Markup Language
@upbeat girder got the correct answer :tada: 75 points!
Remaining questions: 0
The round has ended.
@upbeat girder Congratulations on winning this quiz game with a grand total of 175 points :tada:
.quiz general
What country is the world's largest coral reef system, the "Great Barrier Reef", located in?
20s left!
Australia
@upbeat girder got the correct answer :tada: 75 points!
Information
The Great Barrier Reef is the world's largest coral reef system composed of over 2,900 individual reefs and 900 islands stretching for over 2,300 kilometres (1,400 mi) over an area of approximately 344,400 square kilometres (133,000 sq mi). The reef is located in the Coral Sea, off the coast of Queensland, Australia.
Let's move to the next question.
Remaining questions: 6
At what year did Christopher Columbus discover America?
20s left!
1783
10s left!
1492
@upbeat girder got the correct answer :tada: 50 points!
Information
The explorer Christopher Columbus made four trips across the Atlantic Ocean from Spain: in 1492, 1493, 1498 and 1502. He was determined to find a direct water route west from Europe to Asia, but he never did. Instead, he stumbled upon the Americas
Let's move to the next question.
Remaining questions: 5
When did the First World War start?
1940
20s left!
10s left!
1914
@upbeat girder got the correct answer :tada: 50 points!
Information
The first world war began in August 1914. It was directly triggered by the assassination of the Austrian archduke, Franz Ferdinand and his wife, on 28th June 1914 by Bosnian revolutionary, Gavrilo Princip. This event was, however, simply the trigger that set off declarations of war.
Let's move to the next question.
Remaining questions: 4
Diamonds are always nice in Minecraft, but can you name the "Diamond Capital in the World"?
20s left!
Suray
10s left!
@upbeat girder got the correct answer :tada: 50 points!
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: 3
Which country is the largest producer of tea in the world?
China
@upbeat girder got the correct answer :tada: 100 points!
Information
Tea is mainly grown in Asia, Africa, South America, and around the Black and Caspian Seas. The four biggest tea-producing countries today are China, India, Sri Lanka and Kenya. Together they represent 75% of world production.
Let's move to the next question.
Remaining questions: 2
Which country is known as the "Land of Thunderbolt"?
20s left!
Bhutan
@upbeat girder got the correct answer :tada: 75 points!
Information
Bhutan is known as the "Land of Thunder Dragon" or "Land of Thunderbolt" due to the violent and large thunderstorms that whip down through the valleys from the Himalayas. The dragon reference was due to people thinking the sparkling light of thunderbolts was the red fire of a dragon.
Let's move to the next question.
Remaining questions: 1
Name "the land of a thousand lakes"
20s left!
Finland
@upbeat girder got the correct answer :tada: 75 points!
Information
Finland is a country in Northern Europe. Sweden borders it to the northwest, Estonia to the south, Russia to the east, and Norway to the north. Finland is part of the European Union with its capital city being Helsinki. With a population of 5.5 million people, it has over 187,000 lakes. The thousands of lakes in Finland are the reason why the country's nickname is "the land of a thousand lakes."
Remaining questions: 0
The round has ended.
@upbeat girder Congratulations on winning this quiz game with a grand total of 475 points :tada:
.quiz math
As the Fibonacci sequence extends to infinity, what's the ratio of each number n and its preceding number n-1 approaching?
20s left!
n^2/n*(n-1)
10s left!
2n/n(n-1)
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 highest power of a biquadratic polynomial?
.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.
20s left!
.anagram
You have 60 seconds to find correct words.
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.
In set builder notation, what does {p/q | q ≠ 0, p & q ∈ Z} represent?
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.
6a^2 is the surface area of which 3 dimensional figure?
Well done @upbeat girder for getting it right!
.quiz stop
Quiz stopped.
.quiz leaderboard
.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
A wild Eastern Hognose Snake appears!
@untold night :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(“test”)
003 | ^
004 | SyntaxError: invalid character '“' (U+201C)
!e print(‘test’)
@untold night :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(‘test’)
003 | ^
004 | SyntaxError: invalid character '‘' (U+2018)
@untold night :warning: Your eval job has completed with return code 0.
[No output]
!e print(’test’)
@untold night :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(’test’)
003 | ^
004 | SyntaxError: invalid character '’' (U+2019)
this gotta be racist
!e
print("Hello World")
@rose ginkgo :white_check_mark: Your eval job has completed with return code 0.
Hello World
!eval
print("Hello World")
@rose ginkgo :white_check_mark: Your eval job has completed with return code 0.
Hello World
!e
x = 1
for i in range(x):
print(i)
@rose ginkgo :white_check_mark: Your eval job has completed with return code 0.
0
!e
x = 10
for i in range(x):
print(i)
@rose ginkgo :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
!e
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
.quiz
What is the universal force discovered by Newton that causes objects with mass to attract each other called?
Gravity
@tough depot got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
Which cell organelle is nicknamed "the powerhouse of the cell"?
20s left!
the core
10s left!
the center
Better luck next time...
Let's move to the next question.
Remaining questions: 5
Which particle is emitted during the beta decay of a radioactive element?
@tough depot got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
What is the force that causes objects to float in fluids called?
archimedian
20s left!
archimediand push
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
When DNA is unzipped, two strands are formed. What are they called (separate both answers by the word "and")?
20s left!
10s left!
DNA and RNA
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
What range of frequency are the average human ears capable of hearing?
(A. 10Hz-10kHz, B. 20Hz-20kHz, C. 20Hz-2000Hz, D. 10kHz-20kHz)
20s left!
10s left!
B
@tough depot got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 1
How does one describe a chemical reaction wherein heat is released?
20s left!
10s left!
Better luck next time...
Remaining questions: 0
The round has ended.
@tough depot Congratulations on winning this quiz game with a grand total of 250 points :tada:
.quiz
What attribute of a closure contains the value closed over?
20s left!
10s left!
self
No one answered correctly!
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
What type does the & operator return when given 2 dict_keys objects?
merged
20s left!
merged dicts
10s left!
nothing
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
What is the garbage collection strategy used by cpython to collect everything but reference cycles?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
Which of these is not a generator method?
(next, send, throw, close)
20s left!
10s left!
next
@tough depot got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 3
Name the only non-dunder method of the builtin slice object.
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 2
What decorator is used to allow a protocol to be checked at runtime?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?
20s left!
OverflowError
10s left!
Exception
No one answered correctly!
Remaining questions: 0
ValueERror
The round has ended.
@tough depot Congratulations on winning this quiz game with a grand total of 50 points :tada:
.dddg
(5, 8, 11) - Σκαφλω
(1, 4, 6) - Σκαφλω
(3, 8, 10) - Σκαφλω
(7, 8, 9) - Σκαφλω
(1, 3, 11) - Σκαφλω
All the flights were found!
Final scores:
Σκαφλω: 5
.dddg
(1, 2, 6) - Σκαφλω
(3, 4, 6) - Σκαφλω
(2, 3, 9) - Σκαφλω
(1, 5, 8) - Σκαφλω
All the flights were found!
Final scores:
Σκαφλω: 4
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.help
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.
.help
RPS
.rps <move>
Play the classic game of Rock Paper Scissors with your own sir-lancebot!
RealPython
.realpython [amount=5] <user_search>
Send some articles from RealPython that match the search terms.
RecommendGame
.recommendgame
Sends an Embed of a random game recommendation.
Reddit
.reddit
View the top posts from various subreddits.
RomanceMovieFinder
.romancemovie
Randomly selects a romance movie and displays information about it.
.recommendgame
.recommendgame
.quiz python
Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)
20s left!
Generator
@cursive python got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 6
What decorator is used to allow a protocol to be checked at runtime?
20s left!
runtime_checkable
@cursive python got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
What type does the & operator return when given 2 dict_keys objects?
20s left!
set
@cursive python got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 4
Which of these is not a generator method?
(next, send, throw, close)
close
20s left!
next
@cursive python got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 3
When was Python first released?
2008
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 2
Where does the name Python come from?
monty python
@cursive python got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
Is everything an instance of the object class (y/n)?
@cursive python got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@cursive python Congratulations on winning this quiz game with a grand total of 500 points :tada:
.dddg
(3, 5, 8) - vivax
(0, 9, 11) - vivax
(3, 10, 11) - vivax
(4, 8, 11) - vivax
(2, 7, 11) - vivax
(1, 2, 10) - vivax
All the flights were found!
Final scores:
vivax: 4
.dddg
Flights everyone missed:
(2, 8, 9)
(0, 1, 3)
(1, 4, 6)
(5, 8, 11)
(2, 3, 4)
(3, 10, 11)
Final scores:
Ryuga: -2
!e
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
!eval print("jam")
@twin falcon :white_check_mark: Your eval job has completed with return code 0.
jam
!e
from bisect import *
print(bisect(range(40),8, key = lambda n: 2*n))
@quartz jungle :white_check_mark: Your eval job has completed with return code 0.
5
!e
from math import *
from decimal import Decimal as D
def stirling(n,m):
t = 0
for i in range(m-1, -1, -1):
t = comb(m, i) * (m-i)**n - t
return t
def p(m,n):
return 1 - stirling(n,m) / D(m)**n
from bisect import *
x = 4
print(bisect_right(range(x,10*x),0.01, key = lambda n: p(x,n)))
@quartz jungle :white_check_mark: Your eval job has completed with return code 0.
36
!e
from math import *
from decimal import Decimal as D
def stirling(n,m):
t = 0
for i in range(m-1, -1, -1):
t = comb(m, i) * (m-i)**n - t
return t
def p(m,n):
return 1 - stirling(n,m) / D(m)**n
from bisect import *
x = 4
print(bisect_right(range(x,10*x),-0.01, key = lambda n: -p(x,n)))
@quartz jungle :white_check_mark: Your eval job has completed with return code 0.
17
bisect.bisect_right(a, x, lo=0, hi=len(a), *, key=None)``````py
bisect.bisect(a, x, lo=0, hi=len(a), *, key=None)```
Similar to [`bisect_left()`](https://docs.python.org/3/library/bisect.html#bisect.bisect_left "bisect.bisect_left"), but returns an insertion point which comes after (to the right of) any existing entries of *x* in *a*.
The returned insertion point *i* partitions the array *a* into two halves so that `all(val <= x for val in a[lo : i])` for the left side and `all(val > x for val in a[i : hi])` for the right side.
*key* specifies a [key function](https://docs.python.org/3/glossary.html#term-key-function) of one argument that is used to extract a comparison key from each input element. The default value is `None` (compare the elements directly).
Changed in version 3.10: Added the *key* parameter.
@quartz jungle :warning: Your eval job timed out or ran out of memory.
[No output]
!e
from math import *
from decimal import *
getcontext().prec = 9
def stirling(n,m):
t = 0
for i in range(m-1, -1, -1):
t = comb(m, i) * (m-i)**n - t
return t
def p(m,n):
return 1 - stirling(n,m) / Decimal(m)**n
from bisect import *
x = 128
print(x+bisect_right(range(x,18*x),-0.01, key = lambda n: -p(x,n)))
@quartz jungle :white_check_mark: Your eval job has completed with return code 0.
1206
!docs
!docs random.choices
random.choice(seq)```
Return a random element from the non-empty sequence *seq*. If *seq* is empty, raises [`IndexError`](https://docs.python.org/3/library/exceptions.html#IndexError "IndexError").
!docs random.choices
random.choices(population, weights=None, *, cum_weights=None, k=1)```
Return a *k* sized list of elements chosen from the *population* with replacement. If the *population* is empty, raises [`IndexError`](https://docs.python.org/3/library/exceptions.html#IndexError "IndexError").
If a *weights* sequence is specified, selections are made according to the relative weights. Alternatively, if a *cum\_weights* sequence is given, the selections are made according to the cumulative weights (perhaps computed using [`itertools.accumulate()`](https://docs.python.org/3/library/itertools.html#itertools.accumulate "itertools.accumulate")). For example, the relative weights `[10, 5, 30, 5]` are equivalent to the cumulative weights `[10, 15, 45, 50]`. Internally, the relative weights are converted to cumulative weights before making selections, so supplying the cumulative weights saves work.
!docs open
open(file, mode='r', buffering=- 1, encoding=None, errors=None, newline=None, closefd=True, opener=None)```
Open *file* and return a corresponding [file object](https://docs.python.org/3/glossary.html#term-file-object). If the file cannot be opened, an [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError "OSError") is raised. See [Reading and Writing Files](https://docs.python.org/3/tutorial/inputoutput.html#tut-files) for more examples of how to use this function.
*file* is a [path-like object](https://docs.python.org/3/glossary.html#term-path-like-object) giving the pathname (absolute or relative to the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descriptor is given, it is closed when the returned I/O object is closed unless *closefd* is set to `False`.)
.quiz
1984
@ruby falcon got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
What did Nintendo make before video games and toys?
**Hint #1
**They were used alternatively to playing cards.
hanafuda cards
@ruby falcon got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
What was the first game Yoshi appeared in?
super mario world
@ruby falcon got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
What is the best selling game on the Nintendo GameCube?
Super Smash Bros. Melee
**Hint #1
**It is not a mainline Mario Game, although the plumber is present.
super smash bros. melee
**Hint #2
**It is not a mainline Zelda Game, although Link is present.
i give up
Better luck next time...
Let's move to the next question.
Remaining questions: 3
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!
Let's move to the next question.
Remaining questions: 2
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.
Better luck next time...
Let's move to the next question.
Remaining questions: 1
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.
No one answered correctly!
Remaining questions: 0
The round has ended.
@ruby falcon Congratulations on winning this quiz game with a grand total of 275 points :tada:
.status 400
.status 301
.status 302
.status 418
.status 300
.status 402
.status 411
.status 431
.status 505
.status 508
.status 511
You have 60 seconds to find correct words.
Well done @hybrid depot for getting it right!
!pep 0
!pep hi
Converting to "int" failed for parameter "pep_number".
!pep <pep_number>
Can also use: get_pep, p
Fetches information about a PEP and sends it to the channel.
.anagram
You have 60 seconds to find correct words.
Well done @main scarab for getting it right!
You have 60 seconds to find correct words.
Well done @main scarab for getting it right!
What's 284 + 243 mod 13 congruent to?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
As the Fibonacci sequence extends to infinity, what's the ratio of each number n and its preceding number n-1 approaching?
20s left!
10s left!
Golden ratio
@main scarab got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 5
In set builder notation, what does {p/q | q ≠ 0, p & q ∈ Z} represent?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
Pascal's Triangle.
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
What is the bottom number on a fraction called?
20s left!
10s left!
Denominator
@main scarab got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 2
A matrix multiplied by its inverse matrix equals...
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
What is the natural log of -1 (use i for imaginary number)?
20s left!
10s left!
Better luck next time...
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 200 points :tada:
.color
.color Aquamarine
.color Blurple
**```
.colour [colour_input]
**Can also use:** `color`
*Create an embed that displays colour information.
If no subcommand is called, a randomly selected colour will be shown.*
**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
.anagram
You have 60 seconds to find correct words.
Well done @main scarab for getting it right!
You have 60 seconds to find correct words.
Well done @main scarab for getting it right!
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.
super smash bros melee
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
bruh
Who was Nintendo's biggest competitor in 1990?
sony
**Hint #1
**Before being Nintendo's main competitor in home gaming, they were successful in arcades.
sega
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
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.
yoshisaur munchakoopas
@main scarab got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 4
What year was Tetris released?
literally 1984
**Hint #1
**It was released before the 90's.
1984
@main scarab got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 3
What was the first game Yoshi appeared in?
super mario world
@main scarab got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
What did Nintendo make before video games and toys?
**Hint #1
**They were used alternatively to playing cards.
playing cards
**Hint #2
**They generally have handdrawn nature images on them.
hanafuda
@main scarab got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 1
What was Mario's original occupation?
plumber
**Hint #1
**The occupation was in construction
capenter
@main scarab got the correct answer :tada: 75 points!
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 425 points :tada:
&src blurpify
Format code in accordance with PEP 9001.
.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.
&blurpify
rn = lambda mn, mx: __import__(().__class__.__eq__.__class__.__name__[True] + ().__class__.__eq__.__class__.__name__[True + True] + ().__class__.__init__.__name__[(True + True) + True] + ().__class__.__eq__.__class__.__name__[(True + True) ** ((True + True) * True + True)] + ().__class__.__eq__.__class__.__name__[(True + True) ** (True + True) ** (True + True)] + __import__.__name__[True + True + True]).randint(mn, mx)
# coding=UTF-8-NOBOM
rn= lambda mn,mx : __import__ ( (((((( ) . __class__ .__eq__ . __class__ . __name__[ True ]
+( ).__class__ . __eq__ .__class__ .__name__[(True
+ True) ])
+ ( ) . __class__ . __init__ . __name__ [((True
+ True)
+ True)])
+( ) .__class__.__eq__. __class__ . __name__ [ (((True
+ True)) **
(((((True
+ True))
* True)
+True))) ])
+ ( ) . __class__ .__eq__ . __class__ .__name__[(((True
+ True))**
(((True
+ True))**
((True
+ True)))) ])
+__import__. __name__[((True
+True)
+ True)]) ) . randint(mn , mx ) ;
.anagram
You have 60 seconds to find correct words.
Nobody got it right.
&blurplify
if player.guild not in guild_gen_rank:
guild_gen_rank[player.guild] = {player.id: player.generated}
else:
temp_ggr = list(guild_gen_rank[player.guild].items())
for count, tup in enumerate(temp_ggr):
_, generated = tup
if player.generated > generated:
temp_ggr.insert(count, (player.id, player.generated))
guild_gen_rank[player.guild] = dict(temp_ggr[:5])
break
# coding=UTF-8-NOBOM
if player . guild not in guild_gen_rank :
guild_gen_rank [ player . guild]= {player . id : player . generated } ;
else :
temp_ggr= list( guild_gen_rank[ player.guild ] . items ( )) ;
for ( count , tup ) in enumerate( temp_ggr):
(_,generated ) =tup ;
if player . generated >generated :
temp_ggr. insert ( count, ( player . id , player. generated ) ) ;
guild_gen_rank [player .guild] =dict (temp_ggr [ : <ast.Constant object at 0x7f13465d77c0>: ] ) ;
break;
&src blurplify
Format code in accordance with PEP 9001.
&help
BlurpleFormatter:
blurplify Format code in accordance with PEP 9001.
BotSource:
source Display information and a GitHub link to the source code of a com...
Miscellaneous:
zen Display the Zen of Python in an embed.
Ping:
ping Ping the bot to see its latency and state.
PythonEnhancementProposals:
pep Fetches information about a PEP and sends it to the channel.
No Category:
help Shows this message
Type &help command for more info on a command.
You can also type &help category for more info on a category.
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
hello kayle
Hello crock
.color
.catify
Your catified nickname is: Crystal Fur | ᓇᘏᗢ
.dddg
Final scores:
Vladimir Kabanov: -1
(0, 9, 11) - Vladimir Kabanov
(0, 1, 8) - Vladimir Kabanov
(2, 5, 7) - Vladimir Kabanov
(4, 5, 11) - Vladimir Kabanov
Flights everyone missed:
(1, 7, 10)
Final scores:
Vladimir Kabanov: 4
In medieval times, Easter eggs were boiled with onions to give them a golden sheen. Edward I went beyond this tradition in 1290 and ordered 450 eggs to be covered in gold leaf and given as Easter gifts.
BotSource
.source [source_item]
Display information and a GitHub link to the source code of a command, tag, or cog.
BunnyNameGenerator
.bunnifyme
Gets your Discord username and bunnifies it.
.bunnyname
Picks a random bunny name from a JSON file.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
Challenges
.challenge [language=python] [query]
The challenge command pulls a random kata (challenge) from codewars.com.
.source
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.
RPS
.rps <move>
Play the classic game of Rock Paper Scissors with your own sir-lancebot!
RealPython
.realpython [amount=5] <user_search>
Send some articles from RealPython that match the search terms.
RecommendGame
.recommendgame
Sends an Embed of a random game recommendation.
Reddit
.reddit
View the top posts from various subreddits.
RomanceMovieFinder
.romancemovie
Randomly selects a romance movie and displays information about it.
.recommendgame
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
.recommendgame
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.
.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.
We're taking virtual reality to the next level with Haptic Helpers. Using a modest set of everyday tools, these VR virtuosos can simulate more than 10,000 unique experiences, all from the comfort of your own home. Smell the roses. Listen to the ocean. Feel a fluffy dog! Sign up for the beta at vr.google.com/haptichelpers
.8bitifu
.source
.help ttkbootstrap
.help
Movie
.movies [genre] [amount=5]
Get random movies by specifying genre. Also support amount parameter, that define how much movies will be shown.
MyValenstate
.myvalenstate [name]
Find the vacation spot(s) with the most matching characters to the invoking user.
PickupLine
.pickupline
Gives you a random pickup line.
Ping
.ping
Ping the bot to see its latency and state.
.uptime
Get the current uptime of the bot.
.pickupline
.pickupline
.pickupline
.uptime
I started up a week ago.
.help
CheatSheet
.cheat [search_terms...]
Search cheat.sh.
CoinFlip
.coinflip [side]
Flips a coin.
Colour
.colour [colour_input]
Create an embed that displays colour information.
ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!
ConvoStarters
.topic
Responds with a random topic to start a conversation.
.8bitify
!d sqlite3
Source code: Lib/sqlite3/
SQLite is a C library that provides a lightweight disk-based database that doesn’t require a separate server process and allows accessing the database using a nonstandard variant of the SQL query language. Some applications can use SQLite for internal data storage. It’s also possible to prototype an application using SQLite and then port the code to a larger database such as PostgreSQL or Oracle.
The sqlite3 module was written by Gerhard Häring. It provides an SQL interface compliant with the DB-API 2.0 specification described by PEP 249, and requires SQLite 3.7.15 or newer.
!e
code
!eval <code>
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
!e print("hi")
@twin falcon :white_check_mark: Your eval job has completed with return code 0.
hi
**```
.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.*
**```
.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.*
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.
Check out this April Fools' video by google.
Now you can control Gmail with your body. Learn more at http://gmail.com/motion
In 2007, an Easter egg covered in diamonds sold for almost £9 million. Every hour, a cockerel made of jewels pops up from the top of the Faberge egg, flaps its wings four times, nods its head three times and makes a crowing noise. The gold-and-pink enamel egg was made by the Russian royal family as an engagement gift for French aristocrat Baron Edouard de Rothschild.
Check out this April Fools' video by google.
Start the hunt: http://goo.gl/pB4gm
In September 2012 our team discovered a paper map that has been verified as Captain Kidd's treasure map. However, we haven't deciphered all the clues yet and its up to you to access his map and uncover the secrets. If we all work together, we can solve the mystery and find the long lost treasure. Read more on...
BotSource
.source [source_item]
Display information and a GitHub link to the source code of a command, tag, or cog.
BunnyNameGenerator
.bunnifyme
Gets your Discord username and bunnifies it.
.bunnyname
Picks a random bunny name from a JSON file.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
Challenges
.challenge [language=python] [query]
The challenge command pulls a random kata (challenge) from codewars.com.
Velvetpaw.f
Clover
Your input was invalid: This is not a recognized language on codewars.com!
Usage:```
.challenge [language=python] [query]
Background
Starting with the closed interval $[0,1]$, the Cantor ternary set is constructed by iteratively applying the operation "remove the middle thirds", by which we mean removing the open interval $(\frac{2a + b}{3}, \frac{a + 2b}{3})$ from each remaining closed interval $[a,b]$. If $C_n$ denotes the result after $n$ iterations, then $C_0 = [0,1]$, $C_1 = [0, \frac{1}{3}] \cup [\frac{2}{3}, 1]$ and $C_2 = [0,\frac{1}{9}] \cup [\frac{2}{9},\frac{1}{3}] \cup [\frac{2}{3}, \frac{7}{9}] \cup [\frac{8}{9},1]$.
To be precise, the Cantor ternary set, $C$, is the result after infinitely many iterations. In other words, $C$ is the intersection of all the sets $C_n$.
Task... continue reading
6 kyu
.pickupline
.help
