Fixed a "slight" mistake

This commit is contained in:
Fierelier 2020-11-24 16:46:29 +01:00
parent 05bd0764e2
commit 948bea7ee1
1 changed files with 2 additions and 2 deletions

View File

@ -552,7 +552,7 @@ def discordClient(token):
setLastMessageTime(channel,newTime)
continue
async for message in history(limit=100,before=newTime,after=oldTime):
async for message in channel.history(limit=100,before=newTime,after=oldTime):
guiLock.acquire()
for gui in openGuis:
if gui.type == "channel":
@ -582,7 +582,7 @@ def discordClient(token):
setLastMessageTime(channel,newTime)
continue
async for message in history(limit=100,before=newTime,after=oldTime):
async for message in channel.history(limit=100,before=newTime,after=oldTime):
guiLock.acquire()
for gui in openGuis:
if gui.type == "channel":