This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Module towa-core | ||
**towa-core** is the main core package that is used by the [slash-commands](https://towa.nino.sh/slash-commands/index.html) package. It | ||
is also recommended to bundle **towa-core** as a dependency if you wish to use the Extensions feature. | ||
|
||
```kotlin | ||
suspend fun main(args: Array<String>) { | ||
val towa = Towa { // this: sh.nino.towa.core.TowaBuilder | ||
kord("token") { // this: KordBuilder | ||
enableShutdownHook = false | ||
} | ||
} | ||
|
||
towa.start() | ||
towa.kord.login() | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Module towa-locator-koin | ||
**locator-koin** is the package that uses **Koin** to find any object from your dependency injection tree. This package | ||
only implements [KoinLoader](https://towa.nino.sh/locator-koin/sh.nino.towa.locator.koin/-koin-locator/index.html) which extends | ||
[sh.nino.towa.core.locator.Locator](https://towa.nino.sh/core/sh.nino.towa.core.locator/-locator/index.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Module towa-slash-commands | ||
**slash-commands** is a Towa extension to use the Slash Commands framework. | ||
|
||
You can see an example project [here](https://github.com/NinoDiscord/towa/tree/master/test). |