-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 3.5.0-dev-0 Refactored database code. Returned prefixes for text command in /help command Fixed bug when command /playfile are bypass queue limits. Fixed bug when bot leaving guild, the guild settings are not deleted. * 3.5.0-dev-1 Saving data to a database now works correctly. Added 24/7 mode to player and command /247. Command /help now displays prefixes. Renaming of audioplayer components. * 3.5.0-dev-2 Changed GitHub Action for linters, to run ESLint and Prettier in parallel. Linters fix to pass code quality test. Little fix in setLeaveOnEmpty in PlayerInstance.ts * 3.5.0-dev-3 Added a text to wiki about command /247 * 3.5.0-dev-4 Removed song history and voice status fields from guild schema. Renaming of player components.
- Loading branch information
1 parent
c4cbd2a
commit 27fa04e
Showing
42 changed files
with
837 additions
and
653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
import { Client, ClientEvents, Collection } from 'discord.js'; | ||
import { ICommand, ICommandGroup } from './CommandTypes.js'; | ||
import { AudioPlayerCore } from './audioplayer/AudioPlayerCore.js'; | ||
import { AudioPlayersManager } from './audioplayer/AudioPlayersManager.js'; | ||
|
||
declare module 'discord.js' { | ||
export interface Client { | ||
commands: Collection<string, ICommand>; | ||
commandsGroups: Collection<string, ICommandGroup>; | ||
audioPlayer: AudioPlayerCore; | ||
audioPlayer: AudioPlayersManager; | ||
} | ||
} | ||
|
||
export interface BotEvent { | ||
name: keyof ClientEvents; | ||
once?: boolean | false; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
execute: (client: Client, ...args: any) => void; | ||
} |
Oops, something went wrong.