Skip to content

Add FAQ about guild specific app commands #10231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Soheab
Copy link
Contributor

@Soheab Soheab commented Jul 20, 2025

Summary

This PR adds a FAQ entry that shows all the ways to define a guild specific app command.

A note was added to copy_global_to as that method is commonly mis used or understood as a way to make commands guild specific. I'm not sure if there is a way to link to a specific FAQ.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

Copy link
Owner

@Rapptz Rapptz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this FAQ entry is flawed.

The question is probably closer to "How do I restrict a command to a specific guild?" and the answer to that question is slightly different to the one being proposed here, though it does have some similarities such as a guild command.

I suggest rewording the sentence and answer with that in mind instead.

Comment on lines +251 to +257
.. note::

You probably do not want to use this. This is mainly for development purposes.

See other ways of declaring a guild specific command in the FAQ.


Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. note::
You probably do not want to use this. This is mainly for development purposes.
See other ways of declaring a guild specific command in the FAQ.

The docstring already mentions this. Repeating this adds no value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants