mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Webpack build for branch 11.1-dev: cd4a69d009
This commit is contained in:
parent
a3721451a5
commit
de09b2509b
2 changed files with 10 additions and 1 deletions
|
|
@ -8310,6 +8310,15 @@ class Guild {
|
||||||
return Constants.Endpoints.Guild(this).Icon(this.client.options.http.cdn, this.icon);
|
return Constants.Endpoints.Guild(this).Icon(this.client.options.http.cdn, this.icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the acronym that shows up in place of a guild icon
|
||||||
|
* @type {string}
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
|
get nameAcronym() {
|
||||||
|
return this.name.replace(/\w+/g, name => name[0]).replace(/\s/g, '');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The URL to this guild's splash
|
* The URL to this guild's splash
|
||||||
* @type {?string}
|
* @type {?string}
|
||||||
|
|
|
||||||
2
discord.11.1-dev.min.js
vendored
2
discord.11.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue