fix /api/settings/presence permission check #36
Annotations
10 errors
Linting:
internal/listeners/antiraid_test.go#L141
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/antiraid_test.go#L142
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/antiraid_test.go#L152
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/antiraid_test.go#L177
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/inviteblock_test.go#L159
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMessageSend: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/karma_test.go#L135
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/karma_test.go#L150
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/karma_test.go#L165
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/karma_test.go#L180
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|
Linting:
internal/listeners/karma_test.go#L195
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
|