toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
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
)