Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.61 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.61 KB

Booker Bot

Discord to IRC bridge for ozfortress server booking. Allows Discord users to type in IRC booking commands, and will be PM'd relevant information.

It just runs as a standalone nodejs console application I guess?

Discord Commands

The Bot only listens to commands via PM or in #servers channel.

/book - Book a new server under user's Discord username

/unbook - Unbook server

/demos - Get STV demo repository for specified user

/servers - List the status of all servers

/help - Displays commands

Required Modules

discord.js bash npm install discord.js

node-irc bash npm install irc

sanitize-html bash npm install sanitize-html

columnify bash npm install columnify@latest

To Do List

  • Update verifyUserFor if the program crashes. Otherwise requesting details with /book or trying to /unbook won't work.

  • Actually maybe verifyUserFor can be totally removed, since all bookers are unique now?

  • Clean up console logging to be log friendly. And clean up everything else I guess.

  • Ensure proper CPU utilization.

  • Let user choose booking duration/map selection (if possible).

  • Probably check contents of pendingRequests[] every x minutes/hours and remove empty values.

  • Separate all the crap instead of having a huge ass app.js.

Etc

I'll be honest, I still suck ass at using Github.

Previous repo: smesbot