Skip to content

Commit 92b6bb1

Browse files
committed
Add colors to Role objects in test JSONs
Discord has recently added that field so it wasn't available in our test JSONs
1 parent 4eec660 commit 92b6bb1

File tree

1 file changed

+85
-15
lines changed

1 file changed

+85
-15
lines changed

Tests/Resources/guild_create.json

Lines changed: 85 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,12 @@
22332233
"icon": null,
22342234
"hoist": false,
22352235
"flags": 0,
2236-
"color": 0
2236+
"color": 0,
2237+
"colors": {
2238+
"primary_color": 0,
2239+
"secondary_color": null,
2240+
"tertiary_color": null
2241+
}
22372242
},
22382243
{
22392244
"version": 1666004118810,
@@ -2248,7 +2253,12 @@
22482253
"icon": null,
22492254
"hoist": true,
22502255
"flags": 0,
2251-
"color": 15105570
2256+
"color": 15105570,
2257+
"colors": {
2258+
"primary_color": 15105570,
2259+
"secondary_color": null,
2260+
"tertiary_color": null
2261+
}
22522262
},
22532263
{
22542264
"version": 1666004118796,
@@ -2263,7 +2273,12 @@
22632273
"icon": null,
22642274
"hoist": true,
22652275
"flags": 0,
2266-
"color": 3447003
2276+
"color": 3447003,
2277+
"colors": {
2278+
"primary_color": 3447003,
2279+
"secondary_color": null,
2280+
"tertiary_color": null
2281+
}
22672282
},
22682283
{
22692284
"version": 1666004118806,
@@ -2278,7 +2293,12 @@
22782293
"icon": null,
22792294
"hoist": true,
22802295
"flags": 0,
2281-
"color": 15158332
2296+
"color": 15158332,
2297+
"colors": {
2298+
"primary_color": 15158332,
2299+
"secondary_color": null,
2300+
"tertiary_color": null
2301+
}
22822302
},
22832303
{
22842304
"version": 1666004118790,
@@ -2293,7 +2313,12 @@
22932313
"icon": null,
22942314
"hoist": false,
22952315
"flags": 0,
2296-
"color": 3066993
2316+
"color": 3066993,
2317+
"colors": {
2318+
"primary_color": 3066993,
2319+
"secondary_color": null,
2320+
"tertiary_color": null
2321+
}
22972322
},
22982323
{
22992324
"version": 1666004118783,
@@ -2308,7 +2333,12 @@
23082333
"icon": null,
23092334
"hoist": false,
23102335
"flags": 0,
2311-
"color": 1146986
2336+
"color": 1146986,
2337+
"colors": {
2338+
"primary_color": 1146986,
2339+
"secondary_color": null,
2340+
"tertiary_color": null
2341+
}
23122342
},
23132343
{
23142344
"version": 1666004118780,
@@ -2323,7 +2353,12 @@
23232353
"icon": null,
23242354
"hoist": false,
23252355
"flags": 0,
2326-
"color": 9807270
2356+
"color": 9807270,
2357+
"colors": {
2358+
"primary_color": 9807270,
2359+
"secondary_color": null,
2360+
"tertiary_color": null
2361+
}
23272362
},
23282363
{
23292364
"version": 1666004118793,
@@ -2338,7 +2373,12 @@
23382373
"icon": null,
23392374
"hoist": false,
23402375
"flags": 0,
2341-
"color": 15844367
2376+
"color": 15844367,
2377+
"colors": {
2378+
"primary_color": 15844367,
2379+
"secondary_color": null,
2380+
"tertiary_color": null
2381+
}
23422382
},
23432383
{
23442384
"version": 1666004118775,
@@ -2355,7 +2395,12 @@
23552395
"icon": null,
23562396
"hoist": false,
23572397
"flags": 0,
2358-
"color": 0
2398+
"color": 0,
2399+
"colors": {
2400+
"primary_color": 0,
2401+
"secondary_color": null,
2402+
"tertiary_color": null
2403+
}
23592404
},
23602405
{
23612406
"version": 1666004118803,
@@ -2370,7 +2415,12 @@
23702415
"icon": null,
23712416
"hoist": true,
23722417
"flags": 0,
2373-
"color": 10181046
2418+
"color": 10181046,
2419+
"colors": {
2420+
"primary_color": 10181046,
2421+
"secondary_color": null,
2422+
"tertiary_color": null
2423+
}
23742424
},
23752425
{
23762426
"version": 1666004118765,
@@ -2387,7 +2437,12 @@
23872437
"icon": null,
23882438
"hoist": false,
23892439
"flags": 0,
2390-
"color": 1752220
2440+
"color": 1752220,
2441+
"colors": {
2442+
"primary_color": 1752220,
2443+
"secondary_color": null,
2444+
"tertiary_color": null
2445+
}
23912446
},
23922447
{
23932448
"version": 1666004118759,
@@ -2404,7 +2459,12 @@
24042459
"icon": null,
24052460
"hoist": false,
24062461
"flags": 0,
2407-
"color": 0
2462+
"color": 0,
2463+
"colors": {
2464+
"primary_color": 0,
2465+
"secondary_color": null,
2466+
"tertiary_color": null
2467+
}
24082468
},
24092469
{
24102470
"version": 1666004118990,
@@ -2419,7 +2479,12 @@
24192479
"icon": null,
24202480
"hoist": false,
24212481
"flags": 0,
2422-
"color": 0
2482+
"color": 0,
2483+
"colors": {
2484+
"primary_color": 0,
2485+
"secondary_color": null,
2486+
"tertiary_color": null
2487+
}
24232488
}
24242489
],
24252490
"preferred_locale": "en-US",
@@ -2664,7 +2729,9 @@
26642729
"id": "1029010376580415548",
26652730
"guild_id": "431917998102675485",
26662731
"flags": 0,
2667-
"applied_tags": ["1029009412242800730"]
2732+
"applied_tags": [
2733+
"1029009412242800730"
2734+
]
26682735
},
26692736
{
26702737
"type": 11,
@@ -2737,7 +2804,10 @@
27372804
"avatar_decoration": null,
27382805
"avatar": "a3a7e4c4ded91fc9b2bf71a77ae68367"
27392806
},
2740-
"roles": ["950719637044207689", "441346871651336193"],
2807+
"roles": [
2808+
"950719637044207689",
2809+
"441346871651336193"
2810+
],
27412811
"premium_since": null,
27422812
"pending": false,
27432813
"nick": null,

0 commit comments

Comments
 (0)