mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-25 13:01:05 -05:00
Update 0.4.0: Major refactor and debug command
This commit is contained in:
20
README.md
20
README.md
@@ -1,7 +1,27 @@
|
||||
# MarkBot for Discord
|
||||
This is a super rough prototype. A Markov chain bot using markov-strings. Just uploading here so it can run and generate training data.
|
||||
|
||||
# Setup
|
||||
|
||||
## Configuration
|
||||
Create a file called `config.json` in the project directory with the contents:
|
||||
```
|
||||
{
|
||||
"prefix":"!mark",
|
||||
"game":"\"!mark help\" for help",
|
||||
"token":"k5NzE2NDg1MTIwMjc0ODQ0Nj.DSnXwg.ttNotARealToken5p3WfDoUxhiH"
|
||||
}
|
||||
```
|
||||
|
||||
## Changelog
|
||||
### 0.4.0
|
||||
Huge refactor.
|
||||
Added `!mark debug` which sends debug info alongside the message.
|
||||
Converted the fetchMessages function to async/await (updating the requirement to Node.js 8).
|
||||
Updated module versions.
|
||||
Added faster unique-array-by-property function
|
||||
Added linting and linted the project.
|
||||
|
||||
### 0.3.0
|
||||
Added TTS support and random message attachments.
|
||||
Deleted messages no longer persist in the database longer than 24 hours.
|
||||
|
||||
Reference in New Issue
Block a user