minor file changes
This commit is contained in:
parent
93922cca75
commit
61798a6067
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
const { SlashCommandBuilder, codeBlock } = require('@discordjs/builders');
|
const { SlashCommandBuilder, codeBlock } = require('@discordjs/builders');
|
||||||
|
const { userMention } = require("@discordjs/builders");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'interactionCreate',
|
name: 'interactionCreate',
|
||||||
async execute(interaction) {
|
async execute(interaction) {
|
||||||
if(interaction.isButton()){
|
|
||||||
console.log(interaction);
|
|
||||||
interaction.reply({ content: `${interaction.user.tag} clicked me`, ephemeral : true });
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (!interaction.isCommand()) return;
|
if (!interaction.isCommand()) return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user