Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioRosado committed Nov 25, 2021
1 parent cd611ae commit 4e8f04b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/connectors/gitlab.md
Expand Up @@ -65,8 +65,7 @@ class ThankUser(Skill):
@match_event(GitlabIssueCreated)
async def say_thank_you(self, event):
"""Send message to issue, thanking user."""
gitlab = self.opsdroid.get_connector("gitlab")
await gitlab.send(
await event.respond(
Message(
text="Thank you for opening this issue, a team member will be with you shortly!",
target=event.target
Expand Down

0 comments on commit 4e8f04b

Please sign in to comment.