/hack-n-slash

A slash commands bot using guild commands as a custom commands alternative.

Primary LanguageTypeScriptMIT LicenseMIT

hack-n-slash

A slash commands bot using guild commands as a custom commands alternative.

This service uses slash-create to handle slash commands and redis as a storage provider.

Custom commands use Tempura to handle the command logic.

{{#expect ...}} is called before the rest of the template is compiled and run.

When searching for existing commands (update, info, delete), the service will return the top 20 matches.

You can invite the universal deployment here.

License

All I ask is that you follow the given LICENSE.

Do not add your own instance to a bot list, while I won't actively hunt you down - most or all lists do not allow direct copies.

Consider this your only warning.

Context (Incomplete listing)

Full list of data available in the context

  • ...data:
  • interactionID: The ID of the interaction.
  • guildID: The ID of the guild.
  • channelID: The ID of the channel.
  • command: The command entry found from the database.
  • users, members, roles, channels, messages - all resolved by ID.
  • targetMember, targetUser, targetMessage - are dependent on the command being run (user, user, message respectively).

Feature requests

  • Additional context blocks
  • Custom context blocks
  • Permission handling - Discord has announced to rework the integration page, very unlikely that this will be implemented.
  • Command aliases - Not physically possible.
  • Command cooldowns - Maybe... though would end up being completely optional - set after creation.
  • Message Options
    • Components
    • Command Arguments
    • Subcommands
    • Rich Embeds