Modmail icon indicating copy to clipboard operation
Modmail copied to clipboard

[BUG]: Modmail sets the channel topic separately from channel creation

Open sebkuip opened this issue 3 years ago • 0 comments

Bot Version

v4.0 (all versions)

How are you hosting Modmail?

Other

Error Logs

N/A

Screenshots

No response

Additional Information

When a thread is created, through multiple steps it finally invokes a discord API call here to make a channel. This only sets the name, category and permissions however.

The channel topic with the user ID is only set here in thread.py

This means it's a separate API call, which might pose issues with rate limits. One should specify the topic when creating the channel instead.

sebkuip avatar May 04 '22 06:05 sebkuip