add interfaces
This commit is contained in:
parent
c28b37b0e9
commit
4ae5989fd5
@ -1,3 +1,5 @@
|
||||
import { Collection } from "@discordjs/collection"
|
||||
import { Role } from "discord.js"
|
||||
|
||||
export type Maybe<T> = T | undefined
|
||||
export interface Player {
|
||||
@ -25,5 +27,9 @@ export const errorCodes = {
|
||||
no_repetition_amount: 'no_repetition_amount',
|
||||
invalid_repetition_string: 'invalid_repetition_string',
|
||||
no_creator_id: "no_creator_id",
|
||||
|
||||
}
|
||||
export interface ChangedRoles {
|
||||
addedRoles: Collection<string, Role>
|
||||
removedRoles: Collection<string, Role>
|
||||
}
|
||||
export type PermissionLevel = "VIEWER" | "ADMIN"
|
||||
|
Loading…
Reference in New Issue
Block a user