VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!
GPL-3.0 License
Discord Tools is a Visual Studio Code extension to code Discord bots more easily.
GitHub - VSC Marketplace - Open VSX
⚠️ This feature is currently in BETA, so it is possible that some features are not yet implemented and you may find bugs. If you find an error, thank you for reporting it here
⚠️ It seems that the way this extension works is not entirely within Discord's terms of service. See the Discord's terms for more. However, please note that this extension does not collect personal information and does not automatically respond to messages!
You must set up your personal Discord token with the command: Discord Chat: Set up your personal Discord token
(Ctrl+Shift+P to open the Command palette)
You can find your Discord token with the command: Discord Chat: Grab your personal Discord Token
. However, if this does not work, you can follow this tutorial
Discord Chat: Set up your personal Discord token
Discord Chat: Start the Discord chat
Discord Chat: Grab your personal Discord Token
Discord Chat: Set up if the Discord chat should start when VSCode is opened
Discord Chat: Open the Discord Chat (must be started before)
Discord Chat: Reload the Discord Bot
Generate a <language> template bot (Discord.<language>)
(not available for Harmony and Eris)⚠️ A folder must be opened in VSCode to execute this command
⚠️ Maven must be installed to build the JDA tempate
Open the Discord bot Documention
⚠️ A folder must be opened in VSCode to execute this command
djs.index
: Create a basic Discord bot index.js file.djs.cmd
: Create a basic Discord command.djs.cmd+
: Create a complex Discord command.djs.embed
: Create a basic Discord embed.djs.embed+
: Create a complex Discord embed.djs.message
: Create a default Discord bot message event.djs.guildmemberadd
: Create a default Discord bot guildMemberAdd event.djs.guildmemberremove
: Create a default Discord bot guildMemberRemove event.djs.guildcreate
: Create a default Discord bot guildCreate event.djs.guilddelete
: Create a default Discord bot guildDelete event.eris.index
: Create a basic Discord bot index.js file.eris.cmd
: Create a basic Discord command.eris.cmd+
: Create a complex Discord command.eris.embed
: Create a basic Discord embed.eris.embed+
: Create a complex Discord embed.eris.message
: Create a default Discord bot message event.hy.index
: Create a basic Discord bot index.ts file.hy.cmd
: Create a basic Discord command.hy.cmd+
: Create a complex Discord command.hy.embed
: Create a basic Discord embed.hy.embed+
: Create a complex Discord embed.hy.message
: Create a default Discord bot message event.dpy.main
: Create a basic Discord bot main.py file.dpy.cog
: Create a basic Discord cog.dpy.cmd
: Create a basic Discord command.dpy.cmd+
: Create a complex Discord command.dpy.embed
: Create a basic Discord embed.dpy.embed+
: Create a complex Discord embed.dpy.onmessage
: Create a default Discord bot on_message event.dpy.onmemberjoin
: Create a default Discord bot on_member_join event.dpy.onmemberremove
: Create a default Discord bot on_member_remove event.dpy.onguildjoin
: Create a default Discord bot on_guild_join event.dpy.onguildremove
: Create a default Discord bot on_guild_remove event.pyc.main
: Create a basic Discord bot main.py file.pyc.slash
: Create a basic Discord slash command.pyc.cmd
: Create a basic Discord command.pyc.cmd+
: Create a complex Discord command.pyc.embed
: Create a basic Discord embed.pyc.embed+
: Create a complex Discord embed.pyc.onmessage
: Create a default Discord bot on_message event.pyc.onmemberjoin
: Create a default Discord bot on_member_join event.pyc.onmemberremove
: Create a default Discord bot on_member_remove event.pyc.onguildjoin
: Create a default Discord bot on_guild_join event.pyc.onguildremove
: Create a default Discord bot on_guild_remove event.jda.main
: Create a basic Discord bot main function.jda.cmd
: Create a basic Discord command.jda.embed
: Create a basic Discord embed.jda.embed+
: Create a complex Discord embed.jda.onmessagereceived
: Create a default Discord bot on.Works for Python and JavaScript
Activate the theme : CTRL + K + CTRL + T
and choose Discord Theme (Dark)
Template | Doc | Doc searcher | Snippets | |
---|---|---|---|---|
Discord.js | ✅ | ✅ | ✅ | ✅ |
Eris | ❌ | ✅ | ❌ | ✅ |
Harmony | ❌ | ✅ | ❌ | ✅ |
Discord.py | ✅ | ✅ | ✅ | ✅ |
Pycord | ❌ | ✅ | ✅ | ✅ |
JDA | ✅ | ✅ | ❌ | ✅ |
Join the Discord server!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
dpy
(Discord.py), djs
(Discord.js) and jda
(JDA)This project is under GPLv3.