Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Clutch
Commits
2bd1e876
Unverified
Commit
2bd1e876
authored
2 years ago
by
renovate[bot]
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
housekeeping: github.com/slack-go/slack to v0.11.0 (#2277)
parent
6e41fe66
timeago-component
FixCordonNotes
GA4
add-capacity-info
add-tabledetails-notes
addSgTimeout
addTimeoutForSG
auditAPI
auditBE
auditFE
catalog-config-extension
clickAutocomplete
custom-title-logo
datetimevalid
docshousekeeping
downloadConfigEnvoy
dschaller-patch-3
dynamodb-status-chips
enable-partial-failures-for-pods
eslintdocs
expSimplification
exportEmotionThings
first-of-type-fix
frontend-catalog-navigate-patch
gcp-0.10.3
get-logs
ghrl
go-1.19-in-ci
golangci
goworkspace
hooksForAutoRefresh
horizontalExpansion
housekeepingclutch
jest-coverage-fix
jslaughter-patch-1
main
matv5
matv5-base
matv5-core
matv5-core-input
matv5-core-layout
matv5-joined
matv5-wizard
matv5-workflows
minimistClutch
mui5
nps-custom-patch
openSourceReactMarkdownPane
override-search
protoForDeploys
refreshDropdown
reloadIntervalForProjSelector
renovate/actions-stale-6.x
renovate/cypress-10.x
renovate/docker-build-push-action-3.x
renovate/font-awesome
renovate/github.com-gogo-status-1.x
renovate/github.com-stretchr-testify-1.x
renovate/github.com-uber-go-tally-v4-4.x
renovate/go-1.x
renovate/go.temporal.io-sdk-contrib-tally-0.x
renovate/k8s.io-utils-digest
renovate/major-10-definitelytyped
renovate/major-10-kubernetes-go
renovate/major-11-kubernetes-go
renovate/major-2-kubernetes-go
renovate/major-28-definitelytyped
renovate/major-29-definitelytyped
renovate/major-3-kubernetes-go
renovate/node-19.x
renovate/postgres-15.x
renovate/react-hook-thunk-reducer-0.x
responsiveTable
return-partial-errors
revert-2348-timeago-patch
scaffold-non-wizard
scaffoldingYarn
select-patch
sl-bug-fix
sl-patch
slowloris
sperry-add-prop
sperry-resize-hpa-notes
sperry-stats-prefix
sperry-update-package
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
backend/go.mod
+1
-1
backend/go.mod
backend/go.sum
+2
-2
backend/go.sum
backend/module/bot/slackbot/slackbot.go
+1
-1
backend/module/bot/slackbot/slackbot.go
with
4 additions
and
4 deletions
+4
-4
backend/go.mod
+
1
-
1
View file @
2bd1e876
...
...
@@ -42,7 +42,7 @@ require (
github.com/shurcooL/githubv4 v0.0.0-20220520033151-0b4e3294ff00
github.com/shurcooL/graphql v0.0.0-20220606043923-3cf50f8a0a29
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546
github.com/slack-go/slack v0.1
0.3
github.com/slack-go/slack v0.1
1.0
github.com/stretchr/testify v1.7.2
github.com/uber-go/tally/v4 v4.1.1
go.temporal.io/sdk v1.14.0
...
...
This diff is collapsed.
Click to expand it.
backend/go.sum
+
2
-
2
View file @
2bd1e876
...
...
@@ -1187,8 +1187,8 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/slack-go/slack v0.1
0.3
h1:
kKYwlKY73AfSrtAk9UHWCXXfitudkDztNI9GYBviLxw
=
github.com/slack-go/slack v0.1
0.3
/go.mod h1:hlGi5oXA+Gt+yWTPP0plCdRKmjsDxecdHxYQdlMQKOw=
github.com/slack-go/slack v0.1
1.0
h1:
sBBjQz8LY++6eeWhGJNZpRm5jvLRNnWBFZ/cAq58a6k
=
github.com/slack-go/slack v0.1
1.0
/go.mod h1:hlGi5oXA+Gt+yWTPP0plCdRKmjsDxecdHxYQdlMQKOw=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
...
...
This diff is collapsed.
Click to expand it.
backend/module/bot/slackbot/slackbot.go
+
1
-
1
View file @
2bd1e876
...
...
@@ -134,7 +134,7 @@ func (m *mod) handleEvent(ctx context.Context, req *slackbotv1.EventRequest) {
// for the inner event, we currently support 2 types: app_mention (messages that mention the bot directly) and message (specifically DMs with the bot)
// full list of Slack event types: https://api.slack.com/events
func
(
m
*
mod
)
handleCallBackEvent
(
ctx
context
.
Context
,
event
*
slackbotv1
.
Event
)
error
{
switch
event
.
Type
{
switch
slackevents
.
EventsAPIType
(
event
.
Type
)
{
case
slackevents
.
AppMention
:
return
m
.
handleAppMentionEvent
(
ctx
,
event
)
case
slackevents
.
Message
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help