Bugfix: ephemeral in message reply is deprecated
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ module.exports = () => {
|
||||
|
||||
if (!permsChecker.ticket(interaction.user.id,interaction.guild.id,ticketId)){
|
||||
permsChecker.sendUserNoPerms(interaction.user)
|
||||
return interaction.reply({content:":x: "+l.errors.noPermsTitle,ephemeral:true})
|
||||
return interaction.reply({content:":x: "+l.errors.noPermsTitle,flags:["Ephemeral"]})
|
||||
}
|
||||
|
||||
await interaction.deferReply()
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ module.exports = () => {
|
||||
|
||||
if (!permsChecker.ticket(interaction.user.id,interaction.guild.id,ticketId)){
|
||||
permsChecker.sendUserNoPerms(interaction.user)
|
||||
interaction.reply({content:":x: "+l.errors.noPermsTitle,ephemeral:true})
|
||||
interaction.reply({content:":x: "+l.errors.noPermsTitle,flags:["Ephemeral"]})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user