re add required events
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
This commit is contained in:
parent
0abe25c30c
commit
84bb6e56b4
2 changed files with 14 additions and 0 deletions
7
src/events/player/connectionError.ts
Normal file
7
src/events/player/connectionError.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import { GuildQueue } from "discord-player";
|
||||||
|
import { Metadata } from "../../utils/metadata";
|
||||||
|
|
||||||
|
/** https://discord-player.js.org/docs/main/master/typedef/PlayerEvents */
|
||||||
|
export default (_: GuildQueue<Metadata>, error: Error) => {
|
||||||
|
console.error(error);
|
||||||
|
};
|
7
src/events/player/error.ts
Normal file
7
src/events/player/error.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import { GuildQueue } from "discord-player";
|
||||||
|
import { Metadata } from "../../utils/metadata";
|
||||||
|
|
||||||
|
/** https://discord-player.js.org/docs/main/master/typedef/PlayerEvents */
|
||||||
|
export default (_: GuildQueue<Metadata>, error: Error) => {
|
||||||
|
console.error(error);
|
||||||
|
};
|
Loading…
Reference in a new issue