项目作者: mbacalan

项目描述 :
Discord bot for convenient GW2 guild activities
高级语言: JavaScript
项目地址: git://github.com/mbacalan/aurene-bot.git
创建时间: 2017-11-21T13:23:04Z
项目社区:https://github.com/mbacalan/aurene-bot

开源协议:MIT License

下载


AureneBot

A Discord bot designed to make managing a Guild Wars 2 guild server fun and easy.

Features:

  • Giveaways: Create a giveaway via user input and pick a random winner
  • Guides: Provide useful links and info about a given raid boss
  • Missions: Provide useful links and info about a given guild mission
  • Starboard: Save messages with enough stars to a seperate channel for everyone to see
  • Poll: Create a poll directly on Discord with an easy to use syntax
  • GW2 API: Add an API key to see your account info, character info or current dailies

Usage

Since the bot isn’t public, you will have to host it yourself.

You need to set up MongoDB and Redis, then pass their URI’s as environment variables (see below).

To be able to install all the dependencies, you need to create a .npmrc at project root and add in the following:

  1. //npm.pkg.github.com/:_authToken=YOUR_GITHUB_PERSONAL_ACCESS_TOKEN
  2. @mbacalan:registry=https://npm.pkg.github.com

Afterwards:

  1. # insall dependencies
  2. npm install
  3. # start the bot
  4. npm start

Set the environment variables on your hosting platform or use the example below to create a .env file at folder root.

  1. MONGO_URI=your://mongodb/ur #mongodb://localhost:27017
  2. REDIS_URL=your://redis/uri #redis://localhost:6379
  3. TOKEN=client_token
  4. OWNER=your_discord_id
  5. LEADERS=highest_role_id
  6. OFFICERS=officers_role_id
  7. GIVEAWAY_CHANNEL=channel_id_for_giveaways
  8. MISSIONS_CHANNEL=channel_id_for_missions
  9. STARBOARD_CHANNEL=channel_id_for_starboarrd

Please keep in mind that this bot is currently experimental.