1
0
Fork 0
mirror of synced 2024-06-13 16:14:33 +12:00

Adding a test command to test mini-data classes

This commit is contained in:
Phxntxm 2016-08-18 22:50:11 -05:00
parent 74f5fe0ec0
commit d6470a19e8

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"), discord.Object(id="183749087038930944")]
role = [discord.Role(id="183749087038930944")]
await self.bot.add_roles(member, *roles)
await self.bot.say("Just added the roles {} to {}".format(role, member.display_name))