summaryrefslogtreecommitdiff
path: root/desktop/node_modules/@xhayper/discord-rpc/dist/structures/Guild.js
blob: 3014fa95104ca759fce5f7a501bbc969f971c4f6 (plain)
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
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Guild = void 0;
const Base_1 = require("./Base");
class Guild extends Base_1.Base {
    /**
     * guild id
     */
    id;
    /**
     * guild name (2-100 characters, excluding trailing and leading whitespace)
     */
    name;
    icon_url;
    /**
     * guild member list
     * (always an empty array)
     * @deprecated
     */
    members = []; // Always an empty array
    /**
     * the vanity url code for the guild
     */
    vanity_url_code;
    constructor(client, props) {
        super(client);
        Object.assign(this, props);
        this.id = props.id;
        this.name = props.name;
        this.icon_url = props.icon_url;
        this.vanity_url_code = props.vanity_url_code;
    }
}
exports.Guild = Guild;