Skip to content

Commit 46f9c05

Browse files
committed
Fix RateWaifu command
1 parent 68f1839 commit 46f9c05

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

foxy/src/main/kotlin/net/cakeyfox/foxy/command/vanilla/entertainment/RateWaifuExecutor.kt

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ import net.dv8tion.jda.api.entities.User
99
class RateWaifuExecutor : FoxyCommandExecutor() {
1010
override suspend fun execute(context: FoxyInteractionContext) {
1111
val user = context.getOption<User>("user")!!
12-
1312
val rating = (0..10).random()
1413

1514
context.reply {
1615
content = pretty(
1716
FoxyEmotes.FoxyYay,
18-
context.locale["ratewaifu.success", user.asMention, rating.toString()]
17+
context.locale["ratewaifu.success",
18+
rating.toString(),
19+
user.asMention
20+
]
1921
)
2022
}
2123
}

0 commit comments

Comments
 (0)