Skip to content

global or guild based command specifier #3362

Discussion options

You must be logged in to vote

There's a couple ways you can already accomplish this:

  • Checking whether guild_id in the interaction is null
  • Keeping track of the id of the command, if you have duplicates between guild and global commands. i.e. my global /ban is always 1234 and guild /ban is anything else
  • Checking for the member resolved object

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RedDaedalus
Comment options

Answer selected by msciotti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
Converted from issue

This discussion was converted from issue #2935 on July 01, 2021 19:43.