Moved them to tts folder

merge-requests/3/head
Loïc Bersier 5 years ago
parent 17191852c7
commit 94880cf6e0

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

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

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

@ -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');
Loading…
Cancel
Save