Skip to content

Conversation

@MashyBasker
Copy link

Changes made

  • Add a function SendFile which allows the user to send a file to a discord webhook URL
  • Add the example usage to the examples/ folder and to the README.md
  • Add a github workflow to build and lint the golang code in .github/workflows

Motivation for the change

I needed a way to send files to a discord channel with golang for my own project. I implemented it after being inspired by the SendMessage code and wanted to add my code to this project as well.

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.

1 participant