Giter Club home page Giter Club logo

cw-discord-bot's Introduction

What's CW discord bot?

It's a support bot to about ~2k Elite: Dangerous players on Discord communication software.

Linked to 3rd party APIs, eddb.io and edsm.net.

CW are initials to "Cobra Wing" our private group in the game Elite: Dangerous.

What's your features and commands?

Commands to Show:

System that CW there's placed and your reputations; Chart by all systems and compare that CW there's placed and your reputations day by day; System minor groups to compare your influences; Help command to show available commands; Players statistics online and what's games who playing.

Custom Commands:

Admin manager custom commands to returns a specific and static message response; List all custom commands by group type.

Scheduled Execution:

Monitor and advertise newsletter by game developer site; Monitor and advertise game server status (online, offline); Extraction 3rd party sites infos to show chart statistics.

Technologies used:

Made using Node.js with discord.js dependency to connect the Discord server; Many npm dependencies to read local files, request/response APIs, text format, data base access and others; Jobs execution using node.js; Plot.ly javascript API to generate charts; Mongo database to store informations; Heroku cloud application platform to run.

Steps to Run:

1) configure environment variables in your system or create .env file with:

ENVIRONMENT => set to DEV on localhost BASE_URL => Site base URL (local http://localhost:5000 with default port) BOT_KEY => DiscordJs bot public key, see more in discordapp.com/developers MONGO_URL => mongodb://user:pass@host:port/dbaseName PLOTLY_USER => Plotly API user PLOTLY_PASS => Plotly API password NEWSLETTER_CHANNEL => Discord channel name to show newsletter notification SERVER_STATUS_CHANNEL => Discord channel name to show server status change notification CUSTOM_COMMANDS_CHANNEL => Discord channel name to execute custom commands (admin commands) BLOCK_BOT_DIRECT_MESSAGES => (true|false) to bot ignore direct messages.

2) Install node modules dependencies:

npm install

3) Execute bot:

npm start

Screenshots

cw-discord-bot's People

Contributors

dependabot[bot] avatar marcelosleal avatar rafaelpivatto avatar rpivatto avatar

Watchers

 avatar  avatar  avatar

Forkers

marcelosleal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.