Discord bot: certain command only for specific servers

Hello all,

I have a specific problem that I have encountered with a bot and couldn’t find a solution yet. Maybe someone is able to help?

I have this bot running on 2 servers right now (don’t plan on more) and was now encountered with a problem from a certain command.
The trigger word is for example “sun”, so any phrase including the word “sun” gets us a repsonse with a normal chat command like “it really is sunny out” (just an example).

Is it possible to make this command run in server A but not in server B?

I’ve read about the guildID but I fear it restricts the whole bot.

Any help would be greatly appreciated! Thank you in advance!