cutthecord/patches/slashcommands/README.md

211 lines
4.2 KiB
Markdown
Raw Normal View History

## DisTok CutTheCord: Slash Commands Patch
This patch adds a message intercept feature with minimal changes to the original code, and adds slash commands.
This patch relies on supplemental, so please use that patch too.
The following slash commands are supported:
- /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.
- /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
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 "    ")
- /gordon -> 𝗛𝗲𝗹𝗹𝗼𝗚𝗼𝗿𝗱𝗼𝗻
- /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:
- /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)
- /ctc nodelete true/false -> Disables handling of message delete events. (true = Deleted messages stay, false = they get deleted)
- /ctc gifautoplay true/false -> Disables auto play of GIFs (true (default) = GIFs autoplay, false = GIFs don't autoplay)
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
- /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)
Commands like fw can be generated by `textreplacegen.py` or `textreplacegen-array.py` provided in this folder.
2019-05-26 19:57:38 +00:00
## Known bugs
- There's no help.
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.
#### Available and tested on:
- 9.0.0
2019-05-22 06:04:37 +00:00
- 9.0.1
- 9.0.2
2019-05-24 20:48:16 +00:00
- 9.0.3
- 9.0.4
- 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
- 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
- 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
- 9.7.0
- 9.9.2
2019-11-27 10:17:50 +00:00
- 9.9.3
- 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
- 10.0.7
2019-12-18 23:09:54 +00:00
- 10.1.1
2019-12-20 15:33:13 +00:00
- 10.1.2
2019-12-21 10:13:30 +00:00
- 10.1.3
2019-12-29 11:10:20 +00:00
- 10.1.5
2020-01-03 15:15:51 +00:00
- 10.1.6
- 10.1.9
2020-01-11 15:51:19 +00:00
- 10.2.0
2020-01-14 12:28:31 +00:00
- 10.2.1
2020-01-16 08:53:22 +00:00
- 10.2.2
2020-01-17 12:43:45 +00:00
- 10.2.3
2020-01-18 14:22:16 +00:00
- 10.2.4
2020-01-22 15:07:58 +00:00
- 10.2.5
2020-01-23 00:10:58 +00:00
- 10.2.6
2020-01-28 13:33:35 +00:00
- 10.2.9
2020-01-30 10:36:40 +00:00
- 10.3.1
2020-02-01 17:38:25 +00:00
- 10.3.2
- 10.3.3
2020-02-17 16:46:41 +00:00
- 10.4.1
2020-02-21 03:16:43 +00:00
- 10.5.1
- 11.0
- 11.4
2020-03-01 03:49:22 +00:00
- 11.5
2020-03-01 16:10:35 +00:00
- 12.0-alpha1
2020-03-02 12:38:45 +00:00
- 11.7
2020-03-03 20:12:47 +00:00
- 12.1
2020-03-04 00:09:22 +00:00
- 12.2
2020-03-05 18:23:03 +00:00
- 12.3
2020-03-07 02:17:10 +00:00
- 13-alpha1
2020-03-09 21:15:57 +00:00
- 12.5
2020-03-12 04:18:09 +00:00
- 14-alpha2
2020-03-15 22:16:33 +00:00
- 14-alpha3
2020-03-16 23:01:33 +00:00
- 14.0
2020-03-20 02:57:04 +00:00
- 15-alpha3
2020-03-23 23:23:12 +00:00
- 15.0
2020-03-31 00:11:43 +00:00
- 16
2020-04-09 17:27:32 +00:00
- 17.0
2020-04-17 12:36:41 +00:00
- 18.0-alpha1
2020-04-19 16:22:55 +00:00
- 18.0-alpha9
2020-04-19 16:40:27 +00:00
- 18.0-alpha11
2020-04-20 16:39:02 +00:00
- 18.0-alpha12
2020-04-21 17:09:44 +00:00
- 19.0
2020-04-30 00:59:06 +00:00
- 20-alpha1
2020-05-08 13:34:21 +00:00
- 21-alpha2
2020-05-11 20:10:13 +00:00
- 22-alpha1
- 21.3
- 22-alpha3-alpha1
2020-04-08 16:14:35 +00:00
- 16
2020-04-09 17:27:32 +00:00
- 17.0
2020-04-17 12:36:41 +00:00
- 18.0-alpha1
2020-04-19 16:22:55 +00:00
- 18.0-alpha9
2020-04-19 16:40:27 +00:00
- 18.0-alpha11
2020-04-20 16:39:02 +00:00
- 18.0-alpha12
2020-04-21 17:09:44 +00:00
- 19.0
2020-04-30 00:59:06 +00:00
- 20-alpha1
2020-05-08 13:34:21 +00:00
- 21-alpha2
2020-05-11 20:10:13 +00:00
- 22-alpha1
- 21.3
- 22-alpha3-alpha4
2020-04-08 16:14:35 +00:00
- 16
2020-04-09 17:27:32 +00:00
- 17.0
2020-04-17 12:36:41 +00:00
- 18.0-alpha1
2020-04-19 16:22:55 +00:00
- 18.0-alpha9
2020-04-19 16:40:27 +00:00
- 18.0-alpha11
2020-04-20 16:39:02 +00:00
- 18.0-alpha12
2020-04-21 17:09:44 +00:00
- 19.0
2020-04-30 00:59:06 +00:00
- 20-alpha1
2020-05-08 13:34:21 +00:00
- 21-alpha2
2020-05-11 20:10:13 +00:00
- 22-alpha1
- 21.3
- 22-alpha3-alpha6
2020-04-08 16:14:35 +00:00
- 16
2020-04-09 17:27:32 +00:00
- 17.0
2020-04-17 12:36:41 +00:00
- 18.0-alpha1
2020-04-19 16:22:55 +00:00
- 18.0-alpha9
2020-04-19 16:40:27 +00:00
- 18.0-alpha11
2020-04-20 16:39:02 +00:00
- 18.0-alpha12
2020-04-21 17:09:44 +00:00
- 19.0
2020-04-30 00:59:06 +00:00
- 20-alpha1
2020-05-08 13:34:21 +00:00
- 21-alpha2
2020-05-11 20:10:13 +00:00
- 22-alpha1
- 21.3
- 22-alpha3-alpha7
2020-04-08 16:14:35 +00:00
- 16
- 17.0
2020-04-09 17:27:32 +00:00
- 18.0-alpha1
2020-04-17 12:36:41 +00:00
- 18.0-alpha9
2020-04-19 16:22:55 +00:00
- 18.0-alpha11
2020-04-19 16:40:27 +00:00
- 18.0-alpha12
2020-04-20 16:39:02 +00:00
- 19.0
2020-04-21 17:09:44 +00:00
- 20-alpha1
2020-04-30 00:59:06 +00:00
- 21-alpha2
2020-05-08 13:34:21 +00:00
- 22-alpha1
2020-05-11 20:10:13 +00:00
- 21.3
- 22-alpha3
2020-05-17 13:41:19 +00:00
- 22.4
2020-05-18 23:46:33 +00:00
- 22.5
2020-05-19 02:36:48 +00:00
- 23.0
2020-05-24 23:57:10 +00:00
- 24-alpha2
2020-05-27 14:37:12 +00:00
- 24
2020-06-20 06:01:36 +00:00
- 28-alpha2
2020-06-24 20:12:30 +00:00
- 28.1
2020-06-25 09:52:31 +00:00
- 29-alpha1
2020-07-07 20:12:13 +00:00
- 30.0
2020-07-08 20:39:26 +00:00
- 30.1
2020-07-09 20:43:13 +00:00
- 31-alpha1
2020-07-10 14:34:11 +00:00
- 31-alpha2
2020-07-18 10:54:51 +00:00
- 32-alpha2
2020-07-20 21:32:11 +00:00
- 32.0
2020-07-25 17:16:02 +00:00
- 33.1
2020-07-29 22:57:09 +00:00
- 34.0
2020-07-31 18:43:10 +00:00
- 34.2
2020-08-01 11:48:14 +00:00
- 34.3
2020-08-09 11:42:54 +00:00
- 35.0-alpha1
2020-08-20 10:27:16 +00:00
- 36.3
2020-08-22 10:28:40 +00:00
- 36.5
2020-08-27 12:14:03 +00:00
- 38.0
2020-09-07 10:02:33 +00:00
- 38.1
2020-09-13 11:14:34 +00:00
- 40.04
2020-09-15 08:48:20 +00:00
- 41.02
2020-09-16 10:27:08 +00:00
- 41.05
2020-09-17 09:38:27 +00:00
- 41.06
2020-09-23 11:24:52 +00:00
- 41.10
2020-09-24 09:58:57 +00:00
- 41.11
2020-09-29 13:13:40 +00:00
- 42.0
2020-09-30 12:01:03 +00:00
- 42.1
2020-10-01 00:21:40 +00:00
- 42.3
2020-10-06 18:06:18 +00:00
- 44-alpha2
2020-10-11 16:15:08 +00:00
- 44-alpha4
2020-10-15 14:18:50 +00:00
- 44.5
2020-10-17 15:09:18 +00:00
- 44.6
2020-10-20 00:04:24 +00:00
- 45.2
2020-10-27 21:47:44 +00:00
- 46.0
2020-11-02 13:50:03 +00:00
- 46.3
2020-11-05 15:14:59 +00:00
- 48.0
2020-11-08 15:08:44 +00:00
- 48.1
2020-11-09 19:13:11 +00:00
- 48.2
2020-11-10 19:24:37 +00:00
- 49.1