Fixed spink
This commit is contained in:
parent
7a154787e6
commit
ba8a52370d
@ -65,6 +65,7 @@ module.exports = {
|
|||||||
syncSpink();
|
syncSpink();
|
||||||
if (mes.content[0] !== 's') return;
|
if (mes.content[0] !== 's') return;
|
||||||
const uzivatel = mes.content.match(/(?<=discord_)\d+/)[0];
|
const uzivatel = mes.content.match(/(?<=discord_)\d+/)[0];
|
||||||
|
if (!uzivatel) return;
|
||||||
[...mes.client.guilds.cache.values()].forEach(guild => {
|
[...mes.client.guilds.cache.values()].forEach(guild => {
|
||||||
[...guild.channels.cache.values()].filter(ch => ch.type === 'voice').forEach(channel => {
|
[...guild.channels.cache.values()].filter(ch => ch.type === 'voice').forEach(channel => {
|
||||||
[...channel.members.values()].forEach(user => {
|
[...channel.members.values()].forEach(user => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user