2019-05-19 22:14:33 +00:00
## DisTok CutTheCord: Slash Commands Patch
This patch adds a message intercept feature with minimal changes to the original code, and adds slash commands.
2019-11-26 18:47:28 +00:00
This patch relies on supplemental, so please use that patch too.
2019-05-19 22:14:33 +00:00
The following slash commands are supported:
2019-05-21 14:53:03 +00:00
- /upper -> Makes text uppercase
- /lower -> Makes text lowercase
- /bold -> Makes text bold
- /spoiler -> Marks your message as a spoiler (same as Discord Desktop)
2019-10-05 16:51:31 +00:00
- /spoilerimg -> Prepends SPOILER_ to names of all images attached to the message that starts with this, causing them to get marked as spoiler.
2019-05-21 14:53:03 +00:00
- /me -> Display text with emphasis (same as Discord Desktop)
- /st -> Puts a strikethrough the message
- /lenny -> Appends ( ͡° ͜ʖ ͡°) to your message
- /owo -> Myakes tyext reawwy owo-ly, nya :3
2019-05-19 22:14:33 +00:00
2019-05-21 14:53:03 +00:00
Following commands are supported, but create less accessible text (so you should probably ensure that no one around you will be affected before you use them):
- /fw -> Makes text fullwidth (like "S e n t f r o m m y A n d r o i d D e v i c e ")
- /small -> Makes text smaller (like "ᴛʜɪ s")
- /smaller -> Makes text even smaller (like "ᵗʰvˢ")
- /flip -> Flips text (like "ʇɥı s")
- /clap -> Please :clap: clap
2019-05-26 19:31:51 +00:00
CutTheCord has a couple features that can utilized with slash commands as well:
2019-05-25 02:43:28 +00:00
- /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)
2019-05-26 15:19:04 +00:00
- /ctc notyping true/false -> Disables typing event so that it's not visible when you type (true = typing is shown, false = not shown)
2019-10-05 17:12:20 +00:00
- /ctc nodelete true/false -> Disables handling of message delete events. Currently deletes messages don't have anything changed about them, but I plan to append "(deleted)" to them eventually. (true = Deleted messages stay, false = they get deleted)
2019-05-26 15:19:04 +00:00
- /ctc token -> Gives your token
- /ctc token $token -> Sets your token to the one specified, allowing switching between accounts
2019-05-26 20:03:23 +00:00
- /ctc addaccount $name $token -> Adds an account to the account switcher (name can be anything, token will be set to the current one if it's `current` )
2019-05-26 19:31:51 +00:00
- /ctc account $name -> Switches to the account (requires you to restart the app)
2019-05-25 02:43:28 +00:00
2019-05-21 14:53:03 +00:00
Commands like fw can be generated by `textreplacegen.py` or `textreplacegen-array.py` provided in this folder.
2019-05-19 22:14:33 +00:00
2019-05-26 19:57:38 +00:00
## Known bugs
2019-05-26 20:03:23 +00:00
- There's no help.
2019-11-26 18:47:28 +00:00
- The slashcommands do not show when putting a slash (which was added in I think 9.7.2).
2019-05-26 19:57:38 +00:00
- Output from /ctc commands doesn't get properly displayed if enter is not pressed using a physical keyboard (usb or bluetooth). This is bizarre and oh god please help me solve this bug.
2019-05-19 22:14:33 +00:00
#### Available and tested on:
- 9.0.0
2019-05-22 06:04:37 +00:00
- 9.0.1
2019-05-23 05:46:44 +00:00
- 9.0.2
2019-05-24 20:48:16 +00:00
- 9.0.3
2019-06-02 10:12:05 +00:00
- 9.0.4
2019-06-02 10:13:14 +00:00
- 9.0.6
2019-06-07 22:35:44 +00:00
- 9.0.9
2019-06-25 12:11:01 +00:00
- 9.1.0
2019-08-12 18:10:22 +00:00
- 9.3.8-SAO-Heathcliff
2019-08-16 20:58:00 +00:00
- 9.3.9
2019-08-16 21:41:53 +00:00
- 9.4.0
2019-08-17 10:20:19 +00:00
- 9.4.2-SA
2019-08-20 07:32:35 +00:00
- 9.4.3-SA
2019-08-22 12:06:29 +00:00
- 9.4.5
2019-08-22 20:01:07 +00:00
- 9.4.6
2019-08-24 09:28:21 +00:00
- 9.4.7
2019-08-27 12:15:17 +00:00
- 9.4.8
2019-10-01 20:01:01 +00:00
- 9.6.3
2019-10-01 20:06:14 +00:00
- 9.6.4
2019-10-03 05:52:14 +00:00
- 9.6.5
2019-10-05 13:07:30 +00:00
- 9.6.6
2019-10-05 13:23:26 +00:00
- 9.6.7
2019-10-07 23:27:20 +00:00
- 9.6.8
2019-10-10 05:54:42 +00:00
- 9.7.0
2019-11-26 15:00:16 +00:00
- 9.9.2
2019-11-27 10:17:50 +00:00
- 9.9.3
2019-11-28 06:41:59 +00:00
- 9.9.4
2019-12-05 08:26:53 +00:00
- 9.9.6
2019-12-13 09:26:27 +00:00
- 10.0.6
2019-12-15 10:44:16 +00:00
- 10.0.7
2019-12-18 23:09:54 +00:00
- 10.1.1
2019-05-19 22:14:33 +00:00