Skip to content

@tonightpass discord bot that builds and submits an eas webhook notification using discord.

License

Notifications You must be signed in to change notification settings

tonightpass/eas-discord-build-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collab Logo

EAS Build Webhook Notification

Installation

  1. Discord Bot Setup

    1. Create Discord Bot

      Needs the following bot permissions: Read Messages/View Channels, Send Messages, Embed Links, Attach Files, Use External Emojis [optional], Add Reactions [optional]

    2. Invite bot to server (make sure the bot has proper permissions in your desired channel)
    3. Create a .env file and put it in the root directory. It should be in the following format:
      EAS_SECRET_WEBHOOK_KEY =
      DISCORD_BOT_TOKEN =
      DISCORD_CHANNEL_ID =
      
  2. EAS Build Webhooks setup

    1. Set up a webhook with eas webhook:create. e.g. <this_app_url>/webhook

Environment

NAME Required Description Example/Document
EAS_SECRET_WEBHOOK_KEY true EAS see SECRET_WEBHOOK_KEY
DISCORD_BOT_TOKEN true The OAuth token. NzkyNzE1NDU0MTk2MDg4ODQy.X-hvzA.Ovy4MCQywSkoMRRclStW4xAYK7I
DISCORD_CHANNEL_ID true Discord channel 8573456205924986
EXPO_DEFAULT_TEAM_NAME false For team accounts, it will be undefined , so you can set a default value yourteam

License

Screenshots

Success Fail

About

@tonightpass discord bot that builds and submits an eas webhook notification using discord.

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • TypeScript 100.0%