feat: variable skilled bot username

This commit is contained in:
TresAbhi committed 2023-04-28 13:52:31 +00:00
1 parent a3b2a34d7f
commit 8749c21010
5 files changed
+15 -10

No files matched your search

+5 -2
View File
@@ -6,6 +6,7 @@ import {
publicCommands,
} from '../behaviors/interactionCreate.js';
import { SKILLED_COLOR } from '../constants/colors.js';
import { client } from '../index.js';
export default {
inProduction: true,
@@ -20,10 +21,12 @@ export default {
await interaction.reply({
embeds: [
new EmbedBuilder()
.setTitle('Skilled Bot help')
.setTitle(`${client.user?.username} help`)
.setColor(SKILLED_COLOR)
.setDescription(
`**About**\nSkilled Bot automates many mundane tasks and provide statistics in numerous flexible ways.\n\nMade by TresAbhi from the Skilled [SKLLD] clan.\nGitHub: https://github.com/sklld/bot\nSkilled: https://discord.gg/ZPvcEG7DS8\n\n**Commands**\n${(interaction.guildId ===
`**About**\n${
client.user?.username
} automates many mundane tasks and provide statistics in numerous flexible ways.\n\nMade by TresAbhi from the Skilled [SKLLD] clan.\nGitHub: https://github.com/sklld/bot\nSkilled: https://discord.gg/ZPvcEG7DS8\n\n**Commands**\n${(interaction.guildId ===
discord.guild_id
? [...guildCommands, ...publicCommands]
: publicCommands