From ee3d2d90f11197367e2f6e7519a144f98d131056 Mon Sep 17 00:00:00 2001 From: bobloy Date: Wed, 19 Sep 2018 15:28:38 -0400 Subject: [PATCH] modernize --- ccrole/ccrole.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccrole/ccrole.py b/ccrole/ccrole.py index a92ef2d..de32618 100644 --- a/ccrole/ccrole.py +++ b/ccrole/ccrole.py @@ -23,7 +23,8 @@ class CCRole: self.config.register_guild(**default_guild) - @commands.group(no_pm=True) + @commands.guild_only() + @commands.group() async def ccrole(self, ctx): """Custom commands management with roles