From 373358cf49627c97bd100165dbb6664e712ab2fc Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Sun, 15 Nov 2015 14:32:59 +0000 Subject: [PATCH] Fixed update to updateMessage --- lib/Structures/Message.js | 2 +- src/Structures/Message.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Structures/Message.js b/lib/Structures/Message.js index 445ea569e..c1a4ff19d 100644 --- a/lib/Structures/Message.js +++ b/lib/Structures/Message.js @@ -46,7 +46,7 @@ var Message = (function () { }; Message.prototype.update = function update() { - return this.client.update.apply(this.client, reg(this, arguments)); + return this.client.updateMessage.apply(this.client, reg(this, arguments)); }; Message.prototype.reply = function reply() { diff --git a/src/Structures/Message.js b/src/Structures/Message.js index 1b8fbf0e9..893e76731 100644 --- a/src/Structures/Message.js +++ b/src/Structures/Message.js @@ -47,7 +47,7 @@ class Message{ } update(){ - return this.client.update.apply(this.client, reg(this, arguments)); + return this.client.updateMessage.apply(this.client, reg(this, arguments)); } reply(){