Need to pass a game instance to bare function calls

This commit is contained in:
c0de 2022-10-03 19:42:42 -05:00
parent 348ae34dd3
commit 5ece30bb03

View File

@ -38,4 +38,4 @@ class GhostBallClient(discord.Client):
for command, function in self.game.commands:
if firstword == command:
self.game.message = message
await function()
await function(self.game)