Slash commands!

Closes #11

Still needs a /help. Look into createLocalMessage IG.

Also, improve message interception so that we can potentially make stuff
like OTR in the future.

That sounds hot, eh?
This commit is contained in:
ave 2019-05-20 01:14:33 +03:00
parent cd2ead46a9
commit f2dfc15645
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
3 changed files with 1222 additions and 0 deletions

View file

@ -0,0 +1,21 @@
## DisTok CutTheCord: Slash Commands Patch
This patch adds a message intercept feature with minimal changes to the original code, and adds slash commands.
The following slash commands are supported:
- /upper
- /lower
- /bold
- /spoiler
- /me
- /st (strikethrough)
- /shrug
- /tableflip
- /unflip
- /fw (fullwidth text)
Commands like fw can be generated by `textreplacegen.py` provided in this folder.
#### Available and tested on:
- 9.0.0