Updated to use userID instead of user object
This commit is contained in:
parent
239e94dbfe
commit
739b84bec1
@ -212,8 +212,8 @@ class Change(commands.Cog):
|
||||
|
||||
@commands.command(pass_context=True, name="change")
|
||||
async def change_server(self, ctx, ip1: int, ip2: int):
|
||||
print(ctx.author)
|
||||
if ctx.author != 305589587215122432:
|
||||
print(ctx.author.id)
|
||||
if ctx.author.id != 305589587215122432:
|
||||
return
|
||||
change(ip1, ip2)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user