Compare commits
2 commits
a86044c7f6
...
62666e2a3f
Author | SHA1 | Date | |
---|---|---|---|
62666e2a3f | |||
427d3449d5 |
2 changed files with 4 additions and 1 deletions
|
@ -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 } });
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue