Discovery Gaming Community
POB and player monitoring/alerting bot for Discord - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Developers Forum (https://discoverygc.com/forums/forumdisplay.php?fid=183)
+---- Forum: Discovery Unofficial Development (https://discoverygc.com/forums/forumdisplay.php?fid=389)
+---- Thread: POB and player monitoring/alerting bot for Discord (/showthread.php?tid=169754)

Pages: 1 2 3 4 5


RE: POB monitoring/alerting bot for Discord - evanz - 04-17-2019

(04-17-2019, 02:23 PM)dr lameos Wrote:
Quote:i did that already, in my installed discord i have my own channel,

if i click your link it loads the browser version of discord, because im clicking it, in my firefox browser
So select your server and then authorize - it'll then tell you to close your tab and the bot will be on your server and usable through the client. You need to use the browser to authorize it though.

my server doesnt show, in the browser, as you can see in the pic


RE: POB monitoring/alerting bot for Discord - dr lameos - 04-19-2019

Hi folks,
When a base was destroyed today this bot stopped working. I’m away for Easter and will pick this up next week.
EDIT: On review, it looks like the alerting may still be working, whilst responding to commands isn’t.


RE: POB monitoring/alerting bot for Discord - dr lameos - 04-26-2019

The bot has been updated and should be more reliable now.
Changes:
The bot was using Discord.io (as per the tutorial I had followed) and kept silently disconnecting after a few days. Ive moved it to Discord.js as a more supported framework. This has so far appeared to be more stable in testing.
Code structure changes.


RE: POB monitoring/alerting bot for Discord - dr lameos - 05-02-2019

Following some feedback, the bot has been updated with the following changes:

!mention userID/RoleID/everyone/here - You can now set who gets mentioned by the bot when the base health gets low or when the base is under attack. The default is @here (previously @everyone). Note that the UserID/RoleID are ID numbers and not names - You can get these by typing into the chat \@name

A notification is now sent when an attack on a base ends, unless you have all alerts turned off.


RE: POB monitoring/alerting bot for Discord - dr lameos - 05-24-2019

Pobbot has been updated, and it’s fairly substantial. Several fixes, some command changes, new commands, and an entirely new module! Many thanks to RS/RFP for testing, Alex for the API key and mrhudson for the discoverygc npm module.

PIRBOT:
This module has been added to Pobbot. Pirbot scans the player list, categorises players and can send alerts if you set thresholds. If you are going to use it I’d suggest putting it in it’s own channel just to be neater, but it isn't a requirement. Pirbot sends a message for each category, and then edits these messages instead of sending new ones. If you don’t want to use this, just don’t use any of the commands below.
Note, I’m expecting some network outages on the morning of Sunday 26th May, so the fixes should reduce the likelihood of false alarms during this.


RE: POB and player monitoring/alerting bot for Discord - Mark_Brown - 06-05-2019

dr lameos

Thank you for posting and creating this POB Bot, as a market leader of many player operated bases having this helps me manage them all when and if I forget to maintain them.

I find the alerts for the base under attack either not working or I'm not doing the codes correctly, setting zoi and enemies who keep renaming.

Is there any chance you could code in for any "person" that has certain "ID" or no?

also this code: !baseloc basename,system

- Could you write one out i.e if i did !baseloc Sirius Base Construction Texas
Would it work?

Brilliant work, keep it up.

Bellck "Mark_Brown"


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 06-05-2019

(06-05-2019, 09:52 AM)Mark_Brown Wrote: dr lameos

Thank you for posting and creating this POB Bot, as a market leader of many player operated bases having this helps me manage them all when and if I forget to maintain them.

I find the alerts for the base under attack either not working or I'm not doing the codes correctly, setting zoi and enemies who keep renaming.

Is there any chance you could code in for any "person" that has certain "ID" or no?

also this code: !baseloc basename,system

- Could you write one out i.e if i did !baseloc Sirius Base Construction Texas
Would it work?

Brilliant work, keep it up.

Bellck "Mark_Brown"
Hi Bellck,
Thanks for the kind words.

Do you mean when a base is attacked you have not been notified? Can you give an example?

It can be done by name only. You can add enemies by tag also e.g. !add enemies GG-

Example:
!baseloc Sirius Base Construction,Texas


RE: POB and player monitoring/alerting bot for Discord - Mark_Brown - 06-05-2019

(06-05-2019, 10:06 AM)dr lameos Wrote: Hi Bellck,
Thanks for the kind words.

Do you mean when a base is attacked you have not been notified? Can you give an example?

It can be done by name only. You can add enemies by tag also e.g. !add enemies GG-

Example:
!baseloc Sirius Base Construction,Texas

Yeah I've added enemies to our lists that's worked perfect. and ah I kept forgetting the comma ,

Thanks for the swift feedback
Cheers
Bellck


RE: POB and player monitoring/alerting bot for Discord - kerfy - 06-07-2019

trying to add a zoi. keep getting errors. could o get an example of the exact syntax to add , say omega5 or something..? I can not get it to work.


RE: POB and player monitoring/alerting bot for Discord - dr lameos - 06-10-2019

!add systems Omega-5
or
!add systems Omega-5,Omega-3,Omicron Gamma,etc