Skip to content

WeLoveRice/twitch-bot

Repository files navigation

Twitch-Bot

Build Status Codecov

A discord bot geared toward memes and other fun stuff

  • See features

Getting Started

Firstly clone this repository

Prerequisites

Recommend to run and develop using docker and docker-compose

Alternatively you can use nvm to install things locally

Installing

Docker

  1. Create an .env file in services/discord/
    • The content of the file should be DISCORD_TOKEN=xxx
    • Where DISCORD_TOKEN is your token in the discord api found here
  2. Build and run the stack $ docker-compose up --build

Dev Server

  1. To get into dev mode, create a file named env.dev and enter your discord token as above.
  2. Then run docker-compose -f docker-compose.dev.yml up --build

Running the tests

Assuming you have make installed:

  1. $ make build
  2. $ make test

Otherwise run the commands found in the makefile: services/discord/Makefile

Coding style

The coding style is enforced by ESLint

This repo uses the official typescript eslint plugin

Deployment

docker buildx build --platform linux/arm/v7 -t ccheung22/twitch-bot_discord --push .

Built With

Contributing

Just send in a MR

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •