From ed431fb714ac24a8a25ab9f30037673395c976eb Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 3 Feb 2024 12:40:47 +0300 Subject: [PATCH] disabled not(yet) needed client --- src/index.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/index.ts b/src/index.ts index 841effa..46a7708 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,21 +30,21 @@ import { AudienceChangeController } from './controllers/audienceChange'; ); await bot.connect(); - await client.connect(); + // await client.connect(); - try { - const messages = await client.getChannelMessages(channelId, { statsOnly: true }); - console.dir(messages); + // try { + // const messages = await client.getChannelMessages(channelId, { statsOnly: true }); + // console.dir(messages); - const users = await client.getChannelUsers(channelId); + // const users = await client.getChannelUsers(channelId); - console.dir(users); - } - catch (err) { - console.error(err); - } + // console.dir(users); + // } + // catch (err) { + // console.error(err); + // } - console.dir(await bot.getChannelInfo(channelId)); + // console.dir(await bot.getChannelInfo(channelId)); // for (const message of messages) // console.dir(await client.getChannelMessage(channelId, message.id));