You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
util
/
main
/
RangeOptions%3AInterface
Search...
K
util
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Functions
calculateShardId
getUserAgentAppendix
isEquatable
isJSONEncodable
lazy
range
shouldUseGlobalFetchAndWebSocket
Interfaces
Equatable
JSONEncodable
RangeOptions
Types
Awaitable
RangeOptions
export declare interface
RangeOptions
export declare interface
RangeOptions
Summary
Options for creating a range
Properties
end
:
number
The end of the range (exclusive)
start
:
number
The start of the range (inclusive)
step?
:
number
The amount to increment by
Default value
1