Skip to content

The Discord bot for the Python Discord community

Notifications You must be signed in to change notification settings

Anteste/Discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b42ab6a · Jun 21, 2020

History

6 Commits
Jun 21, 2020
Jun 21, 2020
Jun 21, 2020
Jun 21, 2020
Jun 21, 2020
Apr 28, 2020
Apr 28, 2020
Jun 21, 2020
Jun 21, 2020
Jun 21, 2020
Jun 21, 2020

Repository files navigation

Requirements

Useful to always have

Keep this saved somewhere, as this is the docs to discord.py@rewrite. All you need to know about the library is defined inside here, even code that I don't use in this example is here.

How to setup

  1. Make a bot here and grab the token Image_Example1

  2. Rename the file config.json.example to config.json, then fill in the required spots, such as token, prefix and game

  3. To install what you need, do pip install -r requirements.txt
    (If that doesn't work, do python -m pip install -r requirements.txt)
    NOTE: Use pip install with Administrator/sudo

  4. Start the bot by having the cmd/terminal inside the bot folder and type python index.py

  5. You're done, enjoy your bot!

FAQ

Q: I don't see my bot on my server!
A: Invite it by using this URL: https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot
Remember to replace CLIENT_ID with your bot client ID

Q: There aren't that many commands here...
A: Yes, I will only provide a few commands to get you started, maybe adding more later.

Q: Why the beer with the discord logo?
A: Because the framework is made so simple that even a drunk guy can set it up.

Repl.it

You can run this on Repl.it! Run on Repl.it Make sure to setup config.json in the way stated above.