[Commands] Cleanup #camerashake Command. (#1787)

- Cleanup message and logic.
- Fix ConvertSecondsToTime logic for milliseconds.
- Add ConvertMillisecondsToTime inline function.
This commit is contained in:
Kinglykrab authored and GitHub committed 2021-11-21 10:03:20 -05:00
1 parent 7154d5b841
commit 40edefa6f4
7 files changed
+50 -21

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ void command_stun(Client *c, const Seperator *sep)
target->GetID()
)
),
ConvertSecondsToTime(duration)
ConvertMillisecondsToTime(duration)
) :
fmt::format(
"You unstunned {}.",