Skip to content

luxploit/azeal-tsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azeal bot

based of phantom-im/im-discord-bot

Options for Commands

Slash Commands:

    let {
        global = false,
        guild_id = 0,
        name,
        desc,
        requiredRoles = [],
        permissions = [],
        options = [],
        callback
    } = commandOptions;

    export const options = [
    {
        name: '',
        description: '',
        required: true/false,
        type: //https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type
    },
    ...
]

Event Commands:

    let {
        restricted = true,
        guild_id = 0,
        name,
        eventType, 
        callback
    } = commandOptions; 

Legacy Commands: (Deprecated, Not Recommended)

    let {
        restricted = false,
        guild_id = 0,
        name,
        desc,
        commands,
        expectedArguments = "",
        minimumArguments = 0,
        maxmimumArguments = 0,
        requiredRoles =  [],
        permissions =  [],
        callback
    } = commandOptions;

About

Azeal's Discord Bot in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published