mirror of
https://github.com/idanoo/discord-keyword-bot.git
synced 2024-11-21 16:11:52 +00:00
Resolve undefined
This commit is contained in:
parent
e3a04222e5
commit
001e3faa19
2
bot.py
2
bot.py
@ -9,7 +9,7 @@ from dotenv import load_dotenv
|
||||
class DiscordKeywordBot(discord.Client):
|
||||
CACHE_TTL = 900
|
||||
CACHE_DICT = {}
|
||||
CACHE_NEXT_PURGE = int(time.time()) + (DiscordKeywordBot.CACHE_TTL * 2)
|
||||
CACHE_NEXT_PURGE = int(time.time()) + 1800
|
||||
|
||||
async def on_ready(self):
|
||||
print('Logged on as', self.user)
|
||||
|
Loading…
Reference in New Issue
Block a user