(core): Add member name caching.

This commit is contained in:
2022-01-20 12:12:17 +02:00
parent b21224812e
commit 4a67736adc
6 changed files with 68 additions and 8 deletions

View File

@@ -105,8 +105,8 @@ class LionModule(Module):
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.')
# Ensure Lion exists
ctx.alion
# Ensure Lion exists and cached data is up to date
ctx.alion.update_saved_data(ctx.author)
# Start typing
await ctx.ch.trigger_typing()