diff --git a/bot/logic/welcomemessage.go b/bot/logic/welcomemessage.go index 959ce616..df7b42d2 100644 --- a/bot/logic/welcomemessage.go +++ b/bot/logic/welcomemessage.go @@ -322,6 +322,9 @@ var substitutions = map[string]PlaceholderSubstitutionFunc{ "user": func(ctx *worker.Context, ticket database.Ticket) string { return fmt.Sprintf("<@%d>", ticket.UserId) }, + "user_id" : func(ctx *worker.Context, ticket database.Ticket) string { + return strconv.FormatUint(uint64(ticket.UserId), 10) + } "ticket_id": func(ctx *worker.Context, ticket database.Ticket) string { return strconv.Itoa(ticket.Id) },