mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 22:05:01 +00:00
Merge remote-tracking branch 'origin/master' into iots_to_zod
This commit is contained in:
commit
59c5176cbd
39 changed files with 1420 additions and 2208 deletions
|
@ -82,9 +82,9 @@ export const ArchiveChannelCmd = channelArchiverCmd({
|
|||
}
|
||||
}
|
||||
|
||||
if (message.reactions && Object.keys(message.reactions).length > 0) {
|
||||
if (message.reactions.cache.size > 0) {
|
||||
const reactionCounts: string[] = [];
|
||||
for (const [emoji, info] of Object.entries(message.reactions)) {
|
||||
for (const [emoji, info] of message.reactions.cache) {
|
||||
reactionCounts.push(`${info.count}x ${emoji}`);
|
||||
}
|
||||
content += `\n-- Reactions: ${reactionCounts.join(", ")}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue