ihasTaco / ServerQuery

A Discord Bot that queries game servers
Mozilla Public License 2.0
0 stars 0 forks source link

Bot stopped updating embeds completely #9

Closed ihasTaco closed 1 year ago

ihasTaco commented 1 year ago

I’m at work so I will be updating this more later, and I can’t look into it at the moment.

I’ve noticed that the bot stopped, updating embed right at 3:55 am this morning, I’m hoping it crashed the server as the login system isn’t set up yet so I can search through the console screen to see what caused the issue

I think it maybe the bot lost connection to the internet as I haven’t seen this issue

ihasTaco commented 1 year ago

I think I fixed this issue...

I believe it had to do with the graph_url only being defined in a if statement

discord/bot.js

let graph_url;
// Create the Player Graph
if (!server_settings.graph_settings.disable) {
     graph_url = await createGraph(guild_id, server_uuid);
     logger.debug(`Done! Graph can be found here`);
     logger.debug(`${graph_url}`);
 }
ihasTaco commented 1 year ago

This is most definetely fixed in the new alpha.2 release

I will be keeping an eye on this and will reopen if problem persists!