szon0111 / invite-application

Merit discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invite Application

Merit Invite Application Discord bot.

Getting started

To work on this project, you need:

  • node.js
  • yarn

Start with installing dependencies:

yarn 

Configure environment:

export GUILD_NAME = my-guild # discord server name
export CHANNELS = my-channels # discord channel name
export BOT_TOKEN = my-token # discord auth token
export PORT = 8080 # port for the bot server
export DEBUG = true # debug flag
export WALLET_APPLICATION = http://testnet.wallet.merit.me # URL to wallet application
export MWS_URL = http://testnet.mws.merit.me # URL to the MWS server

Run the server:

yarn start # for production
yarn start:dev # for development

Deploy it:

`./deploy.sh`

The application is designed to be deployed to Heroku, but can be used on bare metal or in container.

Contributing

Please, check out our Contribution guide and Code of Conduct.

License

Code released under the MIT license.

Copyright (C) 2017 - 2018 The Merit Foundation.

About

Merit discord bot

License:MIT License


Languages

Language:TypeScript 63.1%Language:CSS 20.1%Language:HTML 12.2%Language:JavaScript 3.5%Language:Shell 1.1%