Comments (6)
Can checks user code raise an error? If so, both check name (or check object entirely?) and user-raised exception could be stored in CommandCheckFailure attributes
from naff.
That's fine by me
from naff.
Im unsure on what structure this data should be communicated. Just a string with the check's method name?
from naff.
Is it possible to send the whole function? Who knows, maybe someone will have two checks named the same thing.
If not, the name would be the best way to do it.
from naff.
it apparently already was, and according to git-blame it has been there since the CommandCheckFailure
class was created
from naff.
Closing this issue as per the above
from naff.
Related Issues (20)
- Missing docs
- [FEAT] Port Sentry integration from taipan to main library HOT 4
- [FEAT] bot.create_guild()
- [FEAT] Application Command Localization
- [Feat] Support raw strings in Embed.footer HOT 2
- [FEAT] Optional presence/activity cache HOT 2
- [BUG] `Message.reply` fails in DMs + no channel for DMs HOT 1
- [FEAT] Add "delete_after" as (float) param to .send functions.
- [BUG] Caching issue when editing really fast
- [BUG] `GuildVoice.position` is not working as it should HOT 2
- [BUG] Command Syncing HOT 1
- [BUG] bot.is_ready not reset during reconnect
- [FEAT] Add Thread Support for Components HOT 1
- [FEAT] New select menu options
- Bot has exceeded global ratelimit, locking REST API for 0.002 seconds HOT 1
- TypeError: Member.__init__() missing 1 required keyword-only argument: 'joined_at'
- AttributeError: 'NoneType' object has no attribute '_voice_member_ids'
- [FEAT] Modal builder class decorator HOT 1
- [FEAT] Add `Role.clone()` method
- [FEAT] Paginator stuff 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 naff.