From 3a77c4320d07095927077d8ab1acf09b9713aa11 Mon Sep 17 00:00:00 2001 From: w33b Date: Fri, 16 Jan 2026 14:42:39 +0000 Subject: [PATCH] Fix patreon role check We compare the roles using a strict type check, the json contents from the discord api are strings and not integers. --- config/discord.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/discord.php b/config/discord.php index bac3bad..091023a 100644 --- a/config/discord.php +++ b/config/discord.php @@ -6,13 +6,13 @@ return [ 'guild_id' => 802233383710228550, 'patreon_roles' => [ - 841798154999169054, // ???? - 803329707650187364, // Tier-5 - 803327903659196416, // ???? - 803325441942356059, // Tier-3 - 803322725576736858, // Tier-2 - 802270568912519198, // Tier-1 - 802234830384267315 // admin + '841798154999169054', // ???? + '803329707650187364', // Tier-5 + '803327903659196416', // ???? + '803325441942356059', // Tier-3 + '803322725576736858', // Tier-2 + '802270568912519198', // Tier-1 + '802234830384267315' // admin ], 'discord_bot_token' => env('DISCORD_BOT_TOKEN'),