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.
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user