tpc muzika vole
This commit is contained in:
parent
aa33c5b0c4
commit
9b6d697fe2
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "3001.43.1",
|
"version": "3001.43.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "3001.43.1",
|
"version": "3001.43.2",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/voice": "^0.13.0",
|
"@discordjs/voice": "^0.13.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "3001.43.1",
|
"version": "3001.43.2",
|
||||||
"description": "Toto je velmi kvalitní bot.",
|
"description": "Toto je velmi kvalitní bot.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "https://github.com/Histmy/Denim-Bot/"
|
"url": "https://github.com/Histmy/Denim-Bot/"
|
||||||
|
|||||||
@ -179,6 +179,17 @@ const exp: Modul = {
|
|||||||
await play(conn, { name: "zvuky/pocasi/outro.mp3", volume: 30 });
|
await play(conn, { name: "zvuky/pocasi/outro.mp3", volume: 30 });
|
||||||
handlePrevVoice(mes.guild!, prev);
|
handlePrevVoice(mes.guild!, prev);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
auto: {
|
||||||
|
run: async mes => {
|
||||||
|
const channel = mes.member?.voice.channel;
|
||||||
|
if (!channel) return "vžum";
|
||||||
|
|
||||||
|
const { conn, prev } = await joinVoice(channel);
|
||||||
|
await play(conn, "zvuky/auto.ogg");
|
||||||
|
handlePrevVoice(mes.guild!, prev);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
BIN
zvuky/auto.ogg
Normal file
BIN
zvuky/auto.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user