something like that yeah
This commit is contained in:
@@ -113,6 +113,11 @@ const InteractionRoles: (Opt.Row|Opt.Menu)[] = [
|
|||||||
label: 'Movie Night',
|
label: 'Movie Night',
|
||||||
val: 'movie',
|
val: 'movie',
|
||||||
roleid: '862883242436591617'
|
roleid: '862883242436591617'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Dungeons and Dragons',
|
||||||
|
val: 'dnd',
|
||||||
|
roleid: '872684620666265602'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { MessageActionRow, MessageButton, MessageComponent, MessageMenu, MessageMenuOption } from "discord-buttons";
|
import { MessageActionRow, MessageButton, MessageComponent, MessageMenu, MessageMenuOption } from "discord-buttons";
|
||||||
|
import { Message } from "discord.js";
|
||||||
import { TextChannel } from "discord.js";
|
import { TextChannel } from "discord.js";
|
||||||
import * as Opt from "../types/Opt";
|
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
|
//uncomment if you want to create a message, will change to slash command
|
||||||
/*
|
|
||||||
client.on('message', (m: Message) => {
|
client.on('message', (m: Message) => {
|
||||||
|
|
||||||
if (m.author.id === '167336999844315137' && m.content === '.') {
|
if (m.author.id === '167336999844315137' && m.content === '.') {
|
||||||
@@ -95,7 +96,7 @@ client.on('message', (m: Message) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
|
|
||||||
//on menu click
|
//on menu click
|
||||||
client.on('clickMenu', (menu: MessageComponent) => {
|
client.on('clickMenu', (menu: MessageComponent) => {
|
||||||
|
|||||||
0
rolemanager/run.sh
Normal file → Executable file
0
rolemanager/run.sh
Normal file → Executable file
Reference in New Issue
Block a user