All Projects → appleboy → discord-action

appleboy / discord-action

Licence: other
GitHub Action that sends a Discord message.

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to discord-action

github-action-scp
⬆️ Copy a folder to a remote server using SSH
Stars: ✭ 123 (+86.36%)
Mutual labels:  github-actions
flatpak-github-actions
Build your Flatpak application using Github Actions
Stars: ✭ 73 (+10.61%)
Mutual labels:  github-actions
gitactionboard
GitactionBoard - Ultimate Dashboard for GithubActions.
Stars: ✭ 30 (-54.55%)
Mutual labels:  github-actions
Raid-Protect-Discord-Bot
A Discord Bot that allows you to protect your Discord server with captcha, anti profanity, anti nudity image, anti spam, account age required, logs...
Stars: ✭ 182 (+175.76%)
Mutual labels:  discord-bot
action-eslint-fix
GitHub Action to run `eslint` with `--fix` option and commit fixes
Stars: ✭ 20 (-69.7%)
Mutual labels:  github-actions
Corona-Tracker-Bot
Discord bot for coronavirus (COVID-19) , With Ai [Machine learning algorithms] integrated into it
Stars: ✭ 26 (-60.61%)
Mutual labels:  discord-bot
aero-bot
A general purpose discord bot that also functions as the flagship example bot using AeroClient
Stars: ✭ 11 (-83.33%)
Mutual labels:  discord-bot
phpstan-ga
GithubAction for PHPStan
Stars: ✭ 85 (+28.79%)
Mutual labels:  github-actions
setup-just
🤖 GitHub Action to install the just command runner
Stars: ✭ 21 (-68.18%)
Mutual labels:  github-actions
corona-kakao-bot
🤖 카카오톡 코로나 알리미
Stars: ✭ 17 (-74.24%)
Mutual labels:  github-actions
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+30.3%)
Mutual labels:  github-actions
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (-25.76%)
Mutual labels:  github-actions
Pokedex
Pokedex is a robust Discord bot that mimics the iconic Pokedex from the Pokemon games and show. It's loaded with features to help players of all skill levels to learn and better enjoy Pokemon! The goal of Pokedex is to provide users with as much data about the Pokemon games as they desire conveniently and with minimal effort.
Stars: ✭ 18 (-72.73%)
Mutual labels:  discord-bot
rainbot
rainbot is a moderation bot that has robust automod and logging features.
Stars: ✭ 62 (-6.06%)
Mutual labels:  discord-bot
start-here
You should open this repo first
Stars: ✭ 86 (+30.3%)
Mutual labels:  github-actions
DiscordCoreAPI
A bot library for Discord, written in C++, and featuring explicit multithreading through the usage of custom, asynchronous C++ CoRoutines.
Stars: ✭ 104 (+57.58%)
Mutual labels:  discord-bot
mojito-admin-starter
此项目主要为了演示如何自动化 Fullstack project 的 Infrastructure。
Stars: ✭ 17 (-74.24%)
Mutual labels:  github-actions
typescript-api-starter
🔰 Starter for Node.js express API in Typescript 🚀
Stars: ✭ 72 (+9.09%)
Mutual labels:  github-actions
Citrine
Kawaii Chatbot Plugin for BotBone
Stars: ✭ 17 (-74.24%)
Mutual labels:  discord-bot
ssh-action
🖥 github ssh action
Stars: ✭ 122 (+84.85%)
Mutual labels:  github-actions

🚀 Discord for GitHub Actions

GitHub Action for sending a Discord notification message.

Actions Status

message

Features

  • Send Multiple Messages
  • Send Multiple Files

Usage

Send custom message as below

name: discord message
on: [push]
jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: send custom message with args
      uses: appleboy/discord-action@master
      with:
        webhook_id: ${{ secrets.WEBHOOK_ID }}
        webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
        args: The ${{ github.event_name }} event triggered first step.

Input variables

  • webhook_id - required. webhook id of channel.
  • webhook_token - required. webhook token of channel.
  • username - optional. override the default username of the webhook
  • avatar_url - optional. override the default avatar of the webhook
  • color - optional. color code of the embed
  • file - optional. send file message

Example

Send custom message in message

- name: send message
  uses: appleboy/discord-action@master
  with:
    webhook_id: ${{ secrets.WEBHOOK_ID }}
    webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
    message: The ${{ github.event_name }} event triggered first step.

Send the default message.

- name: send message
  uses: appleboy/discord-action@master
  with:
    webhook_id: ${{ secrets.WEBHOOK_ID }}
    webhook_token: ${{ secrets.WEBHOOK_TOKEN }}

Send the message with custom color and username

- name: send message
  uses: appleboy/discord-action@master
  with:
    webhook_id: ${{ secrets.WEBHOOK_ID }}
    webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
    color: "#48f442"
    username: "GitHub Bot"
    message: "A new commit has been pushed with custom color."

Send multiple files

- name: send message
  uses: appleboy/discord-action@master
  with:
    webhook_id: ${{ secrets.WEBHOOK_ID }}
    webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
    file: "./images/message.png"
    message: "Send Multiple File."
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].