fix: Added more configurable options for user replies

This commit is contained in:
Marius Begby committed 2023-07-14 09:27:15 +02:00
1 parent ed0091c1b1
commit 65a94ceb6c
5 files changed
+23 -8

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ const {
} = require('discord.js');
const {
embedColors,
embedIcons,
filterList,
filterThreadAmount
} = require('../config.json');
@@ -86,7 +87,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**Toggle filters** (beta)\nToggle or disable audio filters for playback.'
`**Toggle filters** ${embedIcons.beta}\nToggle or disable audio filters for playback.`
)
.setColor(embedColors.colorInfo)
],
+5 -3
View File
@@ -1,6 +1,6 @@
const { SlashCommandBuilder } = require('@discordjs/builders');
const { EmbedBuilder } = require('discord.js');
const { embedColors } = require('../config.json');
const { embedColors, embedIcons, botInfo } = require('../config.json');
module.exports = {
data: new SlashCommandBuilder()
@@ -12,7 +12,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**List of commands**\n' +
`${embedIcons.rule} **List of commands**\n` +
'`/help` - Show this menu.\n' +
'`/play` `query` - Add a track or playlist to the queue by searching or url.\n' +
'`/pause` - Pause or resume the current track.\n' +
@@ -22,7 +22,9 @@ module.exports = {
'`/volume` `[percentage]` - Show or set the playback volume for tracks.\n' +
'`/skip` `[trackNumber]` - Skip the current track.\n' +
'`/remove` `trackNumber` - Remove a specific track from the queue.\n' +
'`/leave` - Remove bot from voice channel and clear the queue.\n'
'`/leave` - Remove bot from voice channel and clear the queue.\n\n' +
`${embedIcons.support} **Support server**\nJoin the support server for help or suggestions: \n${botInfo.supportServerInviteUrl}\n\n` +
`${embedIcons.bot} **Invite the bot**\nAdd me to another server: \n[Click me!](${botInfo.botInviteUrl})`
)
.setColor(embedColors.colorInfo)
]
+2 -2
View File
@@ -1,7 +1,7 @@
const { SlashCommandBuilder } = require('@discordjs/builders');
const { useMainPlayer, useQueue } = require('discord-player');
const { EmbedBuilder } = require('discord.js');
const { embedColors, playerOptions } = require('../config.json');
const { embedColors, playerOptions, botInfo } = require('../config.json');
module.exports = {
data: new SlashCommandBuilder()
@@ -57,7 +57,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**Unsupported Source**\nThis audio source is a YouTube live stream, which is currently not a supported format.\n\n_If you think that this is incorrect, please submit a bug report in the bot [support server](https://discord.gg/t6Bm8wPpXB)._'
`**Unsupported Source**\nThis audio source is a YouTube live stream, which is currently not a supported format.\n\n_If you think that this is incorrect, please submit a bug report in the bot [support server](${botInfo.supportServerInviteUrl})._`
)
.setColor(embedColors.colorWarning)
]