Fixed the double command thing
This commit is contained in:
parent
aaa9725f01
commit
900cb9451e
@ -27,7 +27,7 @@ async def find(list: list, param: str, value: any):
|
|||||||
found = g
|
found = g
|
||||||
return found
|
return found
|
||||||
|
|
||||||
async def flush(data):
|
async def flush():
|
||||||
SquogDataFile = open("./userdata/userdata.json", "w")
|
SquogDataFile = open("./userdata/userdata.json", "w")
|
||||||
SquogDataFile.write(json.dumps(SquogData))
|
SquogDataFile.write(json.dumps(SquogData))
|
||||||
SquogDataFile.flush()
|
SquogDataFile.flush()
|
||||||
@ -39,8 +39,6 @@ class AI(commands.Cog):
|
|||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_message(self, message: nextcord.Message):
|
async def on_message(self, message: nextcord.Message):
|
||||||
print(message.content)
|
|
||||||
await self.client.process_commands(message)
|
|
||||||
|
|
||||||
if not Enabled:
|
if not Enabled:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user