Files
stroopwafel/Stroopwafel.py
T
2018-02-04 21:53:43 +01:00

30 lines
752 B
Python

import asyncio
import discord
#import Music
import Porno
import Shitpost
import General
import Cryptocoin
import logging
import importlib
from discord.ext import commands
logging.basicConfig(level=logging.INFO)
bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'), description='Stroopwafel. Shitpost bot extraordinaire.', pm_help=True)
#bot.add_cog(Music.Music(bot))
bot.add_cog(Shitpost.Shitpost(bot))
#importlib.import_module('Shitpost')
bot.add_cog(Porno.Porno(bot))
bot.add_cog(General.General(bot))
bot.add_cog(Cryptocoin.Cryptocoin(bot))
tokenfile = open("stroopwafel.token","r")
token = tokenfile.readline()
@bot.event
@asyncio.coroutine
def on_ready():
print('Logged in as:\n{0} (ID: {0.id})'.format(bot.user))
bot.run(token)