add basic stuff

This commit is contained in:
TheTechRobo 2021-06-05 10:43:39 -04:00
commit 4bf4b66ebc
3 changed files with 15 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
__pycache__/
Token.py

7
Token.example.py Normal file
View File

@ -0,0 +1,7 @@
# After you're finished here,
# rename the file to
# Token.py
# (case sensitive)!
HYPIXEL_API_KEY = "Hypixel API key goes here (run /api new ingame to get it)"
DISCORD_API_KEY = "Discord bot token goes here"

6
bot.py Normal file
View File

@ -0,0 +1,6 @@
import discord
try:
from Token import HYPIXEL_API_KEY, DISCORD_API_KEY
except ImportError:
print("\tFATAL!\tCould not load Token.py file. Please change the Token.example.py to your liking and make sure that it is valid Python syntax")
raise