-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Advanced Usage | ||
|
||
## Local Quotes " morequotes.json | ||
|
||
To add more quotes on top of ASQ, create a file "morequotes.json" in data folder | ||
|
||
``` | ||
{ | ||
"วาทกรรมสลิ่ม": [ Array of Your Custom Local Quotes Here ] | ||
} | ||
``` | ||
|
||
You can also add more keywords, songs or Facebooks to JSON files in data folder! | ||
|
||
## Keywords adding : keywords.json | ||
|
||
Keywords must be all lowercase (if english alphabet exists) and no space in it. | ||
|
||
The reason is the bot process sentences by ignoring spaces and turning all english alphabet into lowercase, for example | ||
|
||
`Sinovac, sInOvAc, S I N O V A C` will all equivalent to "sinovac" | ||
|
||
## Others in data | ||
|
||
Please look at the schema and add your own in same theme as it | ||
|
||
## config/bot_settings.json | ||
|
||
- Copy bot_settings.template.json to bot_settings.json | ||
|
||
- Edit properties you would like to | ||
|
||
- See src/template/BotSettings.template.ts for more info | ||
|
||
## Salim Shell | ||
|
||
- Do #!salim disable to disable all bot's activity on that channel ~~including sending data to Thai Government~~ | ||
|
||
- Do #!salim enable again to remove that | ||
|
||
- Do #!salim sudo to execute Console Command without Console | ||
|
||
## Console | ||
|
||
- Please look at source code (src/console/Console.ts) for more details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters