mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
fix worldcoud data deletion leaving cached words behind
This commit is contained in:
1 parent
81fc0bfc49
commit
2fab06ce46
1 file changed
+1
-1
@@ -315,7 +315,7 @@ class WordCloud(commands.Cog):
|
||||
embed=embed_templates.error_warning(self.MSG_NO_DATA), ephemeral=False
|
||||
)
|
||||
|
||||
self.word_freq_cache.pop(f"{interaction.user.id}", None)
|
||||
self.word_freq_cache.pop(interaction.user.id, None)
|
||||
|
||||
try:
|
||||
self.cursor.execute(
|
||||
|
||||
Reference in new issue
Block a user