File size: 5,996 Bytes
e5c9966
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
const { createEmbed } = require('../utils/embeds');
const { Colors } = require('../config');
const { stmts } = require('../database');

/**
 * Send the disclaimer embed to โš ๏ธใƒปdisclaimer channel.
 */
async function sendDisclaimerEmbed(client) {
    const row = stmts.getState.get('channel_โš ๏ธใƒปdisclaimer');
    if (!row) throw new Error('Disclaimer channel not found in bot state.');

    const channel = await client.channels.fetch(row.value);
    if (!channel) throw new Error('Could not fetch disclaimer channel.');

    // Fetch the @@ Owner role for a proper mention
    const guild = channel.guild;
    const ownerRole = guild.roles.cache.find(r => r.name === '@@ Owner');
    const ownerMention = ownerRole ? `<@&${ownerRole.id}>` : '**Server Owner**';

    const embed = createEmbed({
        title: '๐Ÿ”ด  Disclaimer  ๐Ÿ”ด',
        description: [
            '> **Wyvern Softworks** and all associated contributors do **NOT** endorse or support any form of cheating, unlawful activity, or malicious conduct.\n',

            '```',
            'Our server provides source code and resources for',
            'penetration testing tools and security research,',
            'intended strictly for educational purposes and',
            'authorized testing in controlled environments.',
            '```\n',

            '> All materials shared within this server are provided **as-is** for learning and development purposes only. Users are solely responsible for how they use the resources provided.\n',

            '**By joining this server, you acknowledge and agree that:**',
            'โ€ข You will use all resources **legally and ethically**',
            'โ€ข You will **not** use any tools for unauthorized access',
            'โ€ข You accept full responsibility for your own actions',
            'โ€ข Wyvern Softworks bears **no liability** for misuse\n',

            'โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”',
            '> **Wyvern Softworks** is not affiliated with any game studio, publisher, or platform.',
            `> For legal inquiries or DMCA notices, contact the server ${ownerMention}.`,
            'โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”',
        ].join('\n'),
        color: 0xe74c3c,
        footer: 'Wyvern Softworks โ€” Read before proceeding',
    });

    await channel.send({ embeds: [embed] });
}

/**
 * Send the rules embed to ๐Ÿ“œใƒปrules channel.
 */
async function sendRulesEmbed(client) {
    const row = stmts.getState.get('channel_๐Ÿ“œใƒปrules');
    if (!row) throw new Error('Rules channel not found in bot state.');

    const channel = await client.channels.fetch(row.value);
    if (!channel) throw new Error('Could not fetch rules channel.');

    const embed = createEmbed({
        title: '๐Ÿ“œ  Server Rules',
        description: [
            '> Welcome to **Wyvern Softworks**. To maintain a safe and productive community, all members must follow these rules.\n',

            '**1.** ๐Ÿค **Respect Everyone** โ€” Treat all members with respect. No harassment, hate speech, racism, sexism, or personal attacks.',
            '**2.** ๐Ÿšซ **No Spam** โ€” Do not spam messages, emojis, images, or links in any channel.',
            '**3.** ๐Ÿ”‡ **No NSFW Content** โ€” Absolutely no NSFW, gore, or disturbing content anywhere in the server.',
            '**4.** ๐Ÿ“› **Appropriate Names** โ€” Keep your username and nickname clean and appropriate.',
            '**5.** ๐Ÿ“ข **No Self-Promotion** โ€” Do not advertise other servers, products, or services without explicit permission from Staff.',
            '**6.** ๐Ÿง  **Use Channels Correctly** โ€” Post content in the appropriate channels. Off-topic messages will be removed.',
            '**7.** ๐Ÿ”’ **No Leaking** โ€” Do not share, redistribute, or leak any paid or exclusive content from this server.',
            '**8.** โš–๏ธ **No Illegal Activity** โ€” Do not share, promote, or discuss anything that violates local or international law.',
            '**9.** ๐Ÿ›ก๏ธ **No Cheating Encouragement** โ€” We provide pentesting tools for educational purposes only. Do not encourage or discuss using tools for cheating in live environments.',
            '**10.** ๐Ÿค– **No Alt Accounts** โ€” Using alternate accounts to bypass bans or restrictions will result in a permanent ban.',
            '**11.** ๐Ÿ‘ฎ **Listen to Staff** โ€” Staff decisions are final. If you disagree, open a ticket to appeal.',
            '**12.** ๐ŸŽซ **Ticket System** โ€” Use the ticket system for support. Do not DM staff directly unless asked.',
            '**13.** ๐Ÿ”Š **Voice Chat Etiquette** โ€” No mic spamming, soundboards, or disruptive audio in voice channels.',
            '**14.** ๐Ÿ’ฌ **English Only** โ€” Please communicate in English in all public channels.',
            '**15.** ๐Ÿ“Ž **No Malicious Files** โ€” Do not upload malware, viruses, IP loggers, or any harmful files.',
            '**16.** ๐Ÿ“– **Follow Discord ToS** โ€” All members must abide by Discord\'s Terms of Service and Community Guidelines at all times.\n',

            'โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”',
            '> **Violating any of the above rules may result in a mute, kick, or permanent ban at the discretion of Staff.**\n',

            '๐Ÿ”— **Discord Terms of Service**',
            '[Terms of Service](https://discord.com/terms)',
            '[Community Guidelines](https://discord.com/guidelines)',
            '[Privacy Policy](https://discord.com/privacy)',
        ].join('\n'),
        color: 0x9b59b6,
        footer: 'Wyvern Softworks โ€” Last updated ' + new Date().toLocaleDateString('en-US', { month: 'long', year: 'numeric' }),
    });

    await channel.send({ embeds: [embed] });
}

module.exports = { sendDisclaimerEmbed, sendRulesEmbed };