If you find any issues, please report them!
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: Mah M UD
cmds is a command for GoatBot v2 that provides a paginated list of available commands stored in a remote JSON file. It allows users to search for commands by name, first letter, or page number. Users can also retrieve command URLs.
- Name: cmds
- Author: MahMUD
- Version: 1.7
- Category: General
- Role Required: 0 (Everyone)
- Cooldown: 3 seconds
✅ View all available commands with pagination
✅ Search commands by name or starting letter
✅ Retrieve command details (author, last update)
✅ Get the command’s URL by replying with its number
- Displays the first 10 commands along with their author and last update.
- Includes pagination details and a tip to see the next page.
- Shows the next set of 10 commands.
- If the page number is invalid, an error message is displayed.
- Returns details of the command if found.
- If no matching command exists, it returns an error message.
- Displays all commands that start with "a".
- If no commands match, it returns an error.
- After running
!cmds, reply with the command number to get its URL. - Example:
Bot response:
!cmds╭─‣ 1: baby ├‣ Author: MahMUD ├‣ Update: 21-03-2024 ╰────────────◊- Reply with 1 to get the URL for "baby".
axios- Used to fetch the command list and URLs from GitHub.
-
Make sure
axiosis installed in your project: -
Add the
cmdscommand file to your GoatBotcommandsdirectory.
- The command fetches data from:
- Commands List:
CMDSRUL.json - Command URLs:
CMDS.json - If a command is not found, an error message is shown.
- Pagination ensures that only 10 commands are displayed per page.
Maintained by: MahMUD
If you find any issues, please report them!
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: MahMUD


