Discord.SortedSet.slice

You're seeing just the function slice, go back to Discord.SortedSet module for more information.
Link to this function

slice(set, start, amount)

View Source

Specs

Retrieves a slice of the SortedSet starting at the specified index and including up to the specified amount.

slice/3 will return an empty list if the start index is out of bounds. If the amount exceeds the number of items from the start index to the end of the set then all terms up to the end of the set will be returned. This means that the length of the list returned by slice will fall into the range of [0, amount]