From 7ffbbc7f075538d55c4be41ae2c682e81c243fc6 Mon Sep 17 00:00:00 2001 From: Crawl Date: Sat, 1 Apr 2017 16:28:19 +0200 Subject: [PATCH] Fix _sortedRoles in Role.js --- src/structures/Role.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Role.js b/src/structures/Role.js index 541af5b62..44a5f4275 100644 --- a/src/structures/Role.js +++ b/src/structures/Role.js @@ -128,7 +128,7 @@ class Role { * @type {number} */ get calculatedPosition() { - const sorted = this.guild._sortedRoles(); + const sorted = this.guild._sortedRoles; return sorted.array().indexOf(sorted.get(this.id)); }