discord-leveling-super
Version:
Easy and customizable leveling framework for your Discord bot.
19 lines (16 loc) • 458 B
TypeScript
import { Message } from 'discord.js'
type FilterFunction = (msg?: Message) => boolean
export interface SettingsTypes {
xp: number | [number, number]
maxXP: number
multiplier: number
status: boolean
ignoredUsers: string[],
lockedChannels: string[]
ignoreBots: boolean,
filter: string | Function | FilterFunction
}
export interface SettingsArrays {
ignoredUsers: string[],
lockedChannels: string[]
}