BotCommands
Toggle table of contents
3.0.0-beta.3
jvm
Platform filter
jvm
Switch theme
Search in API
BotCommands
BotCommands-core
/
io.github.freya022.botcommands.api.core.service
/
ServiceContainer
/
canCreateService
can
Create
Service
abstract
fun
canCreateService
(
name
:
String
,
requiredType
:
KClass
<
*
>
)
:
ServiceError
?
(
source
)
open
fun
canCreateService
(
name
:
String
,
requiredType
:
Class
<
*
>
)
:
ServiceError
?
(
source
)
abstract
fun
canCreateService
(
clazz
:
KClass
<
*
>
)
:
ServiceError
?
(
source
)
open
fun
canCreateService
(
clazz
:
Class
<
*
>
)
:
ServiceError
?
(
source
)