forked from distok/cutthecord
.. | ||
900.patch | ||
901.patch | ||
902.patch | ||
903.patch | ||
904.patch | ||
906.patch | ||
909.patch | ||
910.patch | ||
938.patch | ||
939.patch | ||
940.patch | ||
942.patch | ||
943.patch | ||
945.patch | ||
946.patch | ||
947.patch | ||
948.patch | ||
963.patch | ||
964.patch | ||
965.patch | ||
966.patch | ||
967.patch | ||
968.patch | ||
970.patch | ||
980.patch | ||
992.patch | ||
993.patch | ||
994.patch | ||
996.patch | ||
1006.patch | ||
1007.patch | ||
1011.patch | ||
1012.patch | ||
1013.patch | ||
1015.patch | ||
1016.patch | ||
1019.patch | ||
1020.patch | ||
1021.patch | ||
1022.patch | ||
1023.patch | ||
1024.patch | ||
1025.patch | ||
1026.patch | ||
1029.patch | ||
1031.patch | ||
1032.patch | ||
1033.patch | ||
1036.patch | ||
1037.patch | ||
1040.patch | ||
1041.patch | ||
1045.patch | ||
1046.patch | ||
1047.patch | ||
1049.patch | ||
1052.patch | ||
1053.patch | ||
1054.patch | ||
1056.patch | ||
1057.patch | ||
1062.patch | ||
1065.patch | ||
1066.patch | ||
1069.patch | ||
1073.patch | ||
1074.patch | ||
1078.patch | ||
1084.patch | ||
1085.patch | ||
1087.patch | ||
1091.patch | ||
1092.patch | ||
1100.patch | ||
1103.patch | ||
1104.patch | ||
1105.patch | ||
1107.patch | ||
1123.patch | ||
1132.patch | ||
1134.patch | ||
1144.patch | ||
1145.patch | ||
1146.patch | ||
1148.patch | ||
1150.patch | ||
1167.patch | ||
1169.patch | ||
1171.patch | ||
1180.patch | ||
1181.patch | ||
1192.patch | ||
1196.patch | ||
1200.patch | ||
1201.patch | ||
1208.patch | ||
1213.patch | ||
1216.patch | ||
1218.patch | ||
1223.patch | ||
1243.patch | ||
1246.patch | ||
1249.patch | ||
1251.patch | ||
1252.patch | ||
1259.patch | ||
1266.patch | ||
1270.patch | ||
1273.patch | ||
1279.patch | ||
1280.patch | ||
1281.patch | ||
1282.patch | ||
1284.patch | ||
1290.patch | ||
1294.patch | ||
1295.patch | ||
1298.patch | ||
1300.patch | ||
1301.patch | ||
1304.patch | ||
1306.patch | ||
1307.patch | ||
1310.patch | ||
1315.patch | ||
1318.patch | ||
1330.patch | ||
1334.patch | ||
1339.patch | ||
1340.patch | ||
1355.patch | ||
1356.patch | ||
1358.patch | ||
1361.patch | ||
1362.patch | ||
1365.patch | ||
1367.patch | ||
1368.patch | ||
1370.patch | ||
1371.patch | ||
README.md | ||
textreplacegen-array.py | ||
textreplacegen.py |
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 "Sent from my Android Device")
- /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
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.1
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11
- 53.3
- 54.0
- 55.1
- 56.0
- 57.11
- 53.6
- 53.8
- 54.0
- 55.1
- 56.0
- 57.11