Removed cooldown for voice

fixed version
updated package-lock.json
This commit is contained in:
Histmy 2021-08-02 23:17:01 +02:00
parent 1319150942
commit 67c6a2b170
3 changed files with 8 additions and 12 deletions

View File

@ -73,10 +73,6 @@ module.exports = {
const channel = mes.member.voice.channel;
if (!channel) return `di si tam sam ne ty gadzo ${mes.author}`;
const rozdil = (Date.now() - vojsKuldan) / 1000;
if (rozdil < 14_400) return `\`${process.env.PREFIX} vojs\` muzes pouzit jyz zua ${formatCas(14_400 - rozdil)}`;
vojsKuldan = Date.now();
if (arg !== 'potichu') mes.channel.send('<@&591306633196339261> vojs');
if (mes.guild.voice?.channel === channel && mes.guild.connection) return;

14
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "denim_3001",
"version": "1.0.0",
"version": "3001.19",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1225,9 +1225,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz",
"integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw=="
"version": "7.5.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",
"integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg=="
},
"yallist": {
"version": "4.0.0",
@ -1266,9 +1266,9 @@
}
},
"ytdl-core": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.5.0.tgz",
"integrity": "sha512-e8r6skrakWNixsVlNPBMoRM1HrdW1swE97If9nenDUjF65uogYk4DvxIuqlmqRfBWKe+6aIZwqedNxUU9XLYJA==",
"version": "4.9.0",
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.9.0.tgz",
"integrity": "sha512-pfuWqEIrP3iYqz5jOMmaz9m+DAzfQpt8X1jmzoOsPdYWrLMV4ml7+p/zhDi0F8IF90i4Jmd0Pq0W1awnKDatKg==",
"requires": {
"m3u8stream": "^0.8.3",
"miniget": "^4.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "denim_3001",
"version": "3001.19.1",
"version": "3001.20",
"description": "Toto je velmi kvalitní bot.",
"repository": {
"url": "https://github.com/Histmy/Denim-Bot/"