I want to create a /purge command to delete a certain amount of messages from a channel. Is there a way to get messages from a specific channel?
I can’t seem to find anything in the documentation that can get messages from a discord channel without the message ID.
>Solution :
Well, you can just use lib inbuilt channel.purge
or less suitable async for ... in channel.history
In both cases you need to make some sorta checking function.