From 73547699620538f6f28106c2759b6a82cc0d8310 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 4 Jun 2024 12:16:01 -0400 Subject: [PATCH 1/2] fix(emojiinfo): pylint fix --- emojiinfo/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/emojiinfo/model.py b/emojiinfo/model.py index af457d1..cc8a468 100644 --- a/emojiinfo/model.py +++ b/emojiinfo/model.py @@ -81,6 +81,7 @@ class PartialEmoji(discord.PartialEmoji): with open(path, "r", encoding="UTF-8") as file: emojis: dict = json.load(file) emoji_aliases = [] + emoji_group = None for dict_name, group in emojis.items(): for k, v in group.items(): if v == value: From 28f814db564444c672857e1b82e52e3c44ff79fd Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 4 Jun 2024 12:16:09 -0400 Subject: [PATCH 2/2] fix(seautils): pylint fix --- seautils/seautils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seautils/seautils.py b/seautils/seautils.py index 304fd70..3bbf5cf 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -80,6 +80,8 @@ class SeaUtils(commands.Cog): text = self.format_src(type(obj)) elif obj := ctx.bot.get_command(object): text = self.format_src(obj) + else: + raise AttributeError temp_content = cf.pagify( text=cleanup_code(text), escape_mass_mentions=True,