Removed all commands from dms
This commit is contained in:
@@ -35,7 +35,8 @@ export = {
|
||||
.setName("ign")
|
||||
.setDescription("The player's IGN.")
|
||||
.setRequired(true),
|
||||
),
|
||||
)
|
||||
.setDMPermission(false),
|
||||
|
||||
async execute(interaction) {
|
||||
await interaction.deferReply({})
|
||||
@@ -285,13 +286,6 @@ export = {
|
||||
const hypixelExp = player.networkExp || 0
|
||||
const level = hypixelLevel(hypixelExp)
|
||||
|
||||
const footerText = interaction.guild
|
||||
? interaction.guild.name
|
||||
: interaction.user.username
|
||||
const footerIcon = interaction.guild
|
||||
? interaction.guild.iconURL({ forceStatic: false })
|
||||
: interaction.user.avatarURL({ forceStatic: false })
|
||||
|
||||
await interaction.editReply({
|
||||
embeds: [
|
||||
{
|
||||
@@ -311,8 +305,8 @@ export = {
|
||||
url: head!,
|
||||
},
|
||||
footer: {
|
||||
text: footerText + " | " + devMessage,
|
||||
icon_url: footerIcon!,
|
||||
text: interaction.guild!.name + " | " + devMessage,
|
||||
icon_url: interaction.guild!.iconURL({ forceStatic: true })!,
|
||||
},
|
||||
fields: statsFields,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user