mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: Added more configurable options for user replies
This commit is contained in:
1 parent
ed0091c1b1
commit
65a94ceb6c
5 files changed
+23
-8
No files matched your search
@@ -4,7 +4,7 @@ const logger = require('./services/logger.js');
|
||||
const { EmbedBuilder } = require('discord.js');
|
||||
const { Player, onBeforeCreateStream } = require('discord-player');
|
||||
const { stream } = require('yt-stream');
|
||||
const { embedColors } = require('./config.json');
|
||||
const { embedColors, botInfo } = require('./config.json');
|
||||
require('dotenv').config();
|
||||
|
||||
// Setup required permissions for the bot to work
|
||||
@@ -186,7 +186,7 @@ client.on('interactionCreate', async (interaction) => {
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setDescription(
|
||||
'**Unexpected Error**\nThere was an error while executing this command! Please try again.\n\n_If this issue persists, please submit a bug report in the bot [support server](https://discord.gg/t6Bm8wPpXB)._'
|
||||
`**Unexpected Error**\nThere was an error while executing this command! Please try again.\n\n_If this issue persists, please submit a bug report in the bot [support server](${botInfo.supportServerInviteUrl})._`
|
||||
)
|
||||
.setColor(embedColors.colorError)
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user