From 74910a490b59374b4cdf5b9a4b6cfcf8f526c7eb Mon Sep 17 00:00:00 2001 From: Twentysix26 Date: Wed, 19 Jul 2017 11:30:40 +0200 Subject: [PATCH] [Core] Fixed [p]set owner --- core/core_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core_commands.py b/core/core_commands.py index 7a889fd98..a9e82930f 100644 --- a/core/core_commands.py +++ b/core/core_commands.py @@ -277,7 +277,7 @@ class Core: if message.content.strip() == token: self.owner.reset_cooldown(ctx) await ctx.bot.db.set("owner", ctx.author.id) - ctx.bot.author_id = ctx.author.id + ctx.bot.owner_id = ctx.author.id await ctx.send("You have been set as owner.") else: await ctx.send("Invalid token.")