Files
stroopwafel/Stroopwafel.py
T
2018-07-01 18:56:18 +02:00

33 lines
810 B
Python

import asyncio
import discord
#import Music
import Porno
import Shitpost
import General
import Cryptocoin
import Chatbot
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))
bot.add_cog(Chatbot.Chatbot(bot))
tokenfile = open("stroopwafel.token","r")
token = tokenfile.readline().strip()
@bot.event
@asyncio.coroutine
def on_ready():
print('Logged in as:\n{0} (ID: {0.id})'.format(bot.user))
bot.run(token)