Archived
added deleteReply
This commit is contained in:
1 parent
4c7e295f12
commit
7c99ce833f
1 file changed
+2
@@ -154,6 +154,8 @@ export class Command {
|
||||
await interaction.editReply({ embeds: [fnResult] });
|
||||
} else if (this.announceSuccess) {
|
||||
throw new OperationSuccess(this);
|
||||
} else if (interaction instanceof CommandInteraction) {
|
||||
await interaction.deleteReply();
|
||||
}
|
||||
} else {
|
||||
throw new PermissionsError(
|
||||
|
||||
Reference in new issue
Block a user