forked from distok/cutthecord
slashcommands: Add lenny, small, smaller, flip, clap, owo
Also I did minor optimizations on the performance of message speed by ensuring that message starts with / before sending it through slashCommands function OwO is untested.
This commit is contained in:
parent
835d0dffe1
commit
cdc9b03ebf
3 changed files with 1053 additions and 20 deletions
|
@ -3,18 +3,26 @@
|
|||
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
|
||||
- /lower
|
||||
- /bold
|
||||
- /spoiler
|
||||
- /me
|
||||
- /st (strikethrough)
|
||||
- /shrug
|
||||
- /tableflip
|
||||
- /unflip
|
||||
- /fw (fullwidth text)
|
||||
- /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
|
||||
|
||||
Commands like fw can be generated by `textreplacegen.py` provided in this folder.
|
||||
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")
|
||||
- /small -> Makes text smaller (like "ᴛʜɪs")
|
||||
- /smaller -> Makes text even smaller (like "ᵗʰvˢ")
|
||||
- /flip -> Flips text (like "ʇɥıs")
|
||||
- /clap -> Please :clap: clap
|
||||
|
||||
Commands like fw can be generated by `textreplacegen.py` or `textreplacegen-array.py` provided in this folder.
|
||||
|
||||
#### Available and tested on:
|
||||
- 9.0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue