Replace ephemeral option with flag in replies.

This commit is contained in:
Christer Warén
2025-02-23 12:57:01 +02:00
parent 9a681bde9e
commit 6ac3f83bb1
13 changed files with 39 additions and 39 deletions

View File

@ -16,7 +16,7 @@ export default {
if(client.config.maintenanceMode){
return interaction.reply({
content: client.messages.emojis["error"] + client.messages.maintenance,
ephemeral: true
flags: 'Ephemeral'
});
}
@ -25,7 +25,7 @@ export default {
content: client.messages.emojis["error"] + client.messages.replace(client.messages.errorToGetPlaylist, {
"%client.config.supportGuild%": client.config.supportGuild
}),
ephemeral: true
flags: 'Ephemeral'
});
}
@ -36,7 +36,7 @@ export default {
if(!station) return interaction.reply({
content: client.messages.emojis["error"] + client.messages.noSearchResults,
ephemeral: true
flags: 'Ephemeral'
});
client.statistics?.update(client, interaction.guild, radio);