diff --git a/announcedaily/announcedaily.py b/announcedaily/announcedaily.py index 26d3f60..a6b5c81 100644 --- a/announcedaily/announcedaily.py +++ b/announcedaily/announcedaily.py @@ -97,7 +97,7 @@ class AnnounceDaily(Cog): if ctx.message.attachments: att_ = ctx.message.attachments[0] try: - h = att_.height + att_.height except AttributeError: await ctx.send("You must attach an image, no other file will be accepted") return diff --git a/flag/flag.py b/flag/flag.py index 94269bf..2751d33 100644 --- a/flag/flag.py +++ b/flag/flag.py @@ -173,7 +173,7 @@ class Flag(Cog): async def _check_flags(self, guild: discord.Guild): """Updates and removes expired flags""" flag_data = await self.config.guild(guild).flags() - flag_d = {} + # flag_d = {} for memberid, flags in flag_data.items(): # for member in guild.members: # flags = await self.config.guild(guild).flags.get_raw(str(member.id), default=[])