♻️ Cleaned lots of code and change getvip implementation
getVip is no longer time limited, it will remove it once a limit of vip users is reached (to be implemented)
This commit is contained in:
11
src/interfaces/RedemptionMessage.ts
Normal file
11
src/interfaces/RedemptionMessage.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export interface RedemptionMessage {
|
||||
id: string;
|
||||
channelId: string;
|
||||
rewardId: string;
|
||||
rewardName: string;
|
||||
rewardImage: string;
|
||||
message?: string;
|
||||
userId: string;
|
||||
userDisplayName: string;
|
||||
backgroundColor: string;
|
||||
}
|
@@ -1,7 +1,9 @@
|
||||
import { ActionType } from "../../enums/ActionType";
|
||||
|
||||
export interface Action {
|
||||
type: string;
|
||||
channelId: string;
|
||||
userId: string;
|
||||
scheduledAt?: number;
|
||||
data: any;
|
||||
}
|
||||
type: ActionType;
|
||||
channelId: string;
|
||||
userId: string;
|
||||
scheduledAt?: number;
|
||||
data: any;
|
||||
}
|
||||
|
@@ -1,8 +1,9 @@
|
||||
import { Action } from "./Action";
|
||||
import { ActionType } from "../../enums/ActionType";
|
||||
|
||||
export interface SayAction extends Action {
|
||||
type: "say";
|
||||
data: {
|
||||
message: "string";
|
||||
}
|
||||
}
|
||||
type: ActionType.Say;
|
||||
data: {
|
||||
message: string;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user