Stickers and sticker packs.
Every function returns {:ok, result}, :ok when Discord sends no body, or
{:error, %Lingo.Error{}}. Calls go to the current bot (see Lingo.with_bot/2).
Summary
Functions
Creates a guild sticker.
Deletes a guild sticker.
Fetches a sticker.
Fetches a guild sticker.
Fetches a sticker pack.
Lists a guild's stickers.
Lists Discord's sticker packs.
Edits a guild sticker.
Functions
@spec create_guild(Lingo.Api.id(), Lingo.Api.params(), keyword()) :: Lingo.Api.result(Lingo.Type.Sticker.t())
Creates a guild sticker.
@spec delete_guild(Lingo.Api.id(), Lingo.Api.id(), keyword()) :: Lingo.Api.result()
Deletes a guild sticker.
@spec get(Lingo.Api.id()) :: Lingo.Api.result(Lingo.Type.Sticker.t())
Fetches a sticker.
@spec get_guild(Lingo.Api.id(), Lingo.Api.id()) :: Lingo.Api.result(Lingo.Type.Sticker.t())
Fetches a guild sticker.
@spec get_pack(Lingo.Api.id()) :: Lingo.Api.result(Lingo.Type.StickerPack.t())
Fetches a sticker pack.
@spec list_guild(Lingo.Api.id()) :: Lingo.Api.result([Lingo.Type.Sticker.t()])
Lists a guild's stickers.
@spec list_packs() :: Lingo.Api.result([Lingo.Type.StickerPack.t()])
Lists Discord's sticker packs.
@spec update_guild(Lingo.Api.id(), Lingo.Api.id(), Lingo.Api.params(), keyword()) :: Lingo.Api.result(Lingo.Type.Sticker.t())
Edits a guild sticker.