Add functionality to create transactions
- Transactions work against the account balance - Needs helper functions for users - Needs more testing
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = {
|
||||
await authorizeCommand(interaction, command, async () => {
|
||||
await authorizeTokenUsage(interaction, command, async () => {
|
||||
try {
|
||||
if (command.deferInitialReply) await interaction.deferReply({ ephemeral: true });
|
||||
if (command.deferInitialReply || !interaction.options.getBool('public')) await interaction.deferReply({ ephemeral: true });
|
||||
command.execute(interaction);
|
||||
} catch (error) {
|
||||
log.ERROR(error);
|
||||
|
||||
Reference in New Issue
Block a user