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
2019-05-26 22:31:51 +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: add account switcher 2019-05-26 22:31:51 +03:00
README.md Slashcommands: add account switcher 2019-05-26 22:31:51 +03: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.

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)
  • /me -> Display text with emphasis (same as Discord Desktop)
  • /st -> Puts a strikethrough the message
  • /shrug -> Appends ¯\(ツ)/¯ to your message (same as Discord Desktop)
  • /tableflip -> Appends (╯°□°)╯︵ ┻━┻ to your message (same as Discord Desktop)
  • /unflip -> Appends ┬─┬ ( ゜-゜ノ) to your message (same as Discord Desktop)
  • /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 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)
  • /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.

Available and tested on:

  • 9.0.0
  • 9.0.1
  • 9.0.2
  • 9.0.3