Skip to content

Commit

Permalink
fix: spell issues
Browse files Browse the repository at this point in the history
  • Loading branch information
guimc233 committed Nov 25, 2023
1 parent d2b9651 commit dea665e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/ltd/guimc/lgzbot/command/LGZBotCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object LGZBotCommand: CompositeCommand (
val second: Long = Duration.parse(time).inWholeSeconds

user.mute(second.toInt())
if (ModuleStateConfig.silentmute) return
if (ModuleStateConfig.slientmute) return
user.group.sendMessage(
PlainText("[滥权小助手] ")+
At(user)+
Expand All @@ -58,7 +58,7 @@ object LGZBotCommand: CompositeCommand (
suspend fun CommandSender.unmute(user: Member) {
try {
(user as NormalMember).unmute()
if (ModuleStateConfig.silentmute) return
if (ModuleStateConfig.slientmute) return
user.group.sendMessage(
PlainText("[滥权小助手] ")+
At(user)+
Expand Down

0 comments on commit dea665e

Please sign in to comment.