Skip to content

mahmudx7/HINATA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,257 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

icon Messenger Bot Commands Store by MahMUD.

If you find any issues, please report them!

𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: Mah M UD

>🎀 Mah MUD

Description

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.

Command Information

  • Name: cmds
  • Author: MahMUD
  • Version: 1.7
  • Category: General
  • Role Required: 0 (Everyone)
  • Cooldown: 3 seconds

Features

✅ 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

Usage

Detailed Usage Instructions:

1. View the first page of commands

  • Displays the first 10 commands along with their author and last update.
  • Includes pagination details and a tip to see the next page.

2. View a specific page (e.g., page 2)

  • Shows the next set of 10 commands.
  • If the page number is invalid, an error message is displayed.

3. Search for a command by its full name

  • Returns details of the command if found.
  • If no matching command exists, it returns an error message.

4. Search commands starting with a specific letter

  • Displays all commands that start with "a".
  • If no commands match, it returns an error.

5. Retrieve a command’s URL

  • After running !cmds, reply with the command number to get its URL.
  • Example:
    !cmds
    
    Bot response:
    ╭─‣ 1: baby
    ├‣ Author: MahMUD
    ├‣ Update: 21-03-2024
    ╰────────────◊
    
    • Reply with 1 to get the URL for "baby".

Example OutputOutput

Dependencies

  • axios - Used to fetch the command list and URLs from GitHub.

Installation

  1. Make sure axios is installed in your project:

  2. Add the cmds command file to your GoatBot commands directory.

Notes

  • 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

Releases

No releases published

Packages

 
 
 

Contributors