Discord V2 - Purge With Filters Slash Command | Part 7
Вставка
- Опубліковано 19 сер 2024
- Discord V2 - Purge With Filters Slash Command | Part 7
Support Server - dsc.gg/apptic
Discord.py slash commands
Discord.py bot tutorial
discord bot in python
how to make discord bot in python
awesome
Thanks ❤️
I'm getting these errors once the command is ran:
m async for m in channel.history(
^^^^^^^^^^^^^^^
AttributeError: 'member_descriptor' object has no attribute 'history'
During handling of the above exception, another exception occurred:
msg = await interaction.response.send_message(f"I'm sorry, but I am not able to purge messages in **{channel}**")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'CachedSlotProperty' object has no attribute 'send_message'
The above exception was the direct cause of the following exception:
discord.app_commands.errors.CommandInvokeError: Command 'purge' raised an exception: AttributeError: 'CachedSlotProperty' object has no attribute 'send_message'
this is not full traceback