leaguefacts

This commit is contained in:
xeals 2023-04-15 11:44:39 +10:00
parent 3b9f9d58a6
commit 25a347cd88
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

2
bot.py
View File

@ -71,7 +71,7 @@ class BotClient(discord.Client):
_update_db()
def is_leaguefact(self, message: discord.Message) -> bool:
return message.content.lower() == "leaguefacts"
return message.content.lower() in ["leaguefact", "leaguefacts"]
async def on_leaguefact(self, message: discord.Message):
_log.info("leaguefact requested")