From 01d87bd328d7a9294f5c255a753cadc0f4472c67 Mon Sep 17 00:00:00 2001 From: Dany Thach Date: Sun, 31 Oct 2021 19:17:39 +0100 Subject: [PATCH] What have I done --- src/Toadling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Toadling.php b/src/Toadling.php index 4ff8b43..941a015 100644 --- a/src/Toadling.php +++ b/src/Toadling.php @@ -80,7 +80,7 @@ class Toadling foreach($rolesArray as $role) { $rolesArrayPositions[$role->position+1] = $role->id; if($role->id === $colorRole->id) { - $rolesArrayPositions[1] = 1; + $rolesArrayPositions[1] = $role->id; } } $guild->updateRolePositions($rolesArrayPositions);