actions-marketplace-validations/Discord Activity Badge

Bridge your Discord State and Activities to a Representable Badge on your repository to show your current status.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 6, 2022
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/codexlink_discord-activity-badge@cd229dadf3a5ab8bf3204aa0f7232da514b46b91 # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
BADGE_IDENTIFIER_NAMEThe name of the badge (in markdown form) that will be utilized to replace the state of the user. If the identifier does not exists, then it will proceed to create a new one and append it on the top. You must arranged it right after.no
COMMIT_MESSAGEThe commit message that the user wants to invoke whenever there's changes.no
DISCORD_BOT_TOKENThe token of your bot from the Discord's Developer Page. It was used to allow usage of Discord API.yes
DISCORD_USER_IDA long integer ID used to indicate who you are in a certain mutual guild.yes
PROFILE_REPOSITORYThe repository from where the commits will be pushed. Fill this when you are indirectly deploying the script under different repository.no${{ github.repository }}
URL_TO_REDIRECT_ON_CLICKThe URL to point when the badge has been clicked.no${{ github.repository }}
WORKFLOW_TOKENThe token of the Github Workflow Instance used to authenticate commits deployed by the script. Fill this when you are indirectly deploying the script under different repository.no${{ github.token }}
CUSTOM_ACTIVITY_STRINGOverrides `Discord Activity` (Subject String) and User State with the state of `CustomActivity` with custom strings.no
GAME_ACTIVITY_STRINGOverrides `Discord Activity` (Subject String) and User State with the state of `Game` with custom strings.no
RICH_PRESENCE_STRINGOverrides `Discord Activity` (Subject String) and User State with the state of `Activity` with custom strings.no
STREAM_ACTIVITY_STRINGOverrides `Discord Activity` (Subject String) and User State with the state of `Stream` with custom strings.no
SPOTIFY_ACTIVITY_STRINGOverrides `Discord Activity` (Subject String) and User State with the state of `Unspecified` with custom strings.no
ONLINE_STATUS_STRINGOverrides the status output in Online state.no
IDLE_STATUS_STRINGOverrides the status output in Idle state.no
DND_STATUS_STRINGOverrides the status output in Do-Not-Disturb (DND) state.no
OFFLINE_STATUS_STRINGOverrides the status output in Offline state.no
CUSTOM_ACTIVITY_COLORRenders status badge color whenever there's a Custom activity. Please check README.md for more information about this parameter.no
GAME_ACTIVITY_COLORRenders status badge color whenever there's a Game activity. Please check README.md for more information about this parameter.no
RICH_PRESENCE_COLORRenders status badge color whenever there's a Rich Presence. Please check README.md for more information about this parameter.no
STREAM_ACTIVITY_COLORRenders status badge color whenever there's a Stream activity. Please check README.md for more information about this parameter.no
SPOTIFY_ACTIVITY_COLORRenders status badge color whenever there's a Unspecified activity. Please check README.md for more information about this parameter.no
ONLINE_STATUS_COLOROverrides the status color when the user is in Online state.no
IDLE_STATUS_COLOROverrides the status color when the user is in Idle state.no
DND_STATUS_COLOROverrides the status color when the user is in Do-Not-Disturb (DND) state.no
OFFLINE_STATUS_COLOROverrides the status color when the user is in Offline state.no
STATIC_SUBJECT_STRINGStatically declare a certain string to display on the subject. If declared, []_ACTIVITY_STRING and []_STATUS_STRING will be ignored.no
PREFERRED_PRESENCE_CONTEXTOverrides additional information to append in the badge. So far, only `DETAILS`, and `STATE` are allowed to be appended since it shows the other context of the application.no
TIME_DISPLAY_OUTPUTAppends time (based on preference) after the application name or detail when `APPEND_PRESENCE_CONTEXT` is `True`.no
TIME_DISPLAY_ELAPSED_OVERRIDE_STRINGOverrides the string appended whenever the time is displayed for elapsed. This is effective only when `SHOW_TIME_DURATION` is `True`.no
TIME_DISPLAY_REMAINING_OVERRIDE_STRINGOverrides the string appended whenever the time is displayed for remaining. This is effective only when `SHOW_TIME_DURATION` is `True`.no
TIME_DISPLAY_SHORTHANDDisplays the time with hours and minutes shorthanded to h and m.no
PREFERRED_ACTIVITY_TO_DISPLAYRenders a particular activity as a prioritized activity. If the preferred activity does not exist, it will render any activity by default.no
SHIFT_STATUS_ACTIVITY_COLORSInterchange state and activity colors. This is useful only if you want to retain your state color position even though `APPEND_STATE_ON_SUBJECT` is true.no
SPOTIFY_INCLUDE_ALBUM_PLAYLIST_NAMEInterchange state and activity colors. This is useful only if you want to retain your state color position even though `APPEND_STATE_ON_SUBJECT` is true.no
STATUS_CONTEXT_SEPERATORThe character/s that seperates the context of every status elements.no
IS_DRY_RUNRuns the usual process except it doesn't commit changes.no

no outputs