aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcogs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py
index c02ebda..68567f0 100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
@@ -25,7 +25,7 @@ def set_viewport_size(driver, width, height):
driver.set_window_size(*window_size)
async def reportStuff(self, ctx, message):
- channel = self.bot.get_channel(self.bot.config[str(ctx.message.guild.id)]["report_channel"])
+ channel = self.bot.get_channel(int(self.bot.config[str(ctx.message.guild.id)]["report_channel"]))
embed = discord.Embed(
title=f"Report from {ctx.message.author}",