💬 Languages 💠 🧑💻 Programming Languages 💠 📦 Registries 💠 🗄️ Repositories 💠 📚 Resources 💠 👥 Socials 💠 🦜 Translation Platforms
- Cantonese (粵語 / 廣東話)
- Chinese (Traditional) (漢語(正體))
- English
A GitHub Action to send Discord webhook.
Home Page: https://github.com/marketplace/actions/send-discord-webhook
License: Other
💬 Languages 💠 🧑💻 Programming Languages 💠 📦 Registries 💠 🗄️ Repositories 💠 📚 Resources 💠 👥 Socials 💠 🦜 Translation Platforms
Discord now able to let channels that only contain threads, as known as forum channels, webhook can also takes "benefits" on this feature.
threadname
(conflict with input threadid
), name of the thread to create (require the webhook channel to be a forum channel)
<string>
, maximum length is 100thread_name
Attempting to use this action results in:
Run hugoalh/[email protected]
with:
webhook_id: ***
webhook_token: ***
message_usetexttospeech: false
message_embed_colour: INVISIBLE
message_embed_field_0_isinline: false
message_embed_field_1_isinline: false
message_embed_field_2_isinline: false
message_embed_field_3_isinline: false
message_embed_field_4_isinline: false
message_embed_field_5_isinline: false
message_embed_field_6_isinline: false
message_embed_field_7_isinline: false
message_embed_field_8_isinline: false
message_embed_field_9_isinline: false
message_embed_field_10_isinline: false
message_embed_field_11_isinline: false
message_embed_field_12_isinline: false
message_embed_field_13_isinline: false
message_embed_field_14_isinline: false
message_embed_field_15_isinline: false
message_embed_field_16_isinline: false
message_embed_field_17_isinline: false
message_embed_field_18_isinline: false
message_embed_field_19_isinline: false
message_embed_field_20_isinline: false
message_embed_field_21_isinline: false
message_embed_field_22_isinline: false
message_embed_field_23_isinline: false
message_embed_field_24_isinline: false
variable_prefix: %
variable_suffix: %
variable_join: _
Message embed field #0 is null, ignore remains.
Variable list #0 is null, ignore remains.
Status Code: 400
{"message": "Cannot send an empty message", "code": 50006}
v1.1.6
name: News
on:
issues:
types:
- opened
jobs:
news:
runs-on: windows-latest
steps:
- name: Notify Discord
uses: hugoalh/[email protected]
with:
webhook_id: ${{ secrets.DISCORD_NEWS_ID }}
webhook_token: ${{ secrets.DISCORD_NEWS_TOKEN }}
message_text: ${{ github.event.title }}
message_embed_authorname: ${{ github.event.user.login }}
message_embed_authorurl: ${{ github.event.user.html_url }}
message_embed_title: ${{ github.event.title }}
message_embed_titleurl: ${{ github.event.html_url }}
message_embed_description: ${{ github.event.body }}
Open an issue on the repo after adding this workflow.
A message should be posted to Discord.
Hey there, in Version 3.1.1 Run act will not end as planned, it drops the current failure:
[0-discord-test-rss.yml/Send To Discord 0] 🐳 docker exec cmd=[node /var/run/act/actions/[email protected]/main.js] user=
[0-discord-test-rss.yml/Send To Discord 0] | internal/modules/cjs/loader.js:888
[0-discord-test-rss.yml/Send To Discord 0] | throw err;
[0-discord-test-rss.yml/Send To Discord 0] | ^
[0-discord-test-rss.yml/Send To Discord 0] |
[0-discord-test-rss.yml/Send To Discord 0] | Error: Cannot find module '@hugoalh/advanced-determine'
[0-discord-test-rss.yml/Send To Discord 0] | Require stack:
[0-discord-test-rss.yml/Send To Discord 0] | - /run/act/actions/[email protected]/main.js
[0-discord-test-rss.yml/Send To Discord 0] | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
[0-discord-test-rss.yml/Send To Discord 0] | at Function.Module._load (internal/modules/cjs/loader.js:730:27)
[0-discord-test-rss.yml/Send To Discord 0] | at Module.require (internal/modules/cjs/loader.js:957:19)
[0-discord-test-rss.yml/Send To Discord 0] | at require (internal/modules/cjs/helpers.js:88:18)
[0-discord-test-rss.yml/Send To Discord 0] | at Object.<anonymous> (/run/act/actions/[email protected]/main.js:6:27)
[0-discord-test-rss.yml/Send To Discord 0] | at Module._compile (internal/modules/cjs/loader.js:1068:30)
[0-discord-test-rss.yml/Send To Discord 0] | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
[0-discord-test-rss.yml/Send To Discord 0] | at Module.load (internal/modules/cjs/loader.js:933:32)
[0-discord-test-rss.yml/Send To Discord 0] | at Function.Module._load (internal/modules/cjs/loader.js:774:14)
[0-discord-test-rss.yml/Send To Discord 0] | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
[0-discord-test-rss.yml/Send To Discord 0] | code: 'MODULE_NOT_FOUND',
[0-discord-test-rss.yml/Send To Discord 0] | requireStack: [
[0-discord-test-rss.yml/Send To Discord 0] | '/run/act/actions/[email protected]/main.js'
[0-discord-test-rss.yml/Send To Discord 0] | ]
[0-discord-test-rss.yml/Send To Discord 0] | }
Error: exit with `FAILURE`: 1
[0-discord-test-rss.yml/Send To Discord 0] ❌ Failure - hugoalh/[email protected]
After upgrading from v1.1.6
to v3.0.1
, I'm seeing:
SyntaxError: Configuration argument "embed#0.color"'s value is not an expected colour scheme! ([GitHub Action] Send To Discord)
Using:
- name: Notify Discord
if: github.repository == 'flare-lang/flare-performance'
uses: hugoalh/[email protected]
with:
webhook_id: ${{ secrets.DISCORD_BENCHMARKS_ID }}
webhook_token: ${{ secrets.DISCORD_BENCHMARKS_TOKEN }}
message_embed_title: "Benchmarks: Reset"
message_embed_titleurl: https://performance.flare-lang.org
message_embed_description: Benchmark history has been reset.
(Only thing changed was the version number.)
Is this intended? I would have expected this to default to "invisible"
as per action.yml.
Side note: Should probably be consistent about color
vs colour
spelling.
By default links to GitHub and other sites have their own embeds, which can clutter the channel a lot.
Be able to remove default embeds from messages.
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.