Comments (13)
+1, really need to delete the messages in the argument asking process
from commando.
Any update on this 😞?
from commando.
@BalmaBrian The bulkDelete function exists on the TextChannel class and has nothing to do with the client.
See this page for more information. Otherwise, feel free to take your Discord.js-related questions to the support channels within the official Discord server - https://discord.gg/bRCvFy9
from commando.
https://discord.js.org/#/docs/commando/master/class/CommandMessage?scrollTo=responses
from commando.
Actually, that may not be it. I'll have to check later.
from commando.
Agreed, that would be a nice-to-have.
from commando.
Yeah thats a really need option to delete the prompts and response messages
from commando.
Currently, it can be accomplished by deleting messages in the CommandoMessage#responses property in the CommandoClient#commandRun event after a delay. A more graceful way of handling this is planned.
from commando.
Is it possible to delete more messages in a single channel?
from commando.
Is it possible to delete more messages in a single channel?
If I understand correctly, isn't that what bulkDelete is for?
from commando.
@Naim2000 yes, how ever I am still having trouble using the this.client
functionality to access bulkDelete correctly. I am probably approaching this problem incorrectly. Is there a way to use bulkDelete in a run function of a Command class?
from commando.
Is there any update on this issue/enhancement? Deleting arg prompts is still a problematic experience
from commando.
Currently, it can be accomplished by deleting messages in the CommandoMessage#responses property in the CommandoClient#commandRun event after a delay. A more graceful way of handling this is planned.
How do you do that? When I use message.responses I have no options to delete available, VS Code tells me the type is {}.
from commando.
Related Issues (20)
- CommandoMessage does not refer to CommandoClient
- Async run is only possible when giving arguments
- Bug: Using unsafe instanceof Array leads to issues in some environments HOT 3
- Slash commands support HOT 5
- Problems with the CommandDispatcher interface?
- problems installing commando HOT 2
- Include ‘message.channel.id’ in arg as ‘default’ HOT 1
- Support for V13? HOT 8
- Support `<#channelid>` input for non-text channels. HOT 2
- Registers channel ID for arguments when it cant send messages in channels. HOT 1
- TypeError: Cannot read property 'id' of undefined HOT 3
- RangeError [MESSAGE_CONTENT_TYPE]: Message content must be a non-empty string.
- Preset help command says DM's are disabled when they aren't. HOT 2
- [Question] Command pattern matching and arg parsing HOT 1
- Question using subfolders in commands HOT 1
- Sapphire HOT 1
- Incompatible with Discord.JS v13 HOT 5
- TypeError: Cannot read property 'extend' of undefined HOT 3
- problem with commando HOT 2
- v13? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commando.