All files / src/modules/bot/reactionRoles/types index.ts

0% Statements 0/12
0% Branches 0/4
0% Functions 0/2
0% Lines 0/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40                                                                               
import { Channel, Emoji, Message, Role, TextChannel } from "discord.js";
 
export interface ReactionsType {
	message: Message["id"];
	channel: Channel["id"];
	role: Role["id"];
	emoji: Emoji["name"] | Emoji["identifier"];
	option: REACTION_OPTIONS;
}
 
export enum REACTION_OPTIONS {
	_1 = 1,
	_2 = 2,
	_3 = 3,
	_4 = 4,
	_5 = 5,
	_6 = 6,
}
 
export enum FetchType {
	All = "All",
	Channel = "Channel",
}
 
export interface IReactionArray {
	message: string;
	channel: string;
	role: string;
	emoji: string;
	option: number;
}
 
export interface IReaction {
	Channel: TextChannel["id"];
	Message: Message["id"];
	Role: Role["id"];
	Emoji: Emoji["id"] | Emoji["identifier"];
	Option?: REACTION_OPTIONS;
}