mirror of
https://github.com/InsanusMokrassar/PlaguBotCommandsPlugin.git
synced 2024-11-27 10:18:43 +00:00
update readme
This commit is contained in:
parent
a3a528bd19
commit
ff44d8c547
40
README.md
40
README.md
@ -5,6 +5,26 @@
|
|||||||
This plugin has been created for centralized work with commands in your plugins. You may pass your commands (even in
|
This plugin has been created for centralized work with commands in your plugins. You may pass your commands (even in
|
||||||
runtime) and they will automatically appear in bot commands for users
|
runtime) and they will automatically appear in bot commands for users
|
||||||
|
|
||||||
|
## How to include
|
||||||
|
|
||||||
|
Add dependency:
|
||||||
|
|
||||||
|
Gradle:
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
api "dev.inmo:plagubot.plugins.commands:$commands_version"
|
||||||
|
```
|
||||||
|
|
||||||
|
Maven:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>dev.inmo</groupId>
|
||||||
|
<artifactId>plagubot.plugins.commands</artifactId>
|
||||||
|
<version>${commands_version}</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
End user should include in his plugins section next line:
|
End user should include in his plugins section next line:
|
||||||
@ -54,23 +74,3 @@ retrieved from `koin` via simple `koin.get<CommandsKeeper>()` or `koin.commandsK
|
|||||||
|
|
||||||
Just as in the code above (in `setupDI`) you may pass all the command environment and it will be automatically updated
|
Just as in the code above (in `setupDI`) you may pass all the command environment and it will be automatically updated
|
||||||
for bot.
|
for bot.
|
||||||
|
|
||||||
## How to include
|
|
||||||
|
|
||||||
Add dependency:
|
|
||||||
|
|
||||||
Gradle:
|
|
||||||
|
|
||||||
```groovy
|
|
||||||
api "dev.inmo:plagubot.plugins.commands:$commands_version"
|
|
||||||
```
|
|
||||||
|
|
||||||
Maven:
|
|
||||||
|
|
||||||
```xml
|
|
||||||
<dependency>
|
|
||||||
<groupId>dev.inmo</groupId>
|
|
||||||
<artifactId>plagubot.plugins.commands</artifactId>
|
|
||||||
<version>${commands_version}</version>
|
|
||||||
</dependency>
|
|
||||||
```
|
|
||||||
|
Loading…
Reference in New Issue
Block a user