This commit is contained in:
Nikolaj Danger
2020-08-04 11:08:18 +02:00
parent 96c5d37e4f
commit 85b093cc18
5 changed files with 16 additions and 13 deletions

View File

@ -10,7 +10,7 @@ import random
#import math
import os
from funcs import helloFunc, cap, imageFunc, logThis, findWikiPage, makeFiles, emojiToNumber, fiarReactionTest, deleteGame, stopServer, checkBalance, giveMoney, triviaCountPoints, triviaStart, triviaAnswer, blackjackShuffle, blackjackStart, blackjackPlayerDrawHand, blackjackContinue, blackjackFinish, blackjackHit, blackjackStand, blackjackDouble, blackjackSplit, parseFourInARow, fourInARowAI, spellFunc, monsterFunc, nameGen, tavernGen, movieFunc, roll_dice, parseChar, parseRoll, critRoll, parseDestiny
from funcs import helloFunc, cap, imageFunc, logThis, findWikiPage, makeFiles, emojiToNumber, fiarReactionTest, deleteGame, stopServer, checkBalance, giveMoney, triviaCountPoints, triviaStart, triviaAnswer, blackjackShuffle, blackjackStart, blackjackPlayerDrawHand, blackjackContinue, blackjackFinish, blackjackHit, blackjackStand, blackjackDouble, blackjackSplit, parseFourInARow, fourInARowAI, spellFunc, monsterFunc, nameGen, tavernGen, movieFunc, roll_dice, parseChar, parseRoll, critRoll, parseDestiny, parseHex
from gameLoops import fiar, blackjackLoop
@ -564,11 +564,11 @@ async def parseCommands(message,content):
# Runs a game of Hex
elif content.startswith("hex"):
try:
command = content.replace("hex","")
await hex(message.channel,command,message.author.display_name)
except:
logThis("Something went wrong (error code 1500)")
#try:
command = content.replace("hex","")
await parseHex(command,str(message.channel),message.author.display_name)
#except:
# logThis("Something went wrong (error code 1500)")
# Not a command
else: