diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 5c2f01fa9..ee1cc716b 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -921,7 +921,7 @@ class Guild { position = Number(position); if (isNaN(position)) return Promise.reject(new Error('Supplied position is not a number.')); - let updatedRoles = this._sortedRoles().array(); + let updatedRoles = this._sortedRoles.array(); Util.moveElementInArray(updatedRoles, role, position, relative);