set guild-only commands

is there any way to set some commands to be only available in certain guilds with IDs, and other commands get deployed globally?
Was this page helpful?