@discord-rose/flags-middleware
Version:
Flags middleware for discord-rose
13 lines (10 loc) • 308 B
TypeScript
import { CommandContext } from "discord-rose/dist/structures/CommandContext";
declare module 'discord-rose/dist/typings/lib' {
interface CommandContext {
flags: {
[key: string]: string | boolean
}
}
}
declare const _default: () => (ctx: CommandContext) => boolean
export default _default