Giter Club home page Giter Club logo

auraxis-bot's Introduction

auraxis-bot

A Discord bot to look up stats and information from Planetside 2

Invite

The bot can be added to your server with this invite link.

Structure

The main event listener is in main.js, it starts additional listeners in unifiedWSListener.js which each listen for subscribe commands and events from the Daybreak Stream API for a given platform (PC, PS4US, PS4EU). Most commands are separated into their own files, and utilize async to support high message volume.

Usage

The bot is designed to be simple to use. Once added to your server with the invite link, commands can be viewed with "!help". In order to get the most out of the bot, please grant it the "Read Messages", "Send Messages", and "Embed Links" permissions.

If you would like to deploy your own version of the bot, it is designed to run on Heroku. Running locally is available, as long as you provide a Discord token and Daybreak Census API service ID in an auth.json file. Subscription functionality will be disabled if run this way.

Contact

For feedback or error reports, the best ways to contact are reddit (/u/RemainNA), Discord (RemainNA#0159), and the Auraxis bot Discord server.

Support development

There are three main ways to support development:

If you identify a bug, report it in the Discord server. Github issues are not used in development, and are not closely monitored.

If you have experience programming in Node.js and would like to contribute code directly, consider reaching out on the platforms listed above.

Finally, if you would like to contribute financially, there is a Ko-fi associated with this project:
ko-fi

Any support, including just a few kind words, is greatly appreciated!

Commands

<> = optional, [] = required

!help

Returns a list of commands and relevant links.

!<ps4us/ps4eu> character [character]

Returns the details (BR, Score, Server, Outfit, etc.) of the specified character. Supports multiple characters per query.

!<ps4us/ps4eu> outfit [tag]

Returns the details (Name, owner, faction, server, member count, etc.) of the specified outfit tag. Supports multiple tags per query.

!<ps4us/ps4eu> online [tag]

Returns the list of all online members for the specified outfit tag. Supports multiple tags per query.

!subscribe alerts [server]

Subscribes the channel to notifications of alerts starting on the specified servers. Supports multiple servers per query. Supports all platforms without prefixes.

!unsubscribe alerts [server]

Unsubscribes the channel from the above notifications. Supports multiple servers per query. Supports all platforms without prefixes.

!<ps4us/ps4eu> subscribe activity [outfit]

Subscribes the channel to notifications of logins and logouts of members in the specified outfit tag. Supports multiple tags per query.

!<ps4us/ps4eu> unsubscribe activity [outfit]

Unsubscribes the channel from the above notifications. Supports multiple tags per query.

!unsubscribe all

Unsubscribes the channel from all outfit activity and server alert notifications.

!population [server]

Returns the population per faction of the specified server. Supports multiple servers per query. Supports all platforms without prefixes

!territory [server]

Returns the territory control of each continent on the specified server. Supports multiple servers per query. Supports all platforms without prefixes

!status

Return the current status of all servers as reported by the Census API. Takes no parameters.

!weapon [weapon name]

Currently in beta. Returns information on a given weapon. Accepts weapon IDs, exact names, or partial names. Only supports one weapon per query.

!implant [implant name]

Returns information on given implant. Accepts exact or partial names. Only supports one implant per query.

!asp [name]

Returns the BR a character reached before joining ASP. Only supported on PC, does not work with NSO.

auraxis-bot's People

Contributors

dependabot[bot] avatar remainna avatar

Watchers

 avatar

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.