From b6d766de88ea014bfefacc89feddfc5e99e8c8a0 Mon Sep 17 00:00:00 2001 From: Dany Thach Date: Sun, 31 Oct 2021 19:46:07 +0100 Subject: [PATCH] Whoops typo --- src/Toadling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Toadling.php b/src/Toadling.php index db34dfb..3c6e1ff 100644 --- a/src/Toadling.php +++ b/src/Toadling.php @@ -88,7 +88,7 @@ class Toadling } ) ); - array_splice($rolesArrayPositions, count($rolesArrayPositions)-1, 0, [$colorCode->id]); + array_splice($rolesArrayPositions, count($rolesArrayPositions)-1, 0, [$colorRole->id]); $guild->updateRolePositions($rolesArrayPositions); $message->member->addRole($colorRole); $message->delete();