Closed serenity091 closed 1 year ago
.flatten()
is removed, use [msg async for msg in channel.history(limit=1)]
instead. This is noted in the migrating page on the docs.
still doesn't solve the issue. Have you tried running the code yourself? This works in the original discord.py-self
Summary
channel.history returns error.
Reproduction Steps
This error only appears in git+https://github.com/dolfies/discord.py-self.git but not in the official discord.py-self library
Code
No response
Expected Results
Channel.history is supposed to return messages in the channel.
Actual Results
Error.
System Information
pip install git+https://github.com/dolfies/discord.py-self.git
Checklist
Additional Information
No response