Open revission opened 4 years ago
@revission Thanks for bringing this issue up. I am pretty sure that it is crashing because the season hasn't started yet and the bot is restarting every day as a result.
If it still does this after the season starts, I will add an environment variable that allows disabling the welcome message so it doesn't spam.
Just happened again. Had a schedule post properly for our matchups this week, but I just got yet another 'Welcome Message' anyhow :-)
Ok I think I know where the problem is. A fix is on the way (hopefully).
Is your bot on Discord, Slack, or Groupme?
@revission It should hopefully work now. You will need to delete the bot and make a new one.
Steps: 1.) Go to https://dashboard.heroku.com/apps/NAME_OF_YOUR_BOT/settings and click "Reveal config vars" 2.) Copy the config vars that you need for discord. 3.) Go to the bottom of that page and delete the bot. 4.) Follow these steps to relaunch a new bot https://github.com/SwapnikKatkoori/sleeper-ff-bot#deploy-the-bot
Sorry for the tedious steps. Lmk if it keeps spamming after this fix.
Sounds good. I'll work on that and let you know how it looks going forward.
EDIT: New bot is deployed and welcome message received. I'll let you know how the next week or so goes.
Just got another 'Welcome' :-)
I think that it broke again :( The sleeper api is causing some unforeseen errors that I'll need to fix when I have more time. I would take the bot down on Herkou for now to avoid the spam.
I noticed that I'm receiving the welcome message repeatedly, even when making no changes to the setup myself. Roughly 2am Pacific daily, I have the bot saying hello, and presenting the schedule.
While I'm hopeful this will end when the season officially starts, I was curious if there's a way to prevent/disable the welcome message after the user confirms it was setup properly. I'd like to integrate this into my primary league chat, but currently I have it running in a test channel to avoid hitting that channel nightly :-)
In any case, thank you for your time invested into this!