Update welcome message wordage/design, update join/leave button order

This commit is contained in:
Ean Milligan (Bastion) 2023-04-07 00:47:54 -04:00
parent 0a4c622dfe
commit 025d1cb4c1
2 changed files with 17 additions and 5 deletions

View File

@ -112,16 +112,16 @@ export const generateLFGButtons = (whitelist: boolean): [ButtonComponent, Button
label: `${whitelist ? 'Request to ' : ''}Join`,
style: ButtonStyles.Success,
customId: `joinEvent${whitelist ? idSeparator : ''}`, // TODO: replace with proper id
}, {
type: MessageComponentTypes.Button,
label: `Join as Alternate`,
style: ButtonStyles.Primary,
customId: 'alternateEvent', // TODO: replace with proper id
}, {
type: MessageComponentTypes.Button,
label: 'Leave',
style: ButtonStyles.Danger,
customId: 'leaveEvent', // TODO: replace with proper id
}, {
type: MessageComponentTypes.Button,
label: `Join as Alternate`,
style: ButtonStyles.Primary,
customId: 'alternateEvent', // TODO: replace with proper id
}, {
type: MessageComponentTypes.Button,
label: '',

View File

@ -88,6 +88,18 @@ const execute = async (bot: Bot, interaction: Interaction) => {
let logChannelErrorOut = false;
let mgrRoleErrorOut = false;
const introFields: Array<DiscordEmbedField> = [{
name: 'Joining Events:',
value:
'To join an event, simply click on the `Join` or `Request to Join` button. If you try to join a full event, you will be placed in the Alternates column with an `*` next to your name. Members with an `*` next to their name will automatically get promoted to the Joined list if someone leaves the event.',
}, {
name: 'Leaving Events:',
value: 'To leave an event, simply click on the `Leave` button.',
inline: true,
}, {
name: 'Joining Events as an Alternate:',
value: 'To join as a backup or indicate you might be available, simply click on the `Join as Alternate` button.',
inline: true,
}, {
name: 'Editing/Deleting your event:',
value: 'To edit or delete your event, simply click on the ✏️ or 🗑️ buttons respectively.',
}];