alpha
Login
or
Join now
folospior.dev
/
grom
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A Discord API Library for Gleam! 💫
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
remove deprecated function use
author
Filip Hoffmann
date
5 months ago
(Feb 14, 2026, 2:14 PM +0100)
commit
b989b76c
b989b76c615144033ddd51381f7f2470ddf6d2f0
parent
5b1e39f0
5b1e39f03f4a9bf06963d437cd10d243e1cc198b
+4
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
grom
gateway.gleam
+4
-1
src/grom/gateway.gleam
View file
Reviewed
···
2396
2396
builder.data.session_start_limits.max_identify_requests_per_5_seconds
2397
2397
let supervisor = static_supervisor.new(static_supervisor.OneForOne)
2398
2398
2399
2399
-
let shard_ids = list.range(from: 0, to: shard_count - 1)
2399
2399
+
let shard_ids =
2400
2400
+
int.range(from: 0, to: shard_count - 1, with: [], run: list.prepend)
2401
2401
+
|> list.reverse
2402
2402
+
2400
2403
let shards =
2401
2404
shard_ids
2402
2405
|> list.map(fn(id) { Shard(id, shard_count) })