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)