mod_warn: include issuer in bot-talk
@@ -116,7 +116,7 @@ class ModWarn(commands.Cog):
for idx, warn in enumerate(warns):
issuer = await ctx.get_user(warn.issuer)
value = ""
- if ctx.channel == self.bot.channels['helpers'] or ctx.channel == self.bot.channels['mods'] or ctx.channel == self.bot.channels['mod-logs']:
+ if ctx.channel in {self.bot.channels['helpers'], self.bot.channels['mods'], self.bot.channels['mod-logs'], self.bot.channels['bot-talk']}:
value += f"Issuer: {issuer.name}\n"
value += f"Reason: {warn.reason} "
embed.add_field(name=f"{idx + 1}: {discord.utils.snowflake_time(warn.id).strftime('%Y-%m-%d %H:%M:%S')}", value=value)
