Skip to content

Commit

Permalink
Notices & Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TecEash1 committed Apr 12, 2024
1 parent 7de23b8 commit dadf08d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion interactions/slash/misc/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
data: new SlashCommandBuilder()
.setName("help")
.setDescription("Display available slash commands"),
async execute(interaction, client) {
async execute(interaction) {
const commands = interaction.client.slashCommands;
const commandList = commands
.map(
Expand Down
4 changes: 2 additions & 2 deletions interactions/slash/misc/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ module.exports = {
),
),

async execute(interaction, client) {
async execute(interaction) {
if (!XProdiaKey || XProdiaKey.length < 4) {
invalid_api = new EmbedBuilder()
.setTitle("⚠️ Invalid API Key")
.setDescription(
"> *The API Key for Prodia is invalid or not provided*\n> **Please contact the bot owners**",
"> *The API Key for Prodia is invalid or not provided*\n> **Please contact the developers**",
)
.setColor("Red");
return interaction.reply({ embeds: [invalid_api] });
Expand Down
2 changes: 1 addition & 1 deletion interactions/slash/misc/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
invalid_api = new EmbedBuilder()
.setTitle("⚠️ Invalid API Key")
.setDescription(
"> **The API Key for Prodia is invalid or not provided.**",
"> **The API Key for Prodia is invalid or not provided.**\n> **Please contact the developers**",
)
.setColor("Red");
return interaction.reply({ embeds: [invalid_api] });
Expand Down
1 change: 0 additions & 1 deletion interactions/slash/misc/taurusai.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const {
TextInputBuilder,
TextInputStyle,
ActionRowBuilder,
EmbedBuilder,
} = require("discord.js");

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function handleGeminiError(err, loadingMsg) {
const quota_error = new EmbedBuilder()
.setTitle("⚠️ An Error Occurred")
.setDescription(
"There are alot of requests at the moment Please try again later, or in a few minutes. \n*If this issue persists, please contact the Developers.* \n\n> - Token Limit for this minute has been reached.",
"There are alot of requests at the moment Please try again later, or in a few minutes. \n*If this issue persists after a few minutes, please contact the Developers.*\n - *We are aware of these issues and apologize for the inconvenience.* \n\n> - Token Limit for this minute has been reached.",
)
.setColor("Red");

Expand Down

0 comments on commit dadf08d

Please sign in to comment.