Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Log the cleanNotice and cleanCount to #moderator-log #13

Open
todo bot opened this issue Jun 21, 2020 · 0 comments
Open

Log the cleanNotice and cleanCount to #moderator-log #13

todo bot opened this issue Jun 21, 2020 · 0 comments
Labels
Type: Enhancement Improvements to existing features.

Comments

@todo
Copy link

todo bot commented Jun 21, 2020

// TODO: Log the cleanNotice and cleanCount to #moderator-log
val channel = bot.kord.getChannel(Snowflake(channelId))
if (channel is GuildMessageChannel) {
channel.bulkDelete(query.map { Snowflake(it.id) })
} else {
logger.warn { "Error retrieving channel $channelId : $channel" }
}


This issue was generated by todo based on a TODO comment in 4c39550 when #10 was merged. cc @Kotlin-Discord.
@gdude2002 gdude2002 added the Type: Enhancement Improvements to existing features. label Jun 21, 2020
@Akarys42 Akarys42 removed their assignment Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement Improvements to existing features.
Projects
None yet
Development

No branches or pull requests

2 participants