diff --git a/commands/play.js b/commands/play.js index 6e473faa..5a3ece5f 100644 --- a/commands/play.js +++ b/commands/play.js @@ -43,16 +43,6 @@ module.exports = { } catch (err) { console.error(err); if (err.code === 403) { - if (client.config.api_key === client.config.api_key) { - client.config.api_key = client.config.api_key2; - } else if (client.config.api_key === client.config.api_key2) { - client.config.api_key = client.config.api_key3; - } else if (client.config.api_key === client.config.api_key3) { - client.config.api_key = client.config.api_key4; - } - else if (client.config.api_key === client.config.api_key4) { - client.config.api_key = client.config.api_key1; - } return msg.channel.send(client.messages.quotaReached); } return msg.channel.send(client.messages.noResults); diff --git a/struct/config/config.js b/struct/config/config.js index 0a3c1313..e5689f82 100644 --- a/struct/config/config.js +++ b/struct/config/config.js @@ -5,10 +5,6 @@ module.exports = { devToken: process.env.DEVTOKEN, dblKey: process.env.DBLKEY, api_key: process.env.GOOGLE_API_KEY, - api_key1: process.env.GOOGLE_API_KEY, - api_key2: process.env.GOOGLE_API_KEY2, - api_key3: process.env.GOOGLE_API_KEY3, - api_key4: process.env.GOOGLE_API_KEY4, testServer: "489111553321336832", debug_channel: "634718645188034560", primary_test_channel: "617633098296721409", diff --git a/struct/config/messages.js b/struct/config/messages.js index 25668006..378c3ea4 100644 --- a/struct/config/messages.js +++ b/struct/config/messages.js @@ -85,7 +85,7 @@ module.exports = { queueFooter: "songs in the queue!", queueLength: "<:redx:674263474704220182> There are only %SONGS% amount of songs in the queue!", queueTitle: "__Song queue__", - quotaReached: "<:redx:674263474704220182> Could not search for results please try again!", + quotaReached: "<:redx:674263474704220182> Quota reached please try again after midnight Pacific Time (PT)!", reloaded: "All files reloaded!", removed: "🗑️ removed `%SONG%` from the queue!", reset: "<:green_check_mark:674265384777416705> Reset __all__ guild settings!",