YAToDB is a simple and easy-to-use truth or dare Discord bot, developed in Python with the PyCord API wrapper library. If you want to use this bot in your server, invite it here.
- /truth: Gives a truth based question.
- /dare: Gives a dare based question.
- /suggest: Suggest a new question for truth or dare game modes.
-
Go to your bot folder in your file manager. Go to the
config
folder and open thestartup.json
file.Now go ahead and insert your Discord bot token in the
token
part of the file. If you don't have one, go to https://discord.com/developers and make a new application.After pasting the token, copy your Discord user ID and paste it into the
owner_id
part of the file. Save the file to apply changes. - Open your terminal emulator (command prompt in Windows, terminal in Linux and MacOS). Do not open as administrator as elevated permissions are not required.
- Move to the directory in which the bot source is located. For example, if my bot folder is located in my Desktop folder, this should be run:
Windows:
cd C:\Users\{your username}\Desktop\YAToDB-main
Linux/MacOS:
cd ~/Desktop/YAToDB-main
- Type in the following command to start the bot.
python main.py
If
poetry
is installed on your machine, thepy-cord
library will be automatically installed, along with all of its dependencies. If not, run these two commands:python -m pip install py-cord python main.py
- If you see this in your terminal emulator,
[client] Bot client successfully signed into API. (startup time)
That means you're all set!