mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-23 19:46:28 -05:00
top500 string web hook fix
This commit is contained in:
@@ -45,10 +45,8 @@ function sendFAPostToDiscord(args) {
|
||||
}
|
||||
|
||||
if (args.user.country) {
|
||||
msg.setText(
|
||||
`:flag_${args.user.country}:${args.user.top500 &&
|
||||
" <:top500:594551830764191763>"}`
|
||||
)
|
||||
const top500string = args.user.top500 ? " <:top500:594551830764191763>" : ""
|
||||
msg.setText(`:flag_${args.user.country}:${top500string}`)
|
||||
}
|
||||
|
||||
return Hook.send(msg)
|
||||
|
||||
Reference in New Issue
Block a user