added slash command support

This commit is contained in:
Ashley Rosch
2021-08-20 03:19:57 -05:00
parent bc835922a5
commit e21d5573b1
6 changed files with 75 additions and 7 deletions

View File

@@ -2,12 +2,12 @@ import * as Opt from "../types/Opt";
//array of Opt.Row|Opt.Menu, each one is a message that will be sent/understood
// - types/Opt.d.ts
const InteractionRoles: (Opt.Row|Opt.Menu)[] = [
export const InteractionRoles: (Opt.Row|Opt.Menu)[] = [
{
type: 'menu',
message: 'Pronouns',
palceholder: '',
id: 'rolemenu',
id: 'pronounsmenu',
max: 'all',
options: [
{
@@ -106,7 +106,7 @@ const InteractionRoles: (Opt.Row|Opt.Menu)[] = [
type: 'menu',
message: 'Other Roles',
palceholder: '',
id: 'otherrolesmenu',
id: 'rolesmenu',
max: 'all',
options: [
{
@@ -123,4 +123,4 @@ const InteractionRoles: (Opt.Row|Opt.Menu)[] = [
}
];
export default InteractionRoles;
export const GuildId = '861404201645244416';