Darkempire78 / Discord-Tools

VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!
https://marketplace.visualstudio.com/items?itemName=Darkempire78.discord-tools
GNU General Public License v3.0
146 stars 21 forks source link

Update discord.py snippets to v2 #9

Open Zedifuu opened 3 years ago

Zedifuu commented 3 years ago

Hey there!

Loved this tool, has made learning, understanding & using the discord api a lot easier (Solid internal comments <3), Just a thought on enhancements, us using community servers just got this notification out a wee while ago saying discord is integrating bots into the '/' context menu, would be awesome to see this template tool make use of this new feature, I'll drop screenshots giving more detail <3

Keep up the awesome work! image

https://user-images.githubusercontent.com/73708675/111064973-22a03500-84af-11eb-9fed-3e3f894121f0.mov

Darkempire78 commented 3 years ago

It seems very interresting! But it's a beta and the libs can be unstable and can require a lot of updates 🤔

I found this lib for python : https://github.com/eunwoo1104/discord-py-slash-command But i do not found updated libs for js and java, tell me if you know good libs!

Perhaps it's better to wait the official release ? Give me a feedback

reeCaptcha commented 3 years ago

https://github.com/discordjs/discord.js/pull/5106

Darkempire78 commented 3 years ago

Yes, it's a very interresting functionality, but we need to wait the release in each wrapper of Discord

Darkempire78 commented 3 years ago

The owner of the Discord.py wrapper replied about the slash command integration : (see : https://github.com/Rapptz/discord.py/issues/6149 )

image

kdev commented 3 years ago

If you don't want to wait, take a look at Snazzah/slash-create

Zedifuu commented 3 years ago

The owner of the Discord.py wrapper replied about the slash command integration : (see : Rapptz/discord.py#6149 )

Fairrr play! I guess its a waiting game! Excited for moving away from the current prefix based command methods in the future! :> Glad it stirred some interest! Not a necessity

Darkempire78 commented 3 years ago

Slash commands are coming with version 2 of Discord.py apparently (announce from the official server of Discord.py)

Zedifuu commented 3 years ago

Ooooooooo Exciting stuff! Any news from discord.js? :D

Darkempire78 commented 3 years ago

I haven't seen any official announcement on it yet @Zedifuu

Zedifuu commented 3 years ago

Was reading this gist the other day! Looks like there is a pr feat: interactions #5448

Discord only just put out they're documentation 'I think' 18+ hrs ago

Darkempire78 commented 3 years ago

They are working on the slash commands, we just have to wait for the release :D

Zedifuu commented 3 years ago

hypeIntensifies

FeelsBadMan1 commented 3 years ago

Same thing would be nice with the new discord buttons that bots can use in python.

Darkempire78 commented 3 years ago

Same thing would be nice with the new discord buttons that bots can use in python. @FeelsBadMan1

The buttons are in beta. We just have to wait for the release and their implementation with the default module (discord.py).

Darkempire78 commented 3 years ago

So, I have to add Slash Commands for djs

Zedifuu commented 3 years ago

Interactions in general look very cool, learning them currently, look to be able to embed buttons in messages & right click context menus too.

KintonHiryuu commented 3 years ago

Im making a new discordjs13 bot, once i finish the tests and i think its good for usage, ill make a pr here, darkempire already have my first tests on it

Darkempire78 commented 3 years ago

Nice, thanks @KintonHiryuu

KintonHiryuu commented 3 years ago

Ill just add some /commands handlers (like declaring and using them) as well as templates commands, but the visual studio part where is autofills and everything, i can't deal with it

ca-tay commented 2 years ago

pls dont add v13 it gives me brain farts

Darkempire78 commented 2 years ago

I'm adding the support of pycord

ca-tay commented 2 years ago

best thing ive ever read ty

On Thu, Nov 11, 2021 at 6:04 AM Darkempire @.***> wrote:

I'm adding the support of pycord https://github.com/Pycord-Development/pycord

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Darkempire78/Discord-Tools/issues/9#issuecomment-966247840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVZ427A5CLA6JLUNTZYQXW3ULOWN5ANCNFSM4ZE2KMMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Disclaimer: This e-mail and any attachments are intended only for the individual or organization to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this email, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this email is strictly prohibited by the sender.  If you received this transmission in error, please return the material received to the sender and delete all copies from your system.

Darkempire78 commented 2 years ago

best thing ive ever read ty

Done (v1.5.0)

Darkempire78 commented 2 years ago

Duplicate of #30 (because python is already updated)

Darkempire78 commented 2 years ago

Discord.py v2 will be released soon and we have to update the snippets

OlsonBolson-dev commented 1 year ago

so, when can we expect an update for discrd.py snippets?

Darkempire78 commented 1 year ago

@OlsonBolson-dev I don't use discord.py anymore so I won't update the snippets by myself, I'm waiting for someone to do it if they feel like it. The project is open source, everyone can participate to its improvement