@ -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
@ -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=[])