xlash123 / KHUx-Discord-Bot

A Discord bot that will aid players in getting information about the mobile game Kingdom Hearts Union X.
12 stars 7 forks source link

Internal Scheduler sometimes fails #14

Closed BladeofRagna closed 7 years ago

BladeofRagna commented 7 years ago

Not entirely sure what's going on, but I've attempted to have the bot set NA tweets in my server, but the bot isn't ever posting them now. I've made sure moments before the tweets go out to have them set to on, but it still doesn't post them. It may be a legit bug, or it's something on my end. Just not sure what to do.

xlash123 commented 7 years ago

The tweet didn't post for me tonight, so I'm certain part of it is the bot's fault. I'll see what is wrong and do some extensive testing.

BladeofRagna commented 7 years ago

Update: Lux reminders are also not going off. Had them set for last night and kept the bot running overnight. No reminders were made despite the fact that NA lux reminders are already on.

xlash123 commented 7 years ago

Restart the bot and double check it's enabled.

xlash123 commented 7 years ago

I'm experiencing issues with it as well. I'm theorizing that the internal Scheduler has failed somehow, so I've renamed the issue to reflect that, especially since it has affected both Twitter updates and lux reminders.

If I had a dollar for every time I thought I fixed this...

NickEscla commented 7 years ago

If I may add my data to the issue, it seems that it only does the reminder for the first bonus hour that it's turned on for

xlash123 commented 7 years ago

As a temporary fix, restart the bot and re enable lux times. It fixed everything for me. I believe this is a kind of issue that appears the longer the bot is online.

daltowon commented 7 years ago

The Amazon hosted bot seems to be having these issues as well, at least for our server. It'll fetch medal info, but will not get tweets or send out lux reminders.

NickEscla commented 7 years ago

On my server, all the lux reminders work, but we haven't got a tweet

On Aug 15, 2017 6:57 PM, "DaltonUX" notifications@github.com wrote:

The Amazon hosted bot seems to be having these issues as well, at least for our server. It'll fetch medal info, but will not get tweets or send out lux reminders.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xlash123/KHUx-Discord-Bot/issues/14#issuecomment-322641613, or mute the thread https://github.com/notifications/unsubscribe-auth/APUc9SYU3juMMV-BxKQVZc5f8znWTASZks5sYkyCgaJpZM4OZhut .

xlash123 commented 7 years ago

I haven't seen this issues. Are you sure you've enabled lux reminders and Twitter updates? If so, this doesn't seem like a Scheduler issues since everything is running when it's supposed to. Likely, something is preventing it from sending to your channels.

NickEscla commented 7 years ago

Whoops, yea I forgot to turn tweets on. I have been having 0 issues with the amazon hosted version

On Aug 15, 2017 7:40 PM, "Noah" notifications@github.com wrote:

I haven't seen this issues. Are you sure you've enabled lux reminders and Twitter updates? If so, this doesn't seem like a Scheduler issues since everything is running when it's supposed to. Likely, something is preventing it from sending to your channels.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xlash123/KHUx-Discord-Bot/issues/14#issuecomment-322649799, or mute the thread https://github.com/notifications/unsubscribe-auth/APUc9RiZXbd9kth9Na-oNEv4-l4GL_1Mks5sYlawgaJpZM4OZhut .

daltowon commented 7 years ago

I have tried to enable lux reminders with the !lux on command, no response. I've also had twitter updates on, and it hasn't fetched any tweets.

If it matters, when manually hosting the bot, it does all of its functions properly. So that's likely what I'll stick with until the Amazon one stops being weird.

xlash123 commented 7 years ago

@DaltonUX Contact me on Discord. My tag is #Xlash4351. It seems like it's just your server that's affected. I should be able to work it out if I discuss some stuff with you.

xlash123 commented 7 years ago

No issues on the bot end. Likely the feature just needs to be enabled or the bot needs permission to post on that channel.