Updated to use userID instead of user object

This commit is contained in:
officereso 2020-02-23 22:53:26 -06:00
parent 239e94dbfe
commit 739b84bec1

View File

@ -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)