From 6d6d71fceb48ede9c9c38f68eb9becb82dc4f485 Mon Sep 17 00:00:00 2001 From: carlos3g Date: Wed, 21 Jul 2021 20:34:00 -0300 Subject: [PATCH] [REFACTOR] removes unnecessary command github --- index.js | 2 -- src/commands/doc.js | 6 ++---- src/commands/github.js | 1 - 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 src/commands/github.js diff --git a/index.js b/index.js index bbd3197..5944ea4 100644 --- a/index.js +++ b/index.js @@ -11,8 +11,6 @@ const alice = new Alice([ path.create('src/commands/cron', 'cron'), path.create('src/commands/dice', 'dice'), path.create('src/commands/doc', 'doc'), - path.create('src/commands/doc', 'help'), - path.create('src/commands/github', 'github'), path.create('src/commands/links', 'links'), path.create('src/commands/lyric', 'lyric'), path.create('src/commands/report', 'report'), diff --git a/src/commands/doc.js b/src/commands/doc.js index d6bd016..df96bfb 100644 --- a/src/commands/doc.js +++ b/src/commands/doc.js @@ -3,6 +3,8 @@ const strings = { Alice foi criada utilizando a biblioteca \`\`\`whatsapp-web.js\`\`\` como base sob licença Apache 2.0. Saiba mais em _https://github.com/pedroslopez/whatsapp-web.js_ Quer a documentação de um comando especifico? Use o comando \`\`\`!doc\`\`\` com a flag de seu nome, ex: \`\`\`!doc --lyric\`\`\`. Se não conhece os comandos, use \`\`\`!commands\`\`\` + +_Quer contribuir? Então dá uma olhada em https://github.com/Coding-in-community/alice_ `, bot: ` comando: *!bot* @@ -25,10 +27,6 @@ descrição: lanca um dado de rpg e retorna seu valor doc: ` comando: *!doc* descrição: documentação do bot -`, - github: ` -comando: *!github* -descrição: link da ultima versão estável do sistema `, links: ` comando: *!links* diff --git a/src/commands/github.js b/src/commands/github.js deleted file mode 100644 index 934d944..0000000 --- a/src/commands/github.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = () => 'https://github.com/Coding-in-community/alice';