This bot automatically finds an xkcd from the given partial/full title and embeds it in chat
- discord.py's development version.
- Requests
Create a text file called token.txt
on the same directory as main.py
, paste your bot's token inside this text file.
When running the bot for the first time, uncomment await tree.sync()
under async def on_ready():
, run the bot once and then comment the line again to register the /xkcd
command.
type /xkcd [partial comic title]
or /xkcd [comic number]
in chat.