aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorThomas Voss <57815710+Mango0x45@users.noreply.github.com>2020-08-07 00:47:00 +0000
committerGitHub <noreply@github.com>2020-08-07 00:47:00 +0000
commit499e178fdfc142ac1352944ee51ab28cf94cfd15 (patch)
tree54f844ffeb631612b2a1034902f31f90c83fe50b /cogs
parent38dd201a4011b1d2cb38b21252fb6c0d77651c1e (diff)
downloadsteve-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 'cogs')
-rwxr-xr-xcogs/admin.py2
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):