Added a roles command, to create roles on the fly
This commit is contained in:
parent
8d6561a440
commit
f138c2a986
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Roles:
|
|||
'hoist': hoist,
|
||||
'mentionable': mentionable
|
||||
}
|
||||
role = await self.bot.create_role(server, payload)
|
||||
role = await self.bot.create_role(server, **payload)
|
||||
await self.bot.say("We did it! You just created the new role {}".format(role.name))
|
||||
|
||||
def setup(bot):
|
||||
|
|
Loading…
Reference in a new issue