mirror of
https://github.com/idanoo/discord-keyword-bot
synced 2025-07-01 21:52:16 +00:00
Resolve undefined
This commit is contained in:
parent
e3a04222e5
commit
001e3faa19
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -9,7 +9,7 @@ from dotenv import load_dotenv
|
||||||
class DiscordKeywordBot(discord.Client):
|
class DiscordKeywordBot(discord.Client):
|
||||||
CACHE_TTL = 900
|
CACHE_TTL = 900
|
||||||
CACHE_DICT = {}
|
CACHE_DICT = {}
|
||||||
CACHE_NEXT_PURGE = int(time.time()) + (DiscordKeywordBot.CACHE_TTL * 2)
|
CACHE_NEXT_PURGE = int(time.time()) + 1800
|
||||||
|
|
||||||
async def on_ready(self):
|
async def on_ready(self):
|
||||||
print('Logged on as', self.user)
|
print('Logged on as', self.user)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue