Closed ghost closed 5 years ago
See the Migrating to v1.0 section of the documentation, specifically, the Models are Stateful and Asynchronous Iterators subsections.
For future questions like this, you should join either the official discord.py server or the Discord API server for help, as the README recommends.
It looks to me like you are using discord.py's rewrite version...not the async version.
logs_from
does not exist in rewrite, it'schannel.history
:https://discordpy.readthedocs.io/en/rewrite/api.html#discord.abc.Messageable.history