fix worldcoud data deletion leaving cached words behind

This commit is contained in:
leander committed 2026-10-24 03:27:18 +02:00
1 parent 81fc0bfc49
commit 2fab06ce46
1 file changed
+1 -1
+1 -1
View File
@@ -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(