added slash command support
This commit is contained in:
@@ -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';
|
||||
Reference in New Issue
Block a user