Updated dependencies

This commit is contained in:
Erik C. Thauvin 2023-07-02 02:23:09 -07:00
parent d8291e2156
commit 5834a23b7e
9 changed files with 26 additions and 15 deletions

View file

@ -69,9 +69,9 @@ class Seen(private val serialObject: String) : AbstractCommand() {
if (isEnabled()) {
if (args.isNotBlank() && !args.contains(' ')) {
val ch = event.bot().userChannelDao.getChannel(channel)
if (args.equals(allKeyword) && ch.isOp(event.user) && seenNicks.isNotEmpty()) {
if (args == allKeyword && ch.isOp(event.user) && seenNicks.isNotEmpty()) {
event.sendMessage("The ${"seen".bold()} nicks are:")
event.sendList(seenNicks.keys.toList(), 8, separator = ", ", isIndent = true)
event.sendList(seenNicks.keys.toList(), 7, separator = ", ", isIndent = true)
return
}
ch.users.forEach {