Need to pass a game instance to bare function calls
This commit is contained in:
parent
348ae34dd3
commit
5ece30bb03
@ -38,4 +38,4 @@ class GhostBallClient(discord.Client):
|
|||||||
for command, function in self.game.commands:
|
for command, function in self.game.commands:
|
||||||
if firstword == command:
|
if firstword == command:
|
||||||
self.game.message = message
|
self.game.message = message
|
||||||
await function()
|
await function(self.game)
|
||||||
|
Loading…
Reference in New Issue
Block a user