Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ping pong example for direct messages #882

Merged
merged 1 commit into from
May 15, 2021
Merged

Add ping pong example for direct messages #882

merged 1 commit into from
May 15, 2021

Conversation

chanbakjsd2
Copy link
Contributor

This PR adds an example on sending direct messages as it's a frequently asked question on the Discord Gophers server.
The example sends a "Pong" response through DM when a user sends "ping" in any channel the bot has the permission to see.

The example is simply adopted from the ping pong example with minor changes to respond through DM.

This commit adds an example on sending direct messages as it's a
frequently asked question.
The example sends a "Pong" response through DM when a user sends "ping"
in any channel the bot has the permission to see.

The example is simply adopted from the ping pong example.
@CarsonHoffman CarsonHoffman merged commit 8dc4275 into bwmarrin:master May 15, 2021
@CarsonHoffman
Copy link
Collaborator

Thank you for the comprehensive example! 🙂

@FedorLap2006 FedorLap2006 added this to the v0.24.0 milestone Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants