Skip to content

stakewise/discord-bot

Repository files navigation

Stakewise Discord Bot

Token information bot for the StakeWise Discord server.

Commands

/poolstats shows the current pool information from Uniswap for StakeWise related tokens.

Required Permissions

  • Read Messages
  • Send Messages
  • application.commands scope

Getting Started ⚙️

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements

  • Docker
  • Docker Compose (compatible with docker-compose version 3.8)

For development

  • Yarn
  • Node.js >= 16.6.0

Get the Docker version you need here!

Setup

DISCORD_TOKEN=<insert token>
OWNER=<insert owner id>

For Linux and Mac run

$ cp .env.example .env

For Windows run

> Copy-Item .env.example .env

Edit the .env file with your favourite editor, filling out the following properties:

Run the bot via docker-compose

$ docker-compose up --build --detach

Without Docker

Create the .env file like before.
Then run yarn && yarn dev to start a development environment.

Authors 👤

Show your support ⭐️

Give a ⭐️ if this project helped you!

License 📝

Copyright © 2022 Tatu Pesonen
This project is GPLv3 licensed.