0

I would like to create a delete command using Disnake. I want to turn delete the 100 messages on the channel where they were executed. I would love to know the code!

I would like to make those, but I can't find them in my research.

Thanks.

kaon8name
  • 1
  • 2

1 Answers1

0

You can do smth like in your async message delete function:

await inter.message.channel.purge(limit=100)

Myth
  • 338
  • 7