Giter VIP home page Giter VIP logo

warzone-stats's Introduction

⚠️ DEPRECATED

Warzone Stats was created for use with TGM servers. Warzone has since discontinued TGM in favour of Mars, so this bot is no longer used on Warzone and there is no longer a hosted instance.

This bot is still suitable for use with TGM servers. Pull requests will continue to be accepted.

Warzone Stats

Warzone Stats is a Discord bot for displaying information about Warzone or other TGM servers if self-hosted.

If you find a bug or have any feature requests feel free to make an issue here

Self-hosting

The bot is designed to work with any TGM server with environment variables. The environment variables the bot uses are detailed below. Please don't use the bot name "Warzone Stats" on self-hosted instances.

Name Description Example Required?
DISCORD_TOKEN The Discord bot token Yes
LOADING_EMOJI The emoji to use for loading <a:loading:811950559991955546> Yes
STAFF_ROLES List of staff role IDs separated by comma 333671781942427658,335883420817162241 No
STAFF_PING_EXEMPT_USERS List of user IDs exempt to pings from staff command separated by comma 144607902525554688,293089779912933396 No
API_BASE TGM API base URL https://api.warzone.network No
EVALERS List of user IDs who can use the eval command separated by comma 399406110261641216 No

warzone-stats's People

Contributors

jellz avatar jorgeberrex avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

warzone-stats's Issues

Only respond in bot channel

The bot should check whether a message was sent in a channel which contains "bot" in its name. If the name of the channel the message was sent in does not contain that, it should send a DM to the author, saying it's only usable in channels for bot commands.

Hug reply

So when someone says "hugs @Warzone stats" the bot should be able to reply back with "hugs back" because now the bot is sad because it can't hug back :(

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.