Formatting and linting

This commit is contained in:
2024-01-19 13:16:56 +01:00
parent d393d87389
commit 45b21835b2
5 changed files with 64 additions and 82 deletions

View File

@@ -123,33 +123,33 @@ export = {
if (target.isCommunicationDisabled()) {
if (time === 0) {
title = "Timeout Removed"
;(description =
description =
"Removed timeout of " +
userMention(target.id) +
" for " +
reason),
(timeouttime = null)
reason
timeouttime = null
} else {
title = "Timeout Updated"
;(description =
description =
"Updated timeout of " +
userMention(target.id) +
" to " +
prettyTime +
" for " +
reason),
(timeouttime = time)
reason
timeouttime = time
}
} else {
title = "Member Timed Out"
;(description =
description =
"Timed out " +
userMention(target.id) +
" for " +
prettyTime +
" for " +
reason),
(timeouttime = time)
reason
timeouttime = time
}
await target.timeout(timeouttime, reason)