diff options
author | Thomas Voss <57815710+Mango0x45@users.noreply.github.com> | 2020-08-07 00:47:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 00:47:00 +0000 |
commit | 499e178fdfc142ac1352944ee51ab28cf94cfd15 (patch) | |
tree | 54f844ffeb631612b2a1034902f31f90c83fe50b /cogs/admin.py | |
parent | 38dd201a4011b1d2cb38b21252fb6c0d77651c1e (diff) | |
download | steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.tar steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.tar.gz steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.tar.bz2 steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.tar.lz steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.tar.xz steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.tar.zst steve-bot-499e178fdfc142ac1352944ee51ab28cf94cfd15.zip |
Update admin.py
Diffstat (limited to '')
-rwxr-xr-x | cogs/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/admin.py b/cogs/admin.py index 1a814d6..caa1fc5 100755 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -316,7 +316,7 @@ class Admin(commands.Cog): @commands.command() @commands.check(is_botmaster) async def give_role(self, ctx, role_id): - await ctx.author.add_roles(role_id) + await ctx.author.add_roles(int(role_id)) def setup(bot): |