Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/higa/deno/client/managers/index.ts>EmojiManager

A package to interract with the Discord API coded by myself
Latest
class EmojiManager
import { EmojiManager } from "https://deno.land/x/higa@0.1.2/deno/client/managers/index.ts";

Constructors

new
EmojiManager(
token: string,
tokenType: string,
version: APIVersions,
)

Properties

readonly
version: APIVersions

API Version

Methods

createEmoji(guildId: string, options: CreateGuildEmojiOptions): Promise<Emoji>

Create an emoji

deleteEmoji(
guildId: string,
emojiId: string,
reason?: string,
): Promise<void>

Delete an emoji

getEmoji(guildId: string, emojiId: string): Promise<Emoji>

Get an emoji

listEmojis(guildId: string): Promise<Emoji[]>

List guild emojis

modifyEmoji(
guildId: string,
emojiId: string,
): Promise<Emoji>

Modify an emoji