Compare commits

..

2 commits

2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,8 @@ export default {
.setName('optout') .setName('optout')
.setDescription('Opt out of the non commands features and arguments logging (for debugging purposes)'), .setDescription('Opt out of the non commands features and arguments logging (for debugging purposes)'),
category: 'utility', category: 'utility',
integration_types: [0, 1],
async execute(interaction, args, client) { async execute(interaction, args, client) {
const isOptOut = await db.optout.findOne({ where: { userID: interaction.user.id } }); const isOptOut = await db.optout.findOne({ where: { userID: interaction.user.id } });

View file

@ -5,8 +5,9 @@ export default {
.setName('ping') .setName('ping')
.setDescription('Replies with Pong!'), .setDescription('Replies with Pong!'),
category: 'utility', category: 'utility',
async execute(interaction) { integration_types: [0, 1],
async execute(interaction) {
const row = new ActionRowBuilder() const row = new ActionRowBuilder()
.addComponents( .addComponents(
new ButtonBuilder() new ButtonBuilder()