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: { description: {
content: 'Generate your text into dectalk', content: 'Send a wav of what you wrote into .wav with dectalk',
usage: '', usage: '[text]',
examples: [''] examples: ['This command is very epic']
} }
}); });
} }

View file

@ -15,9 +15,9 @@ class dectalkvcCommand extends Command {
} }
], ],
description: { description: {
content: 'Generate your text into dectalk and says it in voice chat', content: 'Repeat what you sent in the voice chat you are currently in',
usage: '', usage: '[text]',
examples: [''] examples: ['This command is very epic']
} }
}); });
} }

View file

@ -1,6 +1,6 @@
const { Command } = require('discord-akairo'); const { Command } = require('discord-akairo');
const textToSpeech = require('@google-cloud/text-to-speech'); const textToSpeech = require('@google-cloud/text-to-speech');
const rand = require('../../rand.js'); const rand = require('../../../rand.js');
const gclient = new textToSpeech.TextToSpeechClient(); const gclient = new textToSpeech.TextToSpeechClient();
const fs = require('fs'); const fs = require('fs');

View file

@ -1,6 +1,6 @@
const { Command } = require('discord-akairo'); const { Command } = require('discord-akairo');
const textToSpeech = require('@google-cloud/text-to-speech'); const textToSpeech = require('@google-cloud/text-to-speech');
const rand = require('../../rand.js'); const rand = require('../../../rand.js');
const gclient = new textToSpeech.TextToSpeechClient(); const gclient = new textToSpeech.TextToSpeechClient();
const fs = require('fs'); const fs = require('fs');