ls-discord-bot icon indicating copy to clipboard operation
ls-discord-bot copied to clipboard

Filter those who haven't sent messages in threads for contributors

Open Nuckerr opened this issue 2 years ago • 1 comments

Explain the issue.

https://github.com/learnspigot/discord-bot/blob/70c36fc2d6a3e95c592493d5b15fb6bd7ca45568/src/main/kotlin/com/learnspigot/bot/manager/ForumManager.kt#L86-L92

To get contributors, it gets all thread members and does not filter those who have not sent any messages. This could be simple filter function. See https://github.com/learnspigot/discord-bot/blob/70c36fc2d6a3e95c592493d5b15fb6bd7ca45568/src/main/kotlin/com/learnspigot/bot/manager/ForumManager.kt#L89-L91 To see how to get message count.

How to recreate?

No response

Anything else?

No response

Nuckerr avatar Dec 26 '22 16:12 Nuckerr

If I'm not mistaken, this has been addressed recently: https://github.com/flytegg/ls-discord-bot/pull/241

Tofpu avatar Apr 01 '24 09:04 Tofpu

This is completed

MLGPenguin avatar Sep 07 '24 11:09 MLGPenguin