From 74f5fe0ec022325da654c21134fe0dbd02cb6bda Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Thu, 18 Aug 2016 22:49:17 -0500 Subject: [PATCH] Adding a test command to test mini-data classes --- cogs/owner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/owner.py b/cogs/owner.py index 4972e1f..6eccf15 100644 --- a/cogs/owner.py +++ b/cogs/owner.py @@ -22,7 +22,7 @@ class Owner: @commands.command() @commands.check(checks.is_owner) async def testcommand(self, member: discord.Member): - role = [discord.Roles(id="183749087038930944"), discord.Object(id="183749087038930944")] + role = [discord.Role(id="183749087038930944"), discord.Object(id="183749087038930944")] await self.bot.add_roles(member, *roles) await self.bot.say("Just added the roles {} to {}".format(role, member.display_name))