aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushGuildEmojiRoleManager.d.ts
blob: 6e36292f6a3b7ac2e22b9f72ea654e74bf30741f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { Collection, DataManager, Snowflake } from 'discord.js';
import { BushClient, BushRoleResolvable } from '../discord-akairo/BushClient';
import { BushGuild } from './BushGuild';
import { BushGuildEmoji } from './BushGuildEmoji';
import { BushRole } from './BushRole';

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>;
}