diff --git a/structure/extensions/Message.js b/structure/extensions/Message.js index 02d2c41..a203af2 100644 --- a/structure/extensions/Message.js +++ b/structure/extensions/Message.js @@ -70,9 +70,11 @@ const Message = Structures.extend('Message', (Message) => { params: this.parameters, args: this.arguments }); + this.command._invokes.success++; if(resolved instanceof Promise) await resolved; return { error: false }; - } catch(error) { + } catch (error) { + this.command._invokes.fail++; return { error: true, message: error }; }