mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
Update src/structures/role.ts
Co-authored-by: Ayyan <ayyantee@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ const baseRole: Partial<Role> = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// METHODS
|
// METHODS
|
||||||
delete: function (guildID?: string) {
|
delete(guildID?: string) {
|
||||||
// If not guild id was provided try and find one
|
// If not guild id was provided try and find one
|
||||||
if (!guildID) guildID = guildID || this.guild?.id;
|
if (!guildID) guildID = guildID || this.guild?.id;
|
||||||
// If a guild id is still not available error out
|
// If a guild id is still not available error out
|
||||||
|
|||||||
Reference in New Issue
Block a user