📝 removed references to error codes

This commit is contained in:
NikolajDanger
2021-08-20 16:39:44 +02:00
parent f4c485dfe0
commit c7a0c773dc
7 changed files with 50 additions and 51 deletions

View File

@ -2,7 +2,6 @@ import random
import copy
import math
import discord
import math
from PIL import Image, ImageDraw, ImageFont
@ -302,7 +301,7 @@ class HexGame():
board[row][column] = player
return board
else:
self.bot.log("Cannot place on existing piece (error code 1532)")
self.bot.log("Cannot place on existing piece")
return None
# After your move, you have the option to undo get your turn back #TimeTravel
@ -608,7 +607,7 @@ class DrawHex():
# Save
im.save(FILEPATH)
except:
self.bot.log("Error drawing new hex on board (error code 1541")
self.bot.log("Error drawing new hex on board")
def drawSwap(self, channel):
FILEPATH = "gwendolyn/resources/games/hex_boards/board"+channel+".png"
@ -640,4 +639,4 @@ class DrawHex():
# Save
im.save(FILEPATH)
except:
self.bot.log("Error drawing swap (error code 1542)")
self.bot.log("Error drawing swap")