mirror of
https://github.com/NovaGM/Modules.git
synced 2024-08-14 22:47:01 +00:00
Removed debug echo commands from modules
This commit is contained in:
parent
5e51e3273f
commit
09c90df792
2 changed files with 1 additions and 36 deletions
|
@ -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');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -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');
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue