Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.25 KB

Discord Animated Gif Banner Welcome Bot

Pi Day LED display preview

welcome bot preview

This was a "thin slice" experiment to welcome new members to a Discord guild via an animated gif banner while exploring Nodejs TypeScript and dependency injection with Inversify.

Setup

Copy the .env.example file to .env.

Create a Discord token while configuring a bot app, placing the bot in a channel, then include token in .env.

Install TypeScript:

npm install -g typescript

Install node modules:

npm i

Install fonts. See src/assets/fonts/README.md for details.

Run:

npm run prod

In the Discord channel, type the following:

ping

The bot should respond with pong!

Type the following to generate a welcome graphic (new channel members will also get a welcome graphic):

!join

Image Credits

Images used in the animated gif are from the game Star Citizen (cool game), with game artwork © 2012-2019 Cloud Imperium Rights LLC and Cloud Imperium Rights Ltd, and are posted here for code demonstration purposes only.