FanfictionBot / reddit-ffn-bot

A reddit auto reply bot.
53 stars 18 forks source link

fix call to removed collections.sequence #130

Closed Emily1799 closed 1 year ago

Emily1799 commented 1 year ago

I left in the traceback I used to track this down, it probably won't hurt =)

I'm not 100% sure this will fix it for your instance of the bot, but from what I can tell from my own experience cloning and running on a private subreddit is that I got back an error that Collections.Sequence didn't exist, found this which let me know it was moved in Python 3.10, and I grabbed a traceback find where the error was happening, fixed the call, and then the edited version worked.

FanfictionBot commented 1 year ago

Thanks! I'll update the running instance of the bot later today.

Emily1799 commented 1 year ago

Thank you! I've loved using the bot over the years, and am happy to have even tried to get it working again. Fingers crossed that this was your local issue too!