nfa-bot
所属分类:自然语言处理
开发工具:kotlin
文件大小:23KB
下载次数:0
上传日期:2019-12-27 13:16:09
上 传 者:
sh-1993
说明: NFA中THPS社区的不和谐机器人(不允许娱乐)
(A discord bot for the THPS community in NFA (No Fun Allowed))
文件列表:
build.gradle.kts (278, 2019-12-27)
core (0, 2019-12-27)
core\build.gradle.kts (502, 2019-12-27)
core\src (0, 2019-12-27)
core\src\main (0, 2019-12-27)
core\src\main\kotlin (0, 2019-12-27)
core\src\main\kotlin\xyz (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\chat (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\chat\ChatEventPublishers.kt (157, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\chat\ChatService.kt (118, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\chat\MessageEvent.kt (154, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\events (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\events\EventPublisher.kt (357, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\events\EventSubscriber.kt (99, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\Feature.kt (76, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\PingPongFeature.kt (647, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\TetrisFeature.kt (658, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\ThugProPlusFeature.kt (809, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos\ThpsVideosFeature.kt (1411, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos\youtube (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos\youtube\Video.kt (132, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos\youtube\YoutubeApi.kt (143, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos\youtube\v3 (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\features\thpsvideos\youtube\v3\YoutubeApiV3.kt (3451, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\random (0, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\random\Random.kt (95, 2019-12-27)
core\src\main\kotlin\xyz\byxor\nfabot\random\RandomImplementation.kt (156, 2019-12-27)
core\src\test (0, 2019-12-27)
core\src\test\kotlin (0, 2019-12-27)
core\src\test\kotlin\ut (0, 2019-12-27)
core\src\test\kotlin\ut\xyz (0, 2019-12-27)
core\src\test\kotlin\ut\xyz\byxor (0, 2019-12-27)
core\src\test\kotlin\ut\xyz\byxor\nfabot (0, 2019-12-27)
... ...
# nfa-bot
A discord bot for the THPS community in NFA (No Fun Allowed)
### To run the bot:
```
./gradlew clean run --args ''
```
* You must replace `` with a real discord token.
### To run the tests:
```
./gradlew clean test
```
### To build an executable JAR file:
```
./gradlew clean build
```
```
java -jar discord/build/libs/NFA_Bot_Discord.jar
```
### Current features:
#### Ping pong
If you say `"Ping!"`, the bot will say `"Pong!"`. This is purely an experimental feature to get some of the architecture set up.
#### Tetris
If you say `"!tetris"`, the bot will say `"Boom, tetris for !"`. This is just a meme that will be switched off when the real bot is deployed.
#### THUG Pro Plus
If you say `"!thugproplus"`, the bot will give you a download link for the latest version of the mod.
#### THPS Videos
If you say `"!thpsvideo"`, the bot will serve up a random video from the [THPSVideos YouTube Channel](https://www.youtube.com/THPSVideos).
近期下载者:
相关文件:
收藏者: