Indeed fixed spink
This commit is contained in:
parent
ba8a52370d
commit
1c1157893e
@ -64,7 +64,7 @@ module.exports = {
|
||||
if (mes.author.id === '831318260493844494') {
|
||||
syncSpink();
|
||||
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 => {
|
||||
[...guild.channels.cache.values()].filter(ch => ch.type === 'voice').forEach(channel => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user