cedws / discord-delete

Tool to delete Discord message history
GNU General Public License v3.0
126 stars 18 forks source link

Add the ability to skip a channel category using its ID #39

Closed PolicyPuma4 closed 3 years ago

PolicyPuma4 commented 3 years ago

Pretty much self explanatory. Would be very useful for myself.

Nice app BTW! Awesome work!

cedws commented 3 years ago

Could you clarify what you mean by channel category?

fosspill commented 3 years ago

Categories are the topics that all channels are sorted within.

image In this picture #general and #static is under the "WRITTEN CHIRPS" category. You can right click those to copy the ID, like any other channel.

With discord.py I believe you can get a specific ID with: category = get(guild.category_channels, name='WRITTEN CHIRPS') or something.

cedws commented 3 years ago

Unfortunately this isn't possible since Discord doesn't tell the client what category a message belongs to. It might be possible with some heavy logic but it would be too complex for a nice-to-have feature.