mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Implemented Report Abuse button - players can now submit reports to staff
This commit is contained in:
parent
c3b91b2240
commit
54887ace0c
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ object Discord {
|
|||
}
|
||||
|
||||
fun postPlayerAlert(player: String, type: String) {
|
||||
if (ServerConstants.DISCORD_MOD_WEBHOOK.isEmpty()) return
|
||||
GlobalScope.launch {
|
||||
val alert = encodeUserAlert(type, player)
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue