From 1e2d4f0d1cd657262d4ab3d9be709eef7c8b6524 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sat, 30 Jun 2018 18:57:42 -0700 Subject: [PATCH] [V3 Chatchart] No chatchart in DMs --- chatchart/chatchart.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index 8ab4a1e..5855cf8 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -45,6 +45,7 @@ class Chatchart: image_object.seek(0) return image_object + @commands.guild_only() @commands.command() @commands.cooldown(1, 10, commands.BucketType.channel) async def chatchart(self, ctx, channel: discord.TextChannel=None, messages=5000):