something like that yeah

This commit is contained in:
Ashley Rosch
2021-08-04 22:53:43 -05:00
parent fb1ed3d46e
commit bb4c2e1ce4
3 changed files with 8 additions and 2 deletions

View File

@@ -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) => {