cutthecord/patches/slashcommands
2020-03-09 21:15:57 +00:00
..
900.patch Add morse 2019-05-21 19:36:08 +03:00
901.patch 9.0.1 2019-05-22 09:04:37 +03:00
902.patch 9.0.2 2019-05-23 08:46:44 +03:00
903.patch slashcommands-accountswitcher: allow using current token 2019-05-26 23:03:23 +03:00
904.patch Revert "Revert "9.0.4"" 2019-06-02 13:12:05 +03:00
906.patch fix slashcommands on 9.0.6 2019-06-02 13:56:58 +03:00
909.patch 9.0.9 2019-06-08 01:35:44 +03:00
910.patch 9.1.0 2019-06-25 15:11:01 +03:00
938.patch 9.3.8 2019-08-12 21:10:22 +03:00
939.patch 9.3.9 + New icon from dzuk! 2019-08-16 23:58:00 +03:00
940.patch 9.4.0 + ave custom logo 2019-08-17 00:41:53 +03:00
942.patch 9.4.2 2019-08-17 13:20:19 +03:00
943.patch 9.4.3 :) 2019-08-20 10:32:35 +03:00
945.patch 9.4.5 :) 2019-08-22 15:06:29 +03:00
946.patch 9.4.6. 2019-08-22 23:01:07 +03:00
947.patch 9.4.7 2019-08-24 12:28:21 +03:00
948.patch 9.4.8 :) 2019-08-27 15:15:17 +03:00
963.patch 9.6.3 2019-10-01 23:01:01 +03:00
964.patch 9.6.4 :) 2019-10-01 23:06:14 +03:00
965.patch 9.6.5 2019-10-03 08:52:14 +03:00
966.patch 9.6.6 2019-10-05 16:07:30 +03:00
967.patch slashcommands: add /ctc nodelete 2019-10-05 20:12:20 +03:00
968.patch 9.6.8. 2019-10-08 02:27:20 +03:00
970.patch 9.7.0 2019-10-10 08:54:42 +03:00
980.patch slashcommands: try to solve crash on boot 2019-10-31 12:40:32 +03:00
992.patch Get 9.2.2 slashcommands fully working 2019-11-26 19:03:48 +03:00
993.patch Release CTC for 9.9.3. 2019-11-27 13:17:50 +03:00
994.patch 9.9.4 2019-11-28 09:41:59 +03:00
996.patch 996 2019-12-05 11:26:53 +03:00
1006.patch 10.0.6 2019-12-13 12:26:27 +03:00
1007.patch 10.0.7 2019-12-15 13:44:16 +03:00
1011.patch 10.1.1 2019-12-19 02:09:54 +03:00
1012.patch 10.1.2 2019-12-20 17:33:13 +02:00
1013.patch fix crash on 10.1.3 2019-12-21 23:02:59 +03:00
1015.patch 10.1.5 2019-12-29 13:10:20 +02:00
1016.patch 10.1.6 2020-01-03 17:15:51 +02:00
1019.patch slashcommands:Fix 10.1.9 builds 2020-01-10 17:08:24 +03:00
1020.patch 10.2.0 2020-01-11 15:51:19 +00:00
1021.patch Fix slashcommands when message contains attachments 2020-01-14 13:30:13 +00:00
1022.patch 10.2.2 2020-01-16 11:53:22 +03:00
1023.patch 10.2.3 2020-01-17 13:43:45 +01:00
1024.patch 10.2.4 2020-01-18 14:22:16 +00:00
1025.patch 10.2.5 2020-01-22 15:07:58 +00:00
1026.patch 10.2.6 2020-01-23 00:10:58 +00:00
1029.patch 10.2.9 2020-01-28 13:33:35 +00:00
1031.patch 10.3.1 and customtheme fix 2020-01-30 13:36:40 +03:00
1032.patch 10.3.2 2020-02-01 17:38:25 +00:00
1033.patch 10.3.3 2020-02-06 22:22:07 +00:00
1036.patch 10.3.6 2020-02-12 23:59:05 +00:00
1037.patch 10.4.1 (1037) + noemojibutton 2020-02-17 19:46:41 +03:00
1040.patch 10.5.1 (1040) 2020-02-21 03:16:43 +00:00
1041.patch 11.0 (1041) 2020-02-24 20:16:55 +00:00
1045.patch 11.4 (1045) 2020-02-29 15:49:31 +00:00
1046.patch 11.5 (1046) 2020-03-01 03:49:22 +00:00
1047.patch 12.0-alpha1 (1047) 2020-03-01 16:11:33 +00:00
1049.patch 11.7 (1049) 2020-03-02 12:38:45 +00:00
1052.patch 12.1 (1052) 2020-03-03 20:12:47 +00:00
1053.patch 12.2 (1053) 2020-03-04 00:09:22 +00:00
1054.patch 12.3 (1054) 2020-03-05 18:23:03 +00:00
1056.patch 13-alpha1 (1056) 2020-03-07 02:17:10 +00:00
1057.patch 12.5 (1057) 2020-03-09 21:15:57 +00:00
README.md 12.5 (1057) 2020-03-09 21:15:57 +00:00
textreplacegen-array.py Add morse 2019-05-21 19:36:08 +03:00
textreplacegen.py Slash commands! 2019-05-20 01:14:33 +03:00

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)
  • /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 "    ")
  • /small -> Makes text smaller (like "ᴛʜɪs")
  • /smaller -> Makes text even smaller (like "ᵗʰvˢ")
  • /flip -> Flips text (like "ʇɥıs")
  • /clap -> Please 👏 clap

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 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)
  • /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)
  • /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.

Known bugs

  • There's no help.
  • The slashcommands do not show when putting a slash (which was added in I think 9.7.2).
  • 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
  • 9.0.1
  • 9.0.2
  • 9.0.3
  • 9.0.4
  • 9.0.6
  • 9.0.9
  • 9.1.0
  • 9.3.8-SAO-Heathcliff
  • 9.3.9
  • 9.4.0
  • 9.4.2-SA
  • 9.4.3-SA
  • 9.4.5
  • 9.4.6
  • 9.4.7
  • 9.4.8
  • 9.6.3
  • 9.6.4
  • 9.6.5
  • 9.6.6
  • 9.6.7
  • 9.6.8
  • 9.7.0
  • 9.9.2
  • 9.9.3
  • 9.9.4
  • 9.9.6
  • 10.0.6
  • 10.0.7
  • 10.1.1
  • 10.1.2
  • 10.1.3
  • 10.1.5
  • 10.1.6
  • 10.1.9
  • 10.2.0
  • 10.2.1
  • 10.2.2
  • 10.2.3
  • 10.2.4
  • 10.2.5
  • 10.2.6
  • 10.2.9
  • 10.3.1
  • 10.3.2
  • 10.3.3
  • 10.4.1
  • 10.5.1
  • 11.0
  • 11.4
  • 11.5
  • 12.0-alpha1
  • 11.7
  • 12.1
  • 12.2
  • 12.3
  • 13-alpha1
  • 12.5