[server] Prefix discord msg with hostname

This commit is contained in:
Neeraj Gupta
2024-03-18 09:59:35 +05:30
parent f85f220c1d
commit 4acc8395ba

View File

@@ -106,7 +106,7 @@ func (c *DiscordController) NotifyAccountDelete(userID int64, paymentProvider st
} }
func (c *DiscordController) NotifyPotentialAbuse(message string) { 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 { func (c *DiscordController) getTimeSinceSignUp(userID int64) string {