Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Global annotation #23

Open
woojiahao opened this issue Oct 2, 2018 · 0 comments
Open

Global annotation #23

woojiahao opened this issue Oct 2, 2018 · 0 comments
Labels
Kotlin Language used will be Kotlin

Comments

@woojiahao
Copy link
Owner

Global commands should be set using an annotation.

Example:

@CommandSet
@Global
fun animalCommands() = commands("Animal") {}
@woojiahao woojiahao added bot issue Kotlin Language used will be Kotlin and removed bot issue labels Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Kotlin Language used will be Kotlin
Projects
None yet
Development

No branches or pull requests

1 participant