Interfaces do not need named parameters
This commit is contained in:
parent
ce689146de
commit
69aee2e699
@ -5,6 +5,6 @@ import (
|
||||
)
|
||||
|
||||
type MessageCreateHandler interface {
|
||||
Handle(s *discordgo.Session, m *discordgo.MessageCreate)
|
||||
SetConfig(config Config)
|
||||
Handle(*discordgo.Session, *discordgo.MessageCreate)
|
||||
SetConfig(Config)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user