UNPKG

@bastion/tesseract

Version:

The heart and soul of the Bastion bot.

30 lines (29 loc) 836 B
import { ActivityType, PresenceStatusData, Snowflake } from "discord.js"; import { AudioPlayer } from "@discordjs/voice"; export declare namespace tesseract { interface Settings { id: Snowflake; owners?: Snowflake[]; token?: string; mongoURI?: string; presences?: { status?: PresenceStatusData; activity?: ActivityType.Playing | ActivityType.Streaming | ActivityType.Listening | ActivityType.Watching | ActivityType.Competing; name?: string; url?: string; }[]; unsafeMode?: boolean; } } export declare namespace music { interface Studio { player: AudioPlayer; queue: Song[]; } interface Song { name: string; url: string; duration: number; user: Snowflake; } }