Implemented Report Abuse button - players can now submit reports to staff
This commit is contained in:
@@ -45,6 +45,7 @@ object Discord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun postPlayerAlert(player: String, type: String) {
|
fun postPlayerAlert(player: String, type: String) {
|
||||||
|
if (ServerConstants.DISCORD_MOD_WEBHOOK.isEmpty()) return
|
||||||
GlobalScope.launch {
|
GlobalScope.launch {
|
||||||
val alert = encodeUserAlert(type, player)
|
val alert = encodeUserAlert(type, player)
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user