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

Back-ticks in message show up literally #9

Open
shaperilio opened this issue Jan 27, 2024 · 0 comments
Open

Back-ticks in message show up literally #9

shaperilio opened this issue Jan 27, 2024 · 0 comments

Comments

@shaperilio
Copy link

shaperilio commented Jan 27, 2024

I'd like to send a message with a code fragment. So I tried this:

    - name: Send message
      if: always()
      uses: appleboy/discord-action@master
      with:
        webhook_id: ${{ secrets.DISCORD_ID }}
        webhook_token: ${{ secrets.DISCORD_TOKEN }}
        message: |
          Check out this code:
          ```python
          import os
          ```

But I see the three backticks in Discord, rather than import os formatted as code. How can I do this?

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

No branches or pull requests

1 participant