Slashcommands: add account switcher

This commit is contained in:
ave 2019-05-26 22:31:51 +03:00
parent 7574ad66a4
commit 704828f405
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
2 changed files with 194 additions and 13 deletions

View file

@ -22,11 +22,13 @@ Following commands are supported, but create less accessible text (so you should
- /flip -> Flips text (like "ʇɥıs")
- /clap -> Please :clap: clap
CutTheCord has a couple features that can be enabled or disabled with slash commands as well:
CutTheCord has a couple features that can utilized with slash commands as well:
- /ctc channelleak true/false -> Shows all channels, even those you don't have permissions to view (might mess with channel editing or editing while it's enabled)
- /ctc notyping true/false -> Disables typing event so that it's not visible when you type (true = typing is shown, false = not shown)
- /ctc token -> Gives your token
- /ctc token $token -> Sets your token to the one specified, allowing switching between accounts
- /ctc addaccount $name $token -> Adds an account to the account switcher (name can be anything)
- /ctc account $name -> Switches to the account (requires you to restart the app)
Commands like fw can be generated by `textreplacegen.py` or `textreplacegen-array.py` provided in this folder.