Explorar el Código

[server] Prefix discord msg with hostname

Neeraj Gupta hace 1 año
padre
commit
4acc8395ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      server/pkg/controller/discord/discord.go

+ 1 - 1
server/pkg/controller/discord/discord.go

@@ -106,7 +106,7 @@ func (c *DiscordController) NotifyAccountDelete(userID int64, paymentProvider st
 }
 
 func (c *DiscordController) NotifyPotentialAbuse(message string) {
-	c.Notify(message)
+	c.Notify(fmt.Sprintf("%s: %s", c.HostName, message))
 }
 
 func (c *DiscordController) getTimeSinceSignUp(userID int64) string {