something like that yeah
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { MessageActionRow, MessageButton, MessageComponent, MessageMenu, MessageMenuOption } from "discord-buttons";
|
||||
import { Message } from "discord.js";
|
||||
import { TextChannel } from "discord.js";
|
||||
import * as Opt from "../types/Opt";
|
||||
|
||||
@@ -76,7 +77,7 @@ function sendRow(c: TextChannel, rowOpts: Opt.Row) {
|
||||
}
|
||||
|
||||
//uncomment if you want to create a message, will change to slash command
|
||||
/*
|
||||
|
||||
client.on('message', (m: Message) => {
|
||||
|
||||
if (m.author.id === '167336999844315137' && m.content === '.') {
|
||||
@@ -95,7 +96,7 @@ client.on('message', (m: Message) => {
|
||||
}
|
||||
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
//on menu click
|
||||
client.on('clickMenu', (menu: MessageComponent) => {
|
||||
|
||||
Reference in New Issue
Block a user