Comments (3)
Do you see any value in making the examples command value such that they will run? Even if it's just a dummy response.
It would be good if we change ...
to # Your command here
, so people do not get confused.
from disnake.
The ...
is a placeholder for the command body. These examples are mostly to provide an example on how to setup slash commands, but I understand where the confusion comes from.
@EQUENOS Do you see any value in making the examples command value such that they will run? Even if it's just a dummy response.
from disnake.
I take that back, ...
is still valid Python. This is likely an installation issue then, and not an issue with the library.
If you add import disnake
to your example it should work.
from disnake.
Related Issues (20)
- Another blind spot of command sync algorithm
- Expose enums off relevant classes' namespace HOT 4
- bug in threads.py HOT 1
- Add a system message return to `disnake.Message.pin()` HOT 2
- Command preparation and sync fails when bot is started on an unmanaged event loop HOT 4
- Add support for more docstrings styles
- Pycharm cannot determine type when using `@utils.cached_slot_property` HOT 3
- Typed IDs. HOT 14
- Add `on_raw_presence_update` event
- Inconsistency with type hinting `create_x_channel` methods and underlying `_create_channel` method
- Add the ability to change the description of the bot HOT 1
- implement new Poll discord API feature
- The load_extensions function is not working correctly HOT 1
- Object doesn't have name and type attributes HOT 1
- `@commands.check` and `@error` method typings/docs are not entirely accurate
- Ignoring i18n files starting with . HOT 2
- Local embed icons HOT 2
- implement message forwards feature
- yarl in oauth2 url generator
- Missing class in documentation may lead to confusion
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 disnake.