forked from pothtonswer/discordmuffin
Update event.go
This commit is contained in:
parent
07c1da20ff
commit
ca1b9186f2
1 changed files with 1 additions and 1 deletions
2
event.go
2
event.go
|
@ -6,7 +6,7 @@ type EventHandler interface {
|
||||||
Type() string
|
Type() string
|
||||||
|
|
||||||
// Handle is called whenever an event of Type() happens.
|
// Handle is called whenever an event of Type() happens.
|
||||||
// It is the recievers responsibility to type assert that the interface
|
// It is the receivers responsibility to type assert that the interface
|
||||||
// is the expected struct.
|
// is the expected struct.
|
||||||
Handle(*Session, interface{})
|
Handle(*Session, interface{})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue