Archived
very first iteration
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// utility.go
|
||||
package modules
|
||||
|
||||
func GeneratePayload(target string, icon string, text string, botname string) Payload {
|
||||
payload := Payload{
|
||||
Channel: target,
|
||||
IconEmoji: icon,
|
||||
Text: text,
|
||||
Username: botname,
|
||||
}
|
||||
return payload
|
||||
}
|
||||
Reference in New Issue
Block a user