Alchemy.Cogs.guild
You're seeing just the macro
guild
, go back to Alchemy.Cogs module for more information.
Gets the guild struct from which a command was triggered.
If only the id is needed, see :guild_id/0
Examples
Cogs.def guild do
{:ok, %Alchemy.Guild{name: name}} = Cogs.guild()
Cogs.say(name)
end