📝 removed references to error codes
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user