diff --git a/server/command.go b/server/command.go index 5804028..2f4eba4 100644 --- a/server/command.go +++ b/server/command.go @@ -16,7 +16,7 @@ const ( ) // ExecuteCommand fetches contribution stats for a given repository or organistation and posts them in a message -func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError) { +func (p *Plugin) ExecuteCommand(_ *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError) { commandArgs := strings.Split(strings.TrimSpace(strings.TrimPrefix(args.Command, "/"+trigger)), " ") command := commandArgs[0] commandArgs = commandArgs[1:] diff --git a/server/plugin.go b/server/plugin.go index 96e13e9..23a691d 100644 --- a/server/plugin.go +++ b/server/plugin.go @@ -29,6 +29,8 @@ type Plugin struct { botUserID string } +var _ = manifest // Fix unused linter error + // OnActivate creates a github client with the access token from the configurations, // creates a bot account, if it doesn't exist and registers the /community slash command func (p *Plugin) OnActivate() error {