blob: 3aae4f0c5e62ee61d279e70d31adb29027b60618 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import type { BushClient, BushGuild, BushGuildEmoji, BushRole, BushRoleResolvable } from '#lib';
import { DataManager, type Collection, type Snowflake } from 'discord.js';
export class BushGuildEmojiRoleManager extends DataManager<Snowflake, BushRole, BushRoleResolvable> {
public constructor(emoji: BushGuildEmoji);
public declare readonly client: BushClient;
public emoji: BushGuildEmoji;
public guild: BushGuild;
public add(
roleOrRoles: BushRoleResolvable | readonly BushRoleResolvable[] | Collection<Snowflake, BushRole>
): Promise<BushGuildEmoji>;
public set(roles: readonly BushRoleResolvable[] | Collection<Snowflake, BushRole>): Promise<BushGuildEmoji>;
public remove(
roleOrRoles: BushRoleResolvable | readonly BushRoleResolvable[] | Collection<Snowflake, BushRole>
): Promise<BushGuildEmoji>;
}
|