Browse Source

Merge branch 'master' of https://github.com/Leone25/Message-to-mysql-database-discord-bot

Leone25 5 years ago
parent
commit
b37301ba20
1 changed files with 2 additions and 1 deletions
  1. 2 1
      README.md

+ 2 - 1
README.md

@@ -8,6 +8,7 @@ The purpose of this bot is to dump the messages sent in a chat channel of discor
  - Auto extraction of links and attachments that are passed as json elements to the database
  - Include time stamp and id of the message
  - Able to choose if to send the id, username or tag of the author of the message according to what's needed
+ - Able to dump messages that has been send when the bot was ofline with dedicated `!dump` command (prefix can be changed in the config file)
 
  ## How to set up
   1. First make shure that you have the latest version of [NodeJS](https://nodejs.org/en/) and [MySQL](https://www.mysql.com/) installed.
@@ -17,6 +18,7 @@ The purpose of this bot is to dump the messages sent in a chat channel of discor
   |Setting|Description|
   |--|--|
   |`token`|Discord API bot token|
+  |`prefix`|The prefix that will be used to trigger commands|
   |`servers`|Arrays of configured servers|
   |`servers.channel`|ID of Discord channel to listen to|
   |`servers.mentionsMode`| Conversion settings for user mentions in Discord messages. 0 will set as the user ID, e.g. `@182925154211332097`. 1 will set as just the username, e.g. `@Owen`. Anything else will set as the username + discriminator, e.g. `@Owen#1111`|
@@ -44,7 +46,6 @@ The purpose of this bot is to dump the messages sent in a chat channel of discor
   8. Congratulation, your bot is up and running!
 
 ## To do stuff
- - Make the bot automaticly send message that hasn't been send to the db on boot
  - Make the bot update data in the database if someone edits a message( and probably add a parameter on the db for the edited timestamp)
  - Automatically delete from database if message is removed on Discord