mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Add createRoleIfNotExists function
This commit is contained in:
@@ -18,12 +18,7 @@ Discord.patchStrings = function () {
|
||||
defineProperty("strike", "~~");
|
||||
defineProperty("code", "`");
|
||||
defineProperty("codeblock", "```");
|
||||
|
||||
Object.defineProperty(String.prototype, "newline", {
|
||||
get: function get() {
|
||||
return this + "\n";
|
||||
}
|
||||
});
|
||||
defineProperty("newline", "\n");
|
||||
|
||||
Object.defineProperty(String.prototype, "italic", {
|
||||
get: function get() {
|
||||
|
||||
Reference in New Issue
Block a user