Comments (1)
This isn't really a bug, this is just a side effect of what auto_defer == 0 means
Auto deferral is client level and the timer for it starts when the interaction is received and setting it to 0 indicates that it should be deferred during the next event loop cycle, this next cycle is likely reached when checks are run, before it's even found any matching commands with this meaning that it'll be deferred before its matched a command to set the ephemeral default. This likely isn't going to change for a long time and can be worked around by setting a small but non-zero value for the client level auto defer.
from tanjun.
Related Issues (20)
- '_CommandBuilder' object has no attribute 'description' HOT 4
- FR: Better/more dynamic time handling in cooldown errors HOT 1
- FR: returning autocomplete options
- Incorrect message menu command name validation HOT 2
- Shelex parser shortcomings
- Fix typo HOT 1
- FR: Application LazyConstant
- Parent attribute of subcommand objects return None when loaded their components from another module HOT 2
- FR: Ephemeral CommandError handling HOT 3
- Add a higher level abstraction of creating and syncing commands to a specific guild HOT 2
- sub command group have issue HOT 3
- Commands with tanjun.with_all_checks(...) raise TypeError on calling
- FR: Match `hikari`'s way of listening for multiple event types
- FR: Positional-only Options Declaration with Defaults
- Client callback feature HOT 1
- Documentation tells a wrong way to listen to events in components.
- Add default localisations for standard responses
- Subcommand object not accessible from context in checks added to groups
- Some commands cause bot to redeclare commands on every launch
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 tanjun.