toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-gateway
/
dev.kord.gateway
/
Intent
/
Companion
/
fromShift
from
Shift
fun
fromShift
(
shift
:
Int
)
:
Intent
(
source
)
Returns an instance of
Intent
with
Intent.shift
equal to the specified
shift
.
Throws
Illegal
Argument
Exception
if
shift
is not >= 0.