mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-03 23:36:23 +02:00
corrige autovoc
This commit is contained in:
@@ -125,6 +125,13 @@ module.exports = {
|
||||
|
||||
|
||||
setInterval(() => {
|
||||
db.get('SELECT value FROM config WHERE name = "autovoc"', (err: any, row: any) => {
|
||||
if (err) {
|
||||
console.error(err.message);
|
||||
}
|
||||
voc = row ? row.value : 'None';
|
||||
});
|
||||
|
||||
if (voc !== 'None') {
|
||||
const voiceChannel: any = client.channels.cache.get(voc);
|
||||
if (!voiceChannel) return;
|
||||
|
||||
Reference in New Issue
Block a user