fix (LionModule): Always pre-fetch lion.

This commit is contained in:
2022-01-14 17:55:32 +02:00
parent 390315e940
commit e220ab9dfd

View File

@@ -105,6 +105,9 @@ class LionModule(Module):
await ctx.reply("I need permission to send embeds in this channel before I can run any commands!") await ctx.reply("I need permission to send embeds in this channel before I can run any commands!")
raise SafeCancellation(details='I cannot send embeds in this channel.') raise SafeCancellation(details='I cannot send embeds in this channel.')
# Ensure Lion exists
ctx.alion
# Start typing # Start typing
await ctx.ch.trigger_typing() await ctx.ch.trigger_typing()