From 94880cf6e0afd2ba6c9258c77a77b2418e861169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 18 May 2019 03:01:57 +0200 Subject: [PATCH] Moved them to tts folder --- commands/fun/{ => tts}/dectalk.js | 6 +++--- commands/fun/{ => tts}/dectalkvc.js | 6 +++--- commands/fun/{ => tts}/tts.js | 2 +- commands/fun/{ => tts}/ttsvc.js | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) rename commands/fun/{ => tts}/dectalk.js (84%) rename commands/fun/{ => tts}/dectalkvc.js (88%) rename commands/fun/{ => tts}/tts.js (95%) rename commands/fun/{ => tts}/ttsvc.js (96%) diff --git a/commands/fun/dectalk.js b/commands/fun/tts/dectalk.js similarity index 84% rename from commands/fun/dectalk.js rename to commands/fun/tts/dectalk.js index efef44f1..d43519a6 100644 --- a/commands/fun/dectalk.js +++ b/commands/fun/tts/dectalk.js @@ -15,9 +15,9 @@ class dectalkCommand extends Command { } ], description: { - content: 'Generate your text into dectalk', - usage: '', - examples: [''] + content: 'Send a wav of what you wrote into .wav with dectalk', + usage: '[text]', + examples: ['This command is very epic'] } }); } diff --git a/commands/fun/dectalkvc.js b/commands/fun/tts/dectalkvc.js similarity index 88% rename from commands/fun/dectalkvc.js rename to commands/fun/tts/dectalkvc.js index 8835d6cd..d43bb3dc 100644 --- a/commands/fun/dectalkvc.js +++ b/commands/fun/tts/dectalkvc.js @@ -15,9 +15,9 @@ class dectalkvcCommand extends Command { } ], description: { - content: 'Generate your text into dectalk and says it in voice chat', - usage: '', - examples: [''] + content: 'Repeat what you sent in the voice chat you are currently in', + usage: '[text]', + examples: ['This command is very epic'] } }); } diff --git a/commands/fun/tts.js b/commands/fun/tts/tts.js similarity index 95% rename from commands/fun/tts.js rename to commands/fun/tts/tts.js index bb3c71ce..070193a2 100644 --- a/commands/fun/tts.js +++ b/commands/fun/tts/tts.js @@ -1,6 +1,6 @@ const { Command } = require('discord-akairo'); const textToSpeech = require('@google-cloud/text-to-speech'); -const rand = require('../../rand.js'); +const rand = require('../../../rand.js'); const gclient = new textToSpeech.TextToSpeechClient(); const fs = require('fs'); diff --git a/commands/fun/ttsvc.js b/commands/fun/tts/ttsvc.js similarity index 96% rename from commands/fun/ttsvc.js rename to commands/fun/tts/ttsvc.js index c104ba13..29aaa2ef 100644 --- a/commands/fun/ttsvc.js +++ b/commands/fun/tts/ttsvc.js @@ -1,6 +1,6 @@ const { Command } = require('discord-akairo'); const textToSpeech = require('@google-cloud/text-to-speech'); -const rand = require('../../rand.js'); +const rand = require('../../../rand.js'); const gclient = new textToSpeech.TextToSpeechClient(); const fs = require('fs');