🩹 Fixed issue #64

This commit is contained in:
Axel Olausson Holtenäs 2022-03-17 20:19:03 +01:00
parent b104b1bb0f
commit c3a08daa92
No known key found for this signature in database
GPG key ID: E3AE7E194AE017ED

View file

@ -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);
}
};