SwapnikKatkoori / sleeper-ff-bot

A GroupMe/Slack/Discord Bot for Sleeper fantasy leagues
MIT License
32 stars 18 forks source link

Discord issue - NoneType #10

Open AntMarotta opened 4 years ago

AntMarotta commented 4 years ago

I feel like i have a lot of issues lately sorry to be bothering you. Here’s a message from discord.

There was an error that occurred with the bot: unsupported format string passed to NoneType.format

SwapnikKatkoori commented 4 years ago

Yeah there's a problem with getting the scores from the sleeper api. I need to find a new way to calculate it so hopefully it should be fixed soon.

SwapnikKatkoori commented 4 years ago

@AntMarotta It should work now. You will have to delete the bot and relaunch 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 about this being kind of tedious. Hopefully everything will work now.

AntMarotta commented 4 years ago

No worries for it being tedious! You put so much time and effort into this. I just redeployed it all and got the welcome message so it seems to be working as of now. Excited to see if it works for the scheduled posts.

On Fri, Sep 6, 2019 at 11:56 AM Swapnik Katkoori notifications@github.com wrote:

@AntMarotta https://github.com/AntMarotta It should work now. You will have to delete the bot and relaunch 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 about this being kind of tedious. Hopefully everything will work now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SwapnikKatkoori/sleeper-ff-bot/issues/10?email_source=notifications&email_token=ABBJ7HBGRIWH5TLJDJQPNKTQIJ4RVA5CNFSM4IUJKHP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DIZAY#issuecomment-528911491, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBJ7HCBTUZBPSIMOA6D4SDQIJ4RVANCNFSM4IUJKHPQ .

--

Anthony J. Marotta

Cinematographer // Produceranthonyjmarotta.com http://anthonyjmarotta.com Philadelphia // New York 732.606.6434

SwapnikKatkoori commented 4 years ago

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.