From 69aee2e6993105bbbbd4aa3afc40dc8060fe6b30 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 24 Aug 2022 09:43:46 -0500 Subject: [PATCH] Interfaces do not need named parameters --- bot/handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/handlers.go b/bot/handlers.go index b0b3dfc..721c6af 100644 --- a/bot/handlers.go +++ b/bot/handlers.go @@ -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) }