Giter VIP home page Giter VIP logo

rustbot's Introduction

ci Go Report Card

Overview

Rustbot is a Discord bot written using the discordgo framework. It was written to find out if a specific server me and a few buddies play on had a queue, but turned into much more. You can use this bot to search for any Rust server and find out details like last wipe, server population (queue), average fps, map size and more.

Usage

In any authorized Discord channel type !rustbot help for a list of commands.

Rustbot is a discord bot to help you pick a rust server to play on.

!rustbot top - the top command will return the top 25 ranked rust servers on battlemetrics.
!rustbot server [id] - the server command will lookup the id you provided and return you detailed information about the rust server. you can get the id from the !rustbot top command.
!rustbot search [query] - the search command will perform a search based off your query. it will return you a list of servers matching the search sorted by rank.
!rustbot commits - the commits command will link you to the facepunch official site to view the latest commits for the game.
!rustbot roadmap - the roadmap command will link you to the rust roadmap.

server

Building the Application

$ make build

Yep. That's it. You should see the following output:

$ docker build -t rustbot:latest .
...
Successfully built 84281fcf926b
Successfully tagged rustbot:latest

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
rustbot             latest              84281fcf926b        13 seconds ago      8.93MB

Deploying

$ docker run -e "DISCORD_TOKEN=XXXXXXXXXXXXXXXXXXXXXX" rustbot:latest
Bot is now running.  Press CTRL-C to exit.

rustbot's People

Contributors

tonyganga 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.