tricolorhen061 / discordpy-slash Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Howdy
i've tried to use this with my existing commands
all normal commands that dont output in an embed work however when i run a commands the outputs in an embed it sends an error for some of them
please note that these embeds contain images / emojis
i've tried it on an embed that uses just text and it works
Object of type Embed is not JSON serializable
also i would like to ask , is there a way we can define only some commands to load and not all
thanks in advance
Hi, I was using hidden_commands to hide some commands from being shown on slash, and when I add hidden_commands to my code in the form of
await sync_all_commands(
client=clt,
loading_message='delta is processing...',
hidden_commands=['prefix','shutdown','restart'],
case_sensitive=False
)
it simply doesn't remove the commands after finishing syncing.
And the buttons just return Command raised an exception: TypeError: Messageable.send() got an unexpected keyword argument 'buttons'
when they are used like this:
await ctx.send(embed=emb,buttons=
[
Button(label='test1'),
Button(label='test2')
])
Any help would be greatly appreciated, thank you so much, this has been a lifesaver.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.