Fixed spink

This commit is contained in:
Histmy 2021-04-19 22:47:31 +02:00
parent 7a154787e6
commit ba8a52370d

View File

@ -65,6 +65,7 @@ module.exports = {
syncSpink();
if (mes.content[0] !== 's') return;
const uzivatel = mes.content.match(/(?<=discord_)\d+/)[0];
if (!uzivatel) return;
[...mes.client.guilds.cache.values()].forEach(guild => {
[...guild.channels.cache.values()].filter(ch => ch.type === 'voice').forEach(channel => {
[...channel.members.values()].forEach(user => {