Membership change tracking #8

Merged
anton merged 5 commits from user-join-leave-tracking into main 2024-02-03 09:44:15 +00:00
1 changed files with 11 additions and 11 deletions
Showing only changes of commit ed431fb714 - Show all commits

View File

@ -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));