Moved them to tts folder

This commit is contained in:
Loïc Bersier 2019-05-18 03:01:57 +02:00
parent 17191852c7
commit 94880cf6e0
4 changed files with 8 additions and 8 deletions

View file

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

View file

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

View file

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

View file

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