This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/patches/slashcommands
ave 1b99304a05 Revert "Start up work on 1387"
This reverts commit c60d13a690.
2021-02-21 22:12:13 +03: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
1062.patch 14-alpha2 (1062) 2020-03-12 04:18:09 +00:00
1065.patch 14-alpha3 (1065) 2020-03-15 22:16:33 +00:00
1066.patch 14.0 (1066) 2020-03-16 23:01:33 +00:00
1069.patch 15-alpha3 (1069) 2020-03-20 02:57:04 +00:00
1073.patch 15.0 (1073) 2020-03-23 23:23:12 +00:00
1074.patch 16-alpha1 (1074) 2020-03-24 13:02:40 +00:00
1078.patch 1078 2020-03-26 11:04:08 +03:00
1084.patch 1084 2020-03-28 05:16:48 +03:00
1085.patch 16-alpha7 (1085) 2020-03-30 18:39:53 +01:00
1087.patch 𝗛𝗲𝗹𝗹𝗼,𝗚𝗼𝗿𝗱𝗼𝗻! 2020-04-01 01:37:54 +03:00
1091.patch 17.0 (1091) 2020-04-08 17:14:35 +01:00
1092.patch 18.0-alpha1 (1092) 2020-04-09 18:27:32 +01:00
1100.patch 18.0-alpha9 (1100) 2020-04-17 13:36:41 +01:00
1103.patch 18.0-alpha11 (1103) 2020-04-19 17:40:10 +01:00
1104.patch 18.0-alpha12 (1104) 2020-04-19 17:40:27 +01:00
1105.patch 19.0 (1105) 2020-04-20 17:39:02 +01:00
1107.patch 20-alpha1 (1107) 2020-04-21 18:09:54 +01:00
1123.patch Fix slashcommands patch regression 2020-04-30 02:13:48 +01:00
1132.patch 22-alpha1 (1132) 2020-05-08 14:34:21 +01:00
1134.patch 22-alpha3 (1134) 2020-05-11 21:10:13 +01:00
1144.patch CTC: Port to 1144 2020-05-17 16:41:19 +03:00
1145.patch 22.5 (1145) 2020-05-19 00:46:33 +01:00
1146.patch 23.0 (1146) 2020-05-19 03:36:48 +01:00
1148.patch Port to 1148 2020-05-25 02:57:10 +03:00
1150.patch 1150 2020-05-27 17:37:12 +03:00
1167.patch 28-alpha2 (1167) 2020-06-20 07:02:03 +01:00
1169.patch 28.1 (1169) (nice) 2020-06-24 21:12:30 +01:00
1171.patch 29-alpha1 (1171) 2020-06-25 10:52:31 +01:00
1180.patch 30.0 (1180) 2020-07-07 23:35:46 +03:00
1181.patch 30.1 (1181) 2020-07-08 23:39:26 +03:00
1192.patch 31-alpha1 (1192) 2020-07-09 23:43:13 +03:00
1196.patch 31-alpha2 (1196) 2020-07-10 17:34:11 +03:00
1200.patch 32-alpha2 (1200) 2020-07-18 13:54:51 +03:00
1201.patch 32.0 (1201) 2020-07-21 00:32:11 +03:00
1208.patch 33.1 (1208) 2020-07-25 20:16:02 +03:00
1213.patch Implement gif autoplay option 2020-07-31 19:12:01 +03:00
1216.patch 34.2 2020-07-31 21:43:10 +03:00
1218.patch 34.3 2020-08-01 14:48:14 +03:00
1223.patch add ctc commands and subcommands to autocomplete 2020-08-12 20:02:29 +02:00
1243.patch 36.3 (1243) 2020-08-20 13:27:16 +03:00
1246.patch 36.5 (1246) 2020-08-22 13:36:16 +03:00
1249.patch 38.0 (1249) 2020-08-27 15:14:03 +03:00
1251.patch 38.1 (1251) 2020-09-07 11:16:46 +01:00
1252.patch 38.1 (1252) 2020-09-08 10:58:21 +01:00
1259.patch 40.04 (1259) 2020-09-13 12:14:34 +01:00
1266.patch 41.02 (1266) 2020-09-15 09:48:20 +01:00
1270.patch 41.05 (1270) 2020-09-16 11:27:08 +01:00
1273.patch 41.06 (1273) 2020-09-17 10:38:27 +01:00
1279.patch 41.10 (1279) 2020-09-23 12:24:52 +01:00
1280.patch 41.11 (1280) 2020-09-24 10:58:57 +01:00
1281.patch 42.0 (1281) 2020-09-29 14:13:40 +01:00
1282.patch 42.1 (1282) 2020-09-30 13:01:03 +01:00
1284.patch 42.3 (1284) 2020-10-01 01:21:40 +01:00
1290.patch 44-alpha2 (1290) 2020-10-06 19:06:18 +01:00
1294.patch 44-alpha4 (1294) 2020-10-11 17:15:08 +01:00
1295.patch 44.5 (1295) 2020-10-15 15:18:50 +01:00
1298.patch 44.6 (1298) 2020-10-17 16:09:18 +01:00
1300.patch 45.2 (1300) 2020-10-20 01:04:24 +01:00
1301.patch 46.0 (1301) 2020-10-27 21:47:44 +00:00
1304.patch 46.3 (1304) 2020-11-02 13:50:03 +00:00
1306.patch 48.0 (1306) 2020-11-05 15:14:59 +00:00
1307.patch 48.1 (1307) 2020-11-08 15:08:44 +00:00
1310.patch 48.2 (1310) 2020-11-09 19:13:11 +00:00
1315.patch 49.1 (1315) 2020-11-10 19:24:37 +00:00
1318.patch 49.2 (1318) 2020-11-11 12:22:17 +00:00
1330.patch 49.8 (1330) 2020-11-13 15:21:45 +00:00
1334.patch 49.10 (1334) 2020-11-16 14:20:51 +00:00
1339.patch 49.12 (1339) 2020-11-19 15:28:50 +00:00
1340.patch 49.13 (1340) 2020-11-20 16:36:30 +00:00
1355.patch Fix all slashcommands patches 2020-12-13 05:53:12 +00:00
1356.patch Fix all slashcommands patches 2020-12-13 05:53:12 +00:00
1358.patch 53.1 (1358) + patchport.py performance improvements + small BUILDING.md corrections 2021-01-05 15:33:23 -05:00
1361.patch 53.3 (1361) + 54.0 (1362) 2021-01-05 16:06:09 -05:00
1362.patch 53.3 (1361) + 54.0 (1362) 2021-01-05 16:06:09 -05:00
1365.patch 53.6 (1365) 2021-01-05 16:23:38 -05:00
1367.patch 53.8 (1367) 2021-01-05 16:44:17 -05:00
1368.patch 54.0 but better (1368) 2021-01-05 16:52:52 -05:00
1370.patch 55.1 (1370) 2021-01-05 17:01:54 -05:00
1371.patch 56.0 (1371) 2021-01-05 17:09:25 -05:00
README.md Revert "Start up work on 1387" 2021-02-21 22:12:13 +03:00
textreplacegen-array.py 𝗛𝗲𝗹𝗹𝗼,𝗚𝗼𝗿𝗱𝗼𝗻! 2020-04-01 01:37:54 +03:00
textreplacegen.py Slash commands! 2019-05-20 01:14:33 +03:00

README.md

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 "    ")
  • /gordon -> 𝗛𝗲𝗹𝗹𝗼𝗚𝗼𝗿𝗱𝗼𝗻
  • /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. (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)
  • /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.
  • 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
  • 14-alpha2
  • 14-alpha3
  • 14.0
  • 15-alpha3
  • 15.0
  • 16
  • 17.0
  • 18.0-alpha1
  • 18.0-alpha9
  • 18.0-alpha11
  • 18.0-alpha12
  • 19.0
  • 20-alpha1
  • 21-alpha2
  • 22-alpha1
  • 21.3
  • 22-alpha3-alpha1
  • 16
  • 17.0
  • 18.0-alpha1
  • 18.0-alpha9
  • 18.0-alpha11
  • 18.0-alpha12
  • 19.0
  • 20-alpha1
  • 21-alpha2
  • 22-alpha1
  • 21.3
  • 22-alpha3-alpha4
  • 16
  • 17.0
  • 18.0-alpha1
  • 18.0-alpha9
  • 18.0-alpha11
  • 18.0-alpha12
  • 19.0
  • 20-alpha1
  • 21-alpha2
  • 22-alpha1
  • 21.3
  • 22-alpha3-alpha6
  • 16
  • 17.0
  • 18.0-alpha1
  • 18.0-alpha9
  • 18.0-alpha11
  • 18.0-alpha12
  • 19.0
  • 20-alpha1
  • 21-alpha2
  • 22-alpha1
  • 21.3
  • 22-alpha3-alpha7
  • 16
  • 17.0
  • 18.0-alpha1
  • 18.0-alpha9
  • 18.0-alpha11
  • 18.0-alpha12
  • 19.0
  • 20-alpha1
  • 21-alpha2
  • 22-alpha1
  • 21.3
  • 22-alpha3
  • 22.4
  • 22.5
  • 23.0
  • 24-alpha2
  • 24
  • 28-alpha2
  • 28.1
  • 29-alpha1
  • 30.0
  • 30.1
  • 31-alpha1
  • 31-alpha2
  • 32-alpha2
  • 32.0
  • 33.1
  • 34.0
  • 34.2
  • 34.3
  • 35.0-alpha1
  • 36.3
  • 36.5
  • 38.0
  • 38.1
  • 40.04
  • 41.02
  • 41.05
  • 41.06
  • 41.10
  • 41.11
  • 42.0
  • 42.1
  • 42.3
  • 44-alpha2
  • 44-alpha4
  • 44.5
  • 44.6
  • 45.2
  • 46.0
  • 46.3
  • 48.0
  • 48.1
  • 48.2
  • 49.1
  • 49.2
  • 49.8
  • 49.10
  • 49.12
  • 49.13
  • 52.3
  • 53.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.1
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0
  • 53.3
  • 54.0
  • 55.1
  • 56.0
  • 53.6
  • 53.8
  • 54.0
  • 55.1
  • 56.0