Removed cooldown for voice
fixed version updated package-lock.json
This commit is contained in:
parent
1319150942
commit
67c6a2b170
@ -73,10 +73,6 @@ module.exports = {
|
|||||||
const channel = mes.member.voice.channel;
|
const channel = mes.member.voice.channel;
|
||||||
if (!channel) return `di si tam sam ne ty gadzo ${mes.author}`;
|
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 (arg !== 'potichu') mes.channel.send('<@&591306633196339261> vojs');
|
||||||
|
|
||||||
if (mes.guild.voice?.channel === channel && mes.guild.connection) return;
|
if (mes.guild.voice?.channel === channel && mes.guild.connection) return;
|
||||||
|
|||||||
14
package-lock.json
generated
14
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "1.0.0",
|
"version": "3001.19",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -1225,9 +1225,9 @@
|
|||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||||
},
|
},
|
||||||
"ws": {
|
"ws": {
|
||||||
"version": "7.4.4",
|
"version": "7.5.3",
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz",
|
||||||
"integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw=="
|
"integrity": "sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg=="
|
||||||
},
|
},
|
||||||
"yallist": {
|
"yallist": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
@ -1266,9 +1266,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ytdl-core": {
|
"ytdl-core": {
|
||||||
"version": "4.5.0",
|
"version": "4.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-4.9.0.tgz",
|
||||||
"integrity": "sha512-e8r6skrakWNixsVlNPBMoRM1HrdW1swE97If9nenDUjF65uogYk4DvxIuqlmqRfBWKe+6aIZwqedNxUU9XLYJA==",
|
"integrity": "sha512-pfuWqEIrP3iYqz5jOMmaz9m+DAzfQpt8X1jmzoOsPdYWrLMV4ml7+p/zhDi0F8IF90i4Jmd0Pq0W1awnKDatKg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"m3u8stream": "^0.8.3",
|
"m3u8stream": "^0.8.3",
|
||||||
"miniget": "^4.0.0",
|
"miniget": "^4.0.0",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "denim_3001",
|
"name": "denim_3001",
|
||||||
"version": "3001.19.1",
|
"version": "3001.20",
|
||||||
"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/"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user