disabled not(yet) needed client
This commit is contained in:
parent
21589dad60
commit
ed431fb714
22
src/index.ts
22
src/index.ts
|
|
@ -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));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue