This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
- Fixed issue with number arguments
- Added ability to use object components instead of class components:
module.exports = {
name: 'test',
type: ComponentType.BUTTON,
run: async (interaction, args) => {
console.log(args);
return await interaction.reply('Hello!');
},
};