We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76db03a commit b92948fCopy full SHA for b92948f
2 files changed
DiscordBot/README.md
@@ -0,0 +1,14 @@
1
+# How To Run
2
+follow this guide to get a token and setup a bot account: <https://www.writebots.com/discord-bot-token/>
3
+
4
+Then insert your token at the top of the file.
5
6
+Make sure you have discord.py installed:
7
+```bash
8
+pip install discord
9
+```
10
11
+Then just run the bot using python:
12
13
+python bot.py
14
DiscordBot/main.py
+import discord
+from discord.ext import commands
+# your token here, inside the ""
+TOKEN = ""
+# you can change the prefix here
+bot = commands.Bot(command_prefix="!")
+if __name__ == "__main__":
+ bot.run(TOKEN)
0 commit comments