HavocMods-HavocBot icon

HavocBot

Simple serverside mod to connect to a Discord bot and show online players in presence

Last updated 4 hours ago
Total downloads 4
Total rating 0 
Categories Server-side Utility
Dependency string HavocMods-HavocBot-0.1.2
Dependants 0 other packages depend on this package

README

HavocBot - Discord Presence

A simple server-side mod that updates your discord bot presence with a live player count Packaged with a fork of websocketsharp to function, source: https://github.com/sta/websocket-sharp/

This mod is server-only and has no functionality client-side

I have no idea what I'm doing but it seems to work.

Assuming you already know how to create a discord bot, ensure it has the following at least:

Scopes: bot

Permissions: view Channels (1024) Send Messages (2048)

Add your bot token to the config file once it has generated. You will have to change your max players manually in config if different from 10, I havn't managed to get this part working.

Experimental - use with caution. Seems to work for me but I don't know if it works for you. Try it, who knows.