Alchemy.Cogs.guild_id
You're seeing just the macro
guild_id
, go back to Alchemy.Cogs module for more information.
Gets the id of the guild from which a command was triggered.
Returns {:ok, id}
, or {:error, why}
. Will never return ok outside
of a guild, naturally.
This is to be used when the guild_id is necessary for an operation,
but the full guild struct isn't needed.