A Discord API Library for Gleam! 💫
0

Configure Feed

Select the types of activity you want to include in your feed.

remove deprecated function use

+4 -1
+4 -1
src/grom/gateway.gleam
··· 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 - let shard_ids = list.range(from: 0, to: shard_count - 1) 2399 + let shard_ids = 2400 + int.range(from: 0, to: shard_count - 1, with: [], run: list.prepend) 2401 + |> list.reverse 2402 + 2400 2403 let shards = 2401 2404 shard_ids 2402 2405 |> list.map(fn(id) { Shard(id, shard_count) })