Update src/structures/role.ts

Co-authored-by: Ayyan <ayyantee@gmail.com>
This commit is contained in:
Skillz4Killz
2020-12-19 12:19:34 -05:00
committed by GitHub
parent d08adff0dd
commit 6ed345b87b
+1 -1
View File
@@ -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