TextEditor
This is the cog guide for the ‘TextEditor’ cog. This guide contains the collection of commands which you can use in the cog.
Through this guide, [p] will always represent your prefix. Replace
[p] with your own prefix when you use these commands in Discord.
Note
This guide was last updated for version 3.4.4. Ensure
that you are up to date by running [p]cog update texteditor.
If there is something missing, or something that needs improving in this documentation, feel free to create an issue here.
This documentation is auto-generated everytime this cog receives an update.
About this cog
Edit and manipulate with text.
Commands
Here are all the commands included in this cog (25):
Command |
Help |
|---|---|
|
Base command for editing text. |
|
Convert the text to alternating case. |
|
Bullet point a selection of items. |
|
Count the number of characters appearing in the text. |
|
Format a number with commas. |
|
Calculate the Levenshtein distance between two words. |
|
Convert the text to lowercase. |
|
Multiply the text. |
|
Count how many times something appears in the text. |
|
Checks for any palindromes within the text. |
|
Generate permutations for given combinations of words/digits. |
|
Remove something from the text. |
|
Replace certain parts of the text. |
|
Reverse the text. |
|
Shlex split a given string. |
|
Shuffle the word order in the text. |
|
Convert all spaces to underscores. |
|
Squash all the words into one. |
|
Swap the casing for text. |
|
Convert the text to titlecase. |
|
Trim the outskirts of the text. |
|
Scrambles all letters except the first and last letters in a word. Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn’t mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. |
|
Convert the text to uppercase. |
|
Count the number of words appearing in the text. |
|
Wrap the text. |
Installation
If you haven’t added my repo before, lets add it first. We’ll call it “kreusada-cogs” here.
[p]repo add kreusada-cogs https://github.com/Kreusada/Kreusada-Cogs
Now, we can install TextEditor.
[p]cog install kreusada-cogs texteditor
Once it’s installed, it is not loaded by default. Load it by running the following command:
[p]load texteditor
Further Support
For more support, head over to the cog support server, I have my own channel over there at #support_kreusada-cogs. Feel free to join my personal server whilst you’re here.