Initial commit

This commit is contained in:
Cal Corum 2020-07-07 13:59:50 -05:00 committed by GitHub
parent ebb15bae5b
commit 16a6618549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

36
paperdynasty.py Normal file
View File

@ -0,0 +1,36 @@
from discord.ext import commands
COGS = [
'cogs.owner',
'cogs.helpers',
'cogs.admins',
'cogs.economy',
'cogs.players',
]
bot = commands.Bot(command_prefix='.',
description='The Paper Dynasty Bot\nIf you have questions, feel free to contact Cal.',
case_insensitive=True,
owner_id=000)
@bot.event
async def on_ready():
print('Logged in as:')
print(bot.user.name)
print(bot.user.id)
print('------')
for c in COGS:
try:
bot.load_extension(c)
print(f'Loaded cog: {c}')
except Exception as e:
print(f'******\nFailed to load cog: {c}')
print(f'{type(e).__name__} - {e}')
print('******')
print('------')
bot.run("TOKEN")