Naposledy aktivní 1700883391

Our clients rules command!

rules.js Raw
1const package = require("../../../../package.json");
2
3module.exports = {
4 name: "rules",
5 category: "Info",
6 description: "Server Rules",
7 userPerms: [""],
8 basePerms: ["ManageGuild"],
9
10 run: async (client) => {
11
12 await client.interaction.reply({
13 ephemeral: true,
14 embeds: [
15 new client.Gateway.EmbedBuilder()
16 .setTitle("Action: create server rules")
17 .setColor(client.colors.warning)
18 .setThumbnail(client.loading)
19 .setDescription("Please wait while i generate the rules embed for you!")
20 .setTimestamp()
21 .setFooter({
22 text: client.footer,
23 iconURL: client.logo,
24 }),
25 ]
26 })
27
28 await client.wait(5000)
29
30 await client.interaction.deleteReply();
31
32 return client.interaction.followUp({
33 embeds: [
34 new client.Gateway.EmbedBuilder()
35 .setTitle("Server Rules")
36 .setColor(client.colors.base)
37 .setDescription(
38 "**Support**\nPlease do not mention/dm members/staff/roles for support anywhere unless they have stated otherwise, you may mention the <@&1138246343412953218> role after you have waited for at least 15 minutes without receiving support in the ⁠<#1134399965150597240>. Violation of this rule will result in a 15 minutes mute.\n\n**Illegal Content & Discord ToS**\nPlease refrain from mentioning or sending anything that is deemed illegal by the law (world wide/European/American laws), also please refrain from mentioning or sending anything that is deemed disallowed by the Discord Terms of Services. Violation of this rule will result in a permanent ban from the server and as addition to that you will be reported to the Discord support team.\n\n**Respect**\nTreat others in this server with respect, everyone here is equal and no one is worth less than another. If you got a problem with someone, either report them to our moderation team or take it to dm's. Violation of this rule will result in a 24 hour ban from the server, violating the rule again afterwards will result in a permanent ban from the server.\n\n**Alt Accounts**\nWe do not allow alt accounts in our server as a way to evade bans or mutes. If they’re being used in a respectful manor to communicate in our server however is totally fine\n\n**Rule Loopholes**\nWe do not appreciate you trying to find ways to work around rules, loopholes will be dealt with heavier than they would have been without the loophole. The moderation team decides what these actions will be.\n\n__We may add new rules, remove existing ones or change existing ones at any given time when we feel necessary. Please check back here regularly to stay up-to-date to the rules.__\n\n• last updated: August 8, 2023",
39 )
40 .setFooter({
41 text: client.footer,
42 iconURL: client.logo,
43 }),
44 ]
45 });
46 },
47};
48