adding author id to message struct
This commit is contained in:
@@ -17,6 +17,7 @@ type Payload func(msg Message) (string, error)
|
||||
// message information passed to payload function
|
||||
type Message struct {
|
||||
Author string //username of message author
|
||||
ID string //discord ID of message author
|
||||
Words []string //words from message split on whitespace
|
||||
Content string //entire message content
|
||||
Channel string //message channel
|
||||
|
Reference in New Issue
Block a user