DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::Stickers Class Reference

An interface class for the Sticker related Discord endpoints. More...

#include <StickerEntities.hpp>

Static Public Member Functions

static CoRoutine< StickercreateGuildStickerAsync (CreateGuildStickerData dataPackage)
 Creates a new Sticker within a chosen Guild.
 
static CoRoutine< void > deleteGuildStickerAsync (DeleteGuildStickerData dataPackage)
 Deletes a Sticker within a chosen Guild.
 
static CoRoutine< std::vector< Sticker > > getGuildStickersAsync (GetGuildStickersData dataPackage)
 Gets a list of Stickers from a Guild.
 
static CoRoutine< std::vector< StickerPackData > > getNitroStickerPacksAsync ()
 Gets a list of nitro-available Sticker packs.
 
static CoRoutine< StickergetStickerAsync (GetStickerData dataPackage)
 Gets a single Sticker item.
 
static CoRoutine< StickermodifyGuildStickerAsync (ModifyGuildStickerData dataPackage)
 Modifies a Sticker within a chosen Guild.
 

Member Function Documentation

◆ createGuildStickerAsync()

CoRoutine< Sticker > DiscordCoreAPI::Stickers::createGuildStickerAsync ( CreateGuildStickerData  dataPackage)
static
Parameters
dataPackageA CreateGuildStickerData structure.
Returns
A CoRoutine containing a Sticker.

Definition at line 111 of file StickerEntities.cpp.

◆ deleteGuildStickerAsync()

CoRoutine< void > DiscordCoreAPI::Stickers::deleteGuildStickerAsync ( DeleteGuildStickerData  dataPackage)
static
Parameters
dataPackageA DeleteGuildStickerData structure.
Returns
A CoRoutine containing void.

Definition at line 150 of file StickerEntities.cpp.

◆ getGuildStickersAsync()

CoRoutine< std::vector< Sticker > > DiscordCoreAPI::Stickers::getGuildStickersAsync ( GetGuildStickersData  dataPackage)
static
Parameters
dataPackageA GetGuildStickersData structure.
Returns
A CoRoutine containing a StickerVector.

Definition at line 101 of file StickerEntities.cpp.

◆ getNitroStickerPacksAsync()

CoRoutine< std::vector< StickerPackData > > DiscordCoreAPI::Stickers::getNitroStickerPacksAsync ( )
static
Returns
A CoRoutine containing a StickerPackDataVector.

Definition at line 91 of file StickerEntities.cpp.

◆ getStickerAsync()

CoRoutine< Sticker > DiscordCoreAPI::Stickers::getStickerAsync ( GetStickerData  dataPackage)
static
Parameters
dataPackageA GetStickerData structure.
Returns
A CoRoutine containing a Sticker.

Definition at line 81 of file StickerEntities.cpp.

◆ modifyGuildStickerAsync()

CoRoutine< Sticker > DiscordCoreAPI::Stickers::modifyGuildStickerAsync ( ModifyGuildStickerData  dataPackage)
static
Parameters
dataPackageA ModifyGuildStickerData structure.
Returns
A CoRoutine containing a Sticker.

Definition at line 131 of file StickerEntities.cpp.


The documentation for this class was generated from the following files: