kord
Toggle table of contents
or(map(map(map(map(valueof(ProcessOutputValueSource))))), map(map(map(map(valueof(ProcessOutputValueSource))))))
common
Platform filter
common
Switch theme
Search in API
kord
kord-rest
/
dev.kord.rest
/
Sound
/
Companion
/
fromFile
from
File
fun
fromFile
(
path
:
Path
,
fileSystem
:
FileSystem
=
SystemFileSystem
)
:
Sound
(
source
)
Creates a new
Sound
by reading the
path
.
Parameters
file
System
the
FileSystem
to read
path
from