leaguefacts
This commit is contained in:
parent
3b9f9d58a6
commit
25a347cd88
2
bot.py
2
bot.py
@ -71,7 +71,7 @@ class BotClient(discord.Client):
|
|||||||
_update_db()
|
_update_db()
|
||||||
|
|
||||||
def is_leaguefact(self, message: discord.Message) -> bool:
|
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):
|
async def on_leaguefact(self, message: discord.Message):
|
||||||
_log.info("leaguefact requested")
|
_log.info("leaguefact requested")
|
||||||
|
Loading…
Reference in New Issue
Block a user