PythonistaGuild / TwitchIO

An Async Bot/API wrapper for Twitch made in Python.
https://twitchio.dev
MIT License
798 stars 163 forks source link

Python 3.10 compatibility, drop loop= for >=3.10 #252

Closed nkukard closed 2 years ago

nkukard commented 2 years ago

Pull request summary

Python 3.10 drops the loop= parameter in Event(). Check the Python version so we don't raise a TypeError when running under 3.10+.

Fixes #251

Checklist

IAmTomahawkx commented 2 years ago

I do love it when python doesn't follow semver

IAmTomahawkx commented 2 years ago

Just drop the loop arg entirely

nkukard commented 2 years ago

Just drop the loop arg entirely

Done