cutthecord/patches/slashcommands/README.md

35 lines
1.7 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 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: clap
CutTheCord has a couple features that can be enabled or disabled 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)
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