🥔A discord bot based on the song "Thank You Baked Potato" by Matt Lucas🥔
Just follow this link: https://discord.com/api/oauth2/authorize?client_id=697127417633964223&permissions=3072&scope=bot
- Create an environment variable called
DISCORD_TOKEN
, equal to your bot's token - Run bakedPotatoBot.py
- Search for 'environment' in the windows search bar and open
Edit the system environment variables
- Under the
Advnaced
tab, click the button labelledEnvironment Variables...
in the bottom right of theSystem Properties
window - Click the button labelled
new...
in the middle of theEnvironment Variables
window to add a new user variable - Enter
DISCORD_TOKEN
in the box labelledVariable name:
and enter your bot's token in the box labelledVariable value:
- Click the button labelled
OK
at the bottom of the window
Type DISCORD_TOKEN = "yourToken"
into the console (replcacing yourToken
with your bot's token)
if this does not work, you can try:
- Open .bashrc in your preferred editor (if you don't know how to do this you can use
sudo nano ~/.bashrc
to open it using nano) - Add the line
export DISCORD_TOKEN="yourToken"
(replacingyourToken
with whatever your bot's token is) - Save and exit the file (if you are using nano you do this by pressing
CTRL-S
followed byCTRL-X
)
!help
- Gives a list of options!potato
- Gives a conventional potato response!antitato
- Gives a reverse potato response!contradictato
- Gives a conventional potato response, followed by the corresponding reverse potato response!spell
- Reminds you how to spell "baked potato"!misspell
- Reminds you how to spell something vaguely similar to "baked potato "!link
- Sends the link to the video!serioustato
- Gives a very serious potato response!cookedtuber
- Chooses a cooking method and a tuber and reminds you how to spell it
- Python3
- The
Discord.py
python module
Original: https://www.youtube.com/watch?v=bPsY_nhTtxg
NHS Edition: https://www.youtube.com/watch?v=yYOkgCkxj9I