mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-11-03 16:01:24 +01:00
refactor(arabot): change wording
This commit is contained in:
parent
e57fa26f6b
commit
f8a120b135
@ -51,15 +51,16 @@ export class NonVeganAccessReady extends Listener {
|
|||||||
const messages = await roles.messages.fetch();
|
const messages = await roles.messages.fetch();
|
||||||
const message = messages.first();
|
const message = messages.first();
|
||||||
|
|
||||||
const content = 'If you\'re vegan want your access removed/added back to the non vegan sections'
|
const content = '**Change access to non-vegan section of the server:**\n\n'
|
||||||
+ 'press the button bellow to gain/remove access to the non vegan sections.';
|
+ 'If you\'re vegan and want your access removed/added back to the non vegan sections, '
|
||||||
|
+ 'press the button bellow to remove/gain access to the non vegan sections.';
|
||||||
|
|
||||||
const button = new ActionRowBuilder<ButtonBuilder>()
|
const button = new ActionRowBuilder<ButtonBuilder>()
|
||||||
.addComponents(
|
.addComponents(
|
||||||
new ButtonBuilder()
|
new ButtonBuilder()
|
||||||
.setCustomId('nvAccess')
|
.setCustomId('nvAccess')
|
||||||
.setLabel('Non Vegan Access')
|
.setLabel('Non Vegan Access')
|
||||||
.setStyle(ButtonStyle.Secondary),
|
.setStyle(ButtonStyle.Primary),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (message?.author.id !== botId) {
|
if (message?.author.id !== botId) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user