mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 13:24:14 +02:00
refactor(arabot): ran prettier
This commit is contained in:
parent
fe88e9f87b
commit
8f8580398e
@ -146,7 +146,7 @@ export class TrustedCommand extends Command {
|
||||
.send(
|
||||
`You have been given the ${trusted.name} role by ${mod}!` +
|
||||
'\n\nThis role allows you to post attachments to the server and stream in VCs.' +
|
||||
"\nMake sure that you follow the rules, especially by **not** posting anything **NSFW**, and **no animal products or consumption of animal products**." +
|
||||
'\nMake sure that you follow the rules, especially by **not** posting anything **NSFW**, and **no animal products or consumption of animal products**.' +
|
||||
`\n\nNot following these rules will result in the **immediate removal** of the ${trusted.name} role.`,
|
||||
)
|
||||
.catch(() => {});
|
||||
|
@ -148,7 +148,10 @@ export class VerificationLeaveVCListener extends Listener {
|
||||
listTextChannels.forEach((c) => {
|
||||
const textChannel = c as TextChannel;
|
||||
// Checks if the channel topic has the user's snowflake
|
||||
if (textChannel.topic !== null && textChannel.topic.includes(userSnowflake!)) {
|
||||
if (
|
||||
textChannel.topic !== null &&
|
||||
textChannel.topic.includes(userSnowflake!)
|
||||
) {
|
||||
textChannel.delete();
|
||||
}
|
||||
});
|
||||
|
@ -80,7 +80,10 @@ export class VerificationReady extends Listener {
|
||||
const textChannel = c as TextChannel;
|
||||
// Checks if the channel topic has the user's snowflake
|
||||
emptyVC.forEach((snowflake) => {
|
||||
if (textChannel.topic !== null && textChannel.topic.includes(snowflake)) {
|
||||
if (
|
||||
textChannel.topic !== null &&
|
||||
textChannel.topic.includes(snowflake)
|
||||
) {
|
||||
textChannel.delete();
|
||||
}
|
||||
});
|
||||
|
@ -81,7 +81,7 @@ export class TrustedListener extends Listener {
|
||||
await member.user.send(
|
||||
`Hi, you have been given the ${trusted.name} as you have been interacting in ARA for a long enough time!` +
|
||||
'\n\nThis role allows you to post attachments to the server and stream in VCs.' +
|
||||
"\nMake sure that you follow the rules, especially by **not** posting anything **NSFW**, and **no animal products or consumption of animal products**." +
|
||||
'\nMake sure that you follow the rules, especially by **not** posting anything **NSFW**, and **no animal products or consumption of animal products**.' +
|
||||
`\n\nNot following these rules will result in the **immediate removal** of the ${trusted.name} role.`,
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user