aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushGuildEmoji.ts
blob: 2c9d36b59d06f5f84171c1a4e460e4d5159df7ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import type { BushClient, BushGuild, BushGuildEmojiRoleManager, BushUser } from '#lib';
import { GuildEmoji } from 'discord.js';
import type { RawGuildEmojiData } from 'discord.js/typings/rawDataTypes';

/**
 * Represents a custom emoji.
 */
export class BushGuildEmoji extends GuildEmoji {
	public declare readonly client: BushClient;
	public declare guild: BushGuild;
	public declare author: BushUser | null;
	public declare readonly roles: BushGuildEmojiRoleManager;

	public constructor(client: BushClient, data: RawGuildEmojiData, guild: BushGuild) {
		super(client, data, guild);
	}
}