33 lines
439 B
Python
33 lines
439 B
Python
from discord.ext import commands
|
|
|
|
import helpers
|
|
|
|
bot = commands.Bot()
|
|
|
|
# various tokens
|
|
discordToken = helpers.readToken("discord.token")
|
|
|
|
|
|
|
|
# default command to see if the bot has lived
|
|
@bot.listen()
|
|
async def on_connect():
|
|
print("I'm alive, bitch")
|
|
|
|
|
|
|
|
|
|
@bot.event
|
|
async def on_ready():
|
|
print("I'm ready, bitch")
|
|
|
|
|
|
#run the damn thing
|
|
|
|
|
|
bot.load_extension("cogs.IdaCogs")
|
|
bot.run(discordToken)
|
|
|
|
|
|
|