https://github.com/bigboot/fang
https://github.com/bigboot/fang
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bigboot/fang
- Owner: BigBoot
- License: gpl-3.0
- Created: 2020-05-03T02:42:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T17:15:16.000Z (about 2 years ago)
- Last Synced: 2025-03-15T01:53:49.508Z (over 1 year ago)
- Language: Kotlin
- Size: 937 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Fang
== How to build
Windows
gradlew.bat shadowJar
Linux
./gradlew shadowJar
The resulting jar file will be located in: `build/libs/fang-1.0-SNAPSHOT-all.jar`
== How to Run
java -jar build/libs/fang-1.0-SNAPSHOT-all.jar
== Configuration
.config.toml
[source,toml]
----
## Uncomment options and adjust if needed
[bot]
token = "" # Required <1>
# prefix = "!"
# accept_timeout = 120
# statusupdate_poll_rate = 2000
# required_players = 10
# log_level = "info"
[database]
## Available drivers: "org.h2.Driver" | "com.mysql.cj.jdbc.Driver"
# driver = "org.h2.Driver"
# url = "jdbc:h2:./fang"
# user = ""
# pass = ""
[permissions]
# default_group_name = "default"
# default_group_permissions = []
# admin_group_name = "admin"
# admin_group_permissions = [ "*" ]
[emojis]
# accept = "👍"
# deny = "👎"
# match_finished = "🏁"
# match_drop = "👎"
# queue_empty = "😢"
# join_queue = "👍"
# leave_queue = "👎"
----
<1> https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token