You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
caveman/bot.py

15 lines
319 B
Python

import discord,os
from discord.ext import commands
from task import Packages
bot = commands.Bot(";")
bot.add_cog(Packages(bot))
if not os.path.exists(os.environ["HOME"] + "/.cavetoken"):
print("No token found")
exit()
else:
token = open(os.environ["HOME"] + "/.cavetoken", "r").read()
bot.run(token)