Removed debug echo commands from modules

This commit is contained in:
Lexi Sother 2021-04-02 21:50:42 +02:00
parent 5e51e3273f
commit 09c90df792
No known key found for this signature in database
GPG Key ID: 355968D14144B739
2 changed files with 1 additions and 36 deletions

View File

@ -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');
},
},
};

View File

@ -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');
},
},