From f0f3a4171adab8a666da4f205c80fd9932c420ce Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sat, 30 Jun 2018 18:57:07 -0700 Subject: [PATCH] [V2 Chatchart] No chatchart in DMs --- chatchart/chatchart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index e15e4b4..a150e72 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -45,7 +45,7 @@ class ChatChart: image_object.seek(0) return image_object - @commands.command(pass_context=True) + @commands.command(pass_context=True, no_pm=True) @commands.cooldown(1, 10, commands.BucketType.channel) async def chatchart(self, ctx, channel: discord.Channel=None): """