Skip to content

Commit

Permalink
Merge pull request #90 from nullabork/betabot
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
wootosmash authored Jun 17, 2020
2 parents de2281e + 9997cf7 commit f2ae3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"en.unfollow": {
"okay": "Goodbye :title",
"okaypester": "Goodbye :title. This bot is growing faster than COVID19 - consider contributing the running costs here so we can upgrade the server: <https://www.patreon.com/talkbot>",
"okaypester": "Goodbye :title. This bot is growing faster than COVID19 - consider contributing to the running costs here so we can upgrade the server: <https://www.patreon.com/talkbot>",
"nope": "Sorry, you're not my :title.",
"none": "I have no :title... would you like to be my :title?",
"shorthelp": "Release the bot",
Expand Down
2 changes: 1 addition & 1 deletion src/services/TextToSpeechService.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class TextToSpeechService {

// get the first provider
static get defaultProvider() {
return TextToSpeechService.providers[Object.keys(TextToSpeechService.providers)[0]];
return TextToSpeechService.providers[Object.keys(TextToSpeechService.providers.filter(x => x.enabled))[0]];
}

static async setupProviders() {
Expand Down

0 comments on commit f2ae3c1

Please sign in to comment.