1
0
Fork 0
mirror of synced 2024-06-09 22:24:32 +12:00

Adding a test command to test mini-data classes

This commit is contained in:
Phxntxm 2016-08-18 22:50:32 -05:00
parent d6470a19e8
commit 2c694dbeb9

View file

@ -22,7 +22,7 @@ class Owner:
@commands.command()
@commands.check(checks.is_owner)
async def testcommand(self, member: discord.Member):
role = [discord.Role(id="183749087038930944")]
role = [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))