diff --git a/Gwendolyn.py b/Gwendolyn.py index 2053e8f..eaa0006 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -7,6 +7,7 @@ from GwendolynFuncs import roll_dice, helloFunc, imageFunc, movieFunc, cap from lookupFuncs import monsterFunc, spellFunc from generators import nameGen, tavernGen from swroll import parseRoll +from swchar import parseChar client = discord.Client() @@ -136,5 +137,11 @@ async def on_message(message): command = cap(message.content.lower().replace("!swroll","")) await message.channel.send(parseRoll(message.author.name,command)) + elif message.content.lower().startswith("!swchar"): + localtime = time.asctime(time.localtime(time.time())) + print(localtime+"\n"+message.author.name+" ran !swchar") + command = cap(message.content.lower().replace("!swchar","")) + await message.channel.send(parseChar(message.author.name,command)) + client.run("MzgwNzI4OTkwMTEwODQyODgx.DO81GQ.rctkEQtieciETXnmsYbwZvvOkaA")