Discord Tools is a Visual Studio Code extension to code Discord bots more easily.
GitHub - VSC Marketplace - Open VSX
- Javascript (Discord.js, Eris)
- Typescript (Harmony)
- Python (Discord.py, Pycord)
- Java (JDA)
- Soon...
- Discord chat in VSCode
- Generate a template Discord bot
- Open the Discord bot Documentation with/without a research
- Javascript snippets
- Typescript snippets
- Python snippets
- Java snippets
- Themes
- Functionality table
- Contributing
- Release notes
- License
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
- Navigation tree through the servers (DM will be supported in the future)
- Parameters
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
- Fix small chat glitches
- Refresh the Navigation tree when the chat is reload
- Embed support
- File support
- Private message support
- Open the command palette (Ctrl+Shift+P) and choose :
Generate a <language> template bot (Discord.<language>)
(not available for Harmony and Eris)
- Open the command palette (Ctrl+Shift+P) and choose :
Open the Discord bot Documention
- Shortcut : Ctrl+Alt+D
- JDA, Harmony and Eris documentions do not allow to make a research
- You can change the wrapper in the extension settings if it is not the right documentation that opens by default
Javascript (Discord.js) :
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.- and 47 other snippets...
Javascript (Eris) :
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.
Typescript (Harmony) :
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.
Python (Discord.py) :
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.- and 59 other snippets...
Python (Pycord) :
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.- and 60 other snippets...
Java (JDA) :
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.
- Add the Pycord support
- Fix Discord.js documentation searcher
- Improve the documentation system
- New JDA bot template
- Improve of the Discord.py template system
- Update of the Discord.py template
- The servers in the Discord chat navigation tree are collapsed by default
- Custom emojis support
- Small fix
- Discord chat [BETA]
- JSON Discord Theme fixed
- Log system
- New Discord Theme (Javascript, Python)
- Update of the Discord.js snippets
- Update of the Discord.js template
- Fix an issue with the discord-tools.openDiscordDoc command
- Several small corrections
- Update of the Discord.js template
- Update of the Discord.py template
- Add the Harmony support
- Fix the python template
- Fix workspace error
- Small corrections
- Add the Eris support
- Add the definition of python parameters
- Fix small python snippets
- Several python snippet corrections
- Correction of the python template
- New snippet aliases
- New snippet choices
- Several corrections
- New command : open the Discord bot Documentation with/without a research (works with Discord.py, Discord.js, JDA)
- New Discord.js bot template
- New bot template generator system
- New auto package downloader
- Few small updates
- 48 new Discord.js events added
- Addition of capital letters to Discord.py events
- Few small updates
- Change of snippet prefixes to
dpy
(Discord.py),djs
(Discord.js) andjda
(JDA) - 59 new Discord.py events added
- New language supported : Java (JDA)
- Several corrections
- Initial release
This project is under GPLv3.