Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.37 KB

README.md

File metadata and controls

62 lines (47 loc) · 2.37 KB

YAToDB. Yet another Truth or Dare Discord bot, made in Python and PyCord.

LICENSE Stars Discord

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.

Command List

  • /truth: Gives a truth based question.
  • /dare: Gives a dare based question.
  • /suggest: Suggest a new question for truth or dare game modes.

How to run

  1. Go to your bot folder in your file manager. Go to the config folder and open the startup.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.

    Screenshot_20230506_231226

    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.

  2. Open your terminal emulator (command prompt in Windows, terminal in Linux and MacOS). Do not open as administrator as elevated permissions are not required.

  3. 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

  4. Type in the following command to start the bot.
    python main.py

    If poetry is installed on your machine, the py-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

  5. If you see this in your terminal emulator,
    [client] Bot client successfully signed into API. (startup time)
    

    That means you're all set!