Skip to content

Commit 492dd59

Browse files
committed
More documentation.
1 parent 42c50a7 commit 492dd59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/async/discord/gateway.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ def shards
203203
self.value[:shards]
204204
end
205205

206-
206+
# Limits associated with this bot connecting to the gateway. You should respect these limits to avoid being rate limited.
207+
#
208+
# @returns [Hash] the limits, including `:total`, `:remaining`, `:reset_after`, and `:max_concurrency`.
207209
def session_start_limit
208210
self.value[:session_start_limit]
209211
end

0 commit comments

Comments
 (0)