🩹 Fixed issue #64
This commit is contained in:
parent
b104b1bb0f
commit
c3a08daa92
1 changed files with 124 additions and 129 deletions
|
@ -6,7 +6,6 @@ const saveUser = require('../../../helpers/saveUser');
|
|||
const creditNoun = require('../../../helpers/creditNoun');
|
||||
|
||||
module.exports = async (interaction) => {
|
||||
try {
|
||||
// Get options
|
||||
const user = await interaction.options.getUser('user');
|
||||
const amount = await interaction.options.getInteger('amount');
|
||||
|
@ -137,8 +136,4 @@ module.exports = async (interaction) => {
|
|||
ephemeral: true,
|
||||
});
|
||||
});
|
||||
} catch (e) {
|
||||
// Send debug message
|
||||
await logger.error(e);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue