Closed Sitois closed 4 months ago
You cannot create a group with one user. This is just creating a DM channel while the library thinks it's a group channel, causing this error. I'll make it throw a more descriptive error.
You cannot create a group with one user. This is just creating a DM channel while the library thinks it's a group channel, causing this error. I'll make it throw a more descriptive error.
I'll try that later, thanks!
Just fixed in the latest commit. Looking at your code, it seems you're removing the single recipient anyway. If you want an empty group, you can just do that:
panel = await bot.create_group()
await panel.edit(name="Nuclear Panel")
await panel.send("hi")
It works great. A big thank for this amazing library!
Summary
Trying to create a group
Reproduction Steps
With this code:
Code
Expected Results
Its supposed to create a group
Actual Results
An error occures
System Information
Checklist
Additional Information
No response