镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Convert !commands to slash commands #131

Open

Description

@nickserv

Inspired by #46

Application commands provide a better UX for running bot commands in Discord (fixing common issues of ours like moderators having to delete commands that users accidentally run) while also allowing for more relaxed bot permissions.

Once we upgrade to discord.js 13, we can use their registering slash commands example.

Activity

  1. vcarl commented on Dec 17, 2021

    @vcarl
    Member

    This seems like one benefit we'd get by updating discord.js, maybe that's a better title?

  2. nickserv commented on Dec 18, 2021

    @nickserv
    ContributorAuthor

    I'm intentionally keeping this as a separate issue, since this is more of a UX improvement and the handler format is not required in discord.js 13. Neither PR has this yet, and I might move the refactor to another PR anyway to make it easier to review.

  3. nickserv commented on Dec 19, 2021

    @nickserv
    Author
  4. vcarl commented on Dec 20, 2021

    @vcarl
  5. changed the title [-]Enable application commands[/-] [+]Convert !commands to application/slash commands[/+] on Dec 20, 2021
  6. self-assigned this
    on Dec 30, 2021
  7. nickserv commented on Jan 2, 2022

    @nickserv
    ContributorAuthor

    Renaming to specifically use slash commands, since we don't seem to need the other application command types (user and message context menu commands) yet. Slash commands are specifically used when typing messages, which is most similar to how we're currently using the bot.

  8. changed the title [-]Convert !commands to application/slash commands[/-] [+]Convert !commands to slash commands[/+] on Jan 2, 2022
  9. linked a pull request that will close this issueRegister slash commands #148on Jan 2, 2022
  10. nickserv commented on May 27, 2022

    @nickserv
    ContributorAuthor

    What's the status of this? I noticed another PR got merged, but I'm not seeing our slash commands on Discord.

  11. vcarl commented on May 27, 2022

    @vcarl
    Member

    I haven't made any changes to affect this, but I did implement command deployment in #198 which should facilitate this. Our only command atm is the anonymous report

    const cmds: CommandConfig[] = [report];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions