mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-11-11 07:13:37 -05:00
(modals): Implement open-ticket-modal modal.
This commit is contained in:
@@ -32,7 +32,7 @@ class EditKnowledgebaseItemModal implements Modal<Client> {
|
||||
});
|
||||
|
||||
await Database.editKnowledgebaseItem(id, content);
|
||||
await interaction.editReply(`\`${existing.name}\` has been edited.`);
|
||||
await interaction.editReply({ content: `\`${existing.name}\` has been edited.` });
|
||||
} catch (error: Error | any) {
|
||||
await interaction.editReply({ content: error.message }).catch(() => {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user