From 4feca45f5e31cadf851497edbefee9495261cd42 Mon Sep 17 00:00:00 2001 From: Dylan Dizon Date: Tue, 6 Nov 2018 17:41:01 -0500 Subject: [PATCH] Fix unhashable type list error --- src/cogs/booru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/booru.py b/src/cogs/booru.py index 179f3e0..bf4836b 100644 --- a/src/cogs/booru.py +++ b/src/cogs/booru.py @@ -663,7 +663,7 @@ class MsG: # Creates temp blacklist based on context for bl in (self.blacklists['global_blacklist'], self.blacklists['guild_blacklist'].get(guild.id, {}).get(ctx.channel.id, set()), self.blacklists['user_blacklist'].get(ctx.author.id, set())): for tag in bl: - blacklist.add([tag] + list(self.aliases[tag])) + blacklist.update([tag] + list(self.aliases[tag])) # Checks for, assigns, and removes first order in tags if possible order = [tag for tag in tags if 'order:' in tag] if order: