Commit 3ecae988 authored by Him188's avatar Him188

Simplify

parent 3d21dbd0
...@@ -70,17 +70,17 @@ suspend fun main() { ...@@ -70,17 +70,17 @@ suspend fun main() {
startsWith("mt2months") { startsWith("mt2months") {
val at: At by message val at: At by message
at.target.member().mute(1.months) at.member().mute(1.months)
} }
startsWith("mute") { startsWith("mute") {
val at: At by message val at: At by message
at.target.member().mute(30.seconds) at.member().mute(30.seconds)
} }
startsWith("unmute") { startsWith("unmute") {
val at: At by message val at: At by message
at.target.member().unmute() at.member().unmute()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment