disabled not(yet) needed client

This commit is contained in:
Anton 2024-02-03 12:40:47 +03:00
parent 21589dad60
commit ed431fb714
1 changed files with 11 additions and 11 deletions

View File

@ -30,21 +30,21 @@ import { AudienceChangeController } from './controllers/audienceChange';
); );
await bot.connect(); await bot.connect();
await client.connect(); // await client.connect();
try { // try {
const messages = await client.getChannelMessages(channelId, { statsOnly: true }); // const messages = await client.getChannelMessages(channelId, { statsOnly: true });
console.dir(messages); // console.dir(messages);
const users = await client.getChannelUsers(channelId); // const users = await client.getChannelUsers(channelId);
console.dir(users); // console.dir(users);
} // }
catch (err) { // catch (err) {
console.error(err); // console.error(err);
} // }
console.dir(await bot.getChannelInfo(channelId)); // console.dir(await bot.getChannelInfo(channelId));
// for (const message of messages) // for (const message of messages)
// console.dir(await client.getChannelMessage(channelId, message.id)); // console.dir(await client.getChannelMessage(channelId, message.id));