Alchemy.Client.get_pins

You're seeing just the function get_pins, go back to Alchemy.Client module for more information.
Link to this function

get_pins(channel_id)

Specs

get_pins(snowflake()) :: {:ok, [Alchemy.Message.t()]} | {:error, term()}

Gets a list of pinned messages in a channel.

Examples

Cogs.def pins do
  {:ok, pinned} = Client.get_pins(message.channel_id)
  Cogs.say("there are #{length(pinned)} pins in this channel.")
end