From 09c90df7927c192b6fd6d690259a536315549e41 Mon Sep 17 00:00:00 2001 From: Lexi Sother Date: Fri, 2 Apr 2021 21:50:42 +0200 Subject: [PATCH] Removed debug echo commands from modules --- D.JS-Docs/index.js | 19 +------------------ SnowflakeInfo/index.js | 18 ------------------ 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/D.JS-Docs/index.js b/D.JS-Docs/index.js index 169a8eb..ba9882e 100644 --- a/D.JS-Docs/index.js +++ b/D.JS-Docs/index.js @@ -20,23 +20,6 @@ const get = (url, callback) => { export default { goosemodHandlers: { onImport: () => { - commands.add( - 'echo', - "Prints out all of the message's text in an internal message.", - (args) => { - internalMessage(args.text[0].text); - console.log(args); - }, - [ - { - type: 3, - name: 'text', - description: 'Text to be printed in an internal message.', - required: true, - }, - ], - ); - commands.add( 'docs', 'Sends documentation about the specified query.', @@ -55,7 +38,7 @@ export default { ); }, onRemove: () => { - commands.remove('echo'); + commands.remove('docs'); }, }, }; diff --git a/SnowflakeInfo/index.js b/SnowflakeInfo/index.js index a486704..3ff72c0 100644 --- a/SnowflakeInfo/index.js +++ b/SnowflakeInfo/index.js @@ -24,23 +24,6 @@ const idToBinary = (num) => { export default { goosemodHandlers: { onImport: () => { - commands.add( - 'echo', - "Prints out all of the message's text in an internal message.", - (args) => { - internalMessage(args.text[0].text); - console.log(args); - }, - [ - { - type: 3, - name: 'text', - description: 'Text to be printed in an internal message.', - required: true, - }, - ], - ); - commands.add( 'snowflake', 'Returns info about a given snowflake.', @@ -80,7 +63,6 @@ export default { ); }, onRemove: () => { - commands.remove('echo'); commands.remove('snowflake'); }, },