{"id":13575460,"url":"https://github.com/Darkempire78/Discord-Tools","last_synced_at":"2025-04-04T22:31:13.885Z","repository":{"id":40703930,"uuid":"323413940","full_name":"Darkempire78/Discord-Tools","owner":"Darkempire78","description":"VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!","archived":false,"fork":false,"pushed_at":"2023-11-14T23:28:49.000Z","size":9524,"stargazers_count":151,"open_issues_count":11,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T18:41:19.362Z","etag":null,"topics":["discord","discord-bot","discord-java","discord-js","discord-py","discordbot","discordjs","eris","eris-discord","eris-discord-bot","hacktoberfest","jda","jda-bot","jda-discord","jda-discord-bot","pycord","template-bot","typescript","visual-studio-code","visual-studio-code-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=Darkempire78.discord-tools","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Darkempire78.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Darkempire78"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.com/paypalme/Imdarkempire","https://www.buymeacoffee.com/darkempire78"]}},"created_at":"2020-12-21T18:13:59.000Z","updated_at":"2025-03-10T16:08:28.000Z","dependencies_parsed_at":"2023-11-10T18:25:44.250Z","dependency_job_id":"e3839a76-b605-481a-9ec2-b139e697665f","html_url":"https://github.com/Darkempire78/Discord-Tools","commit_stats":{"total_commits":212,"total_committers":18,"mean_commits":"11.777777777777779","dds":"0.49056603773584906","last_synced_commit":"dd74dcaeef8277f06b939bdc478c7ff2f378f563"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkempire78%2FDiscord-Tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkempire78%2FDiscord-Tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkempire78%2FDiscord-Tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkempire78%2FDiscord-Tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Darkempire78","download_url":"https://codeload.github.com/Darkempire78/Discord-Tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247260495,"owners_count":20910015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord","discord-bot","discord-java","discord-js","discord-py","discordbot","discordjs","eris","eris-discord","eris-discord-bot","hacktoberfest","jda","jda-bot","jda-discord","jda-discord-bot","pycord","template-bot","typescript","visual-studio-code","visual-studio-code-extension"],"created_at":"2024-08-01T15:01:01.295Z","updated_at":"2025-04-04T22:31:08.874Z","avatar_url":"https://github.com/Darkempire78.png","language":"JavaScript","funding_links":["https://github.com/sponsors/Darkempire78","https://www.paypal.com/paypalme/Imdarkempire","https://www.buymeacoffee.com/darkempire78"],"categories":["visual-studio-code"],"sub_categories":[],"readme":"![CodeFactor](https://img.shields.io/codefactor/grade/github/Darkempire78/Discord-Tools?style=for-the-badge) ![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/Darkempire78.discord-tools?style=for-the-badge) \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=Darkempire78.discord-tools\"\u003e\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/i/Darkempire78.discord-tools?style=for-the-badge\"\u003e\u003c/a\u003e \u003ca href=\"https://discord.com/invite/sPvJmY7mcV\"\u003e\u003cimg src=\"https://img.shields.io/discord/831524351311609907?color=%237289DA\u0026label=DISCORD\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\n# Discord Tools\n\nDiscord Tools is a Visual Studio Code extension to code Discord bots more easily.\n\n[**GitHub**](https://github.com/Darkempire78/Discord-Tools) - [**VSC Marketplace**](https://marketplace.visualstudio.com/items?itemName=Darkempire78.discord-tools) - [**Open VSX**](https://open-vsx.org/extension/Darkempire78/discord-tools/1.4.3)\n\n## Supported Languages\n\n- [x] Javascript ([**Discord.js**](https://discord.js.org/#/), [**Eris**](https://abal.moe/Eris/))\n- [x] Typescript ([**Harmony**](https://harmony.mod.land/))\n- [x] Python ([**Discord.py**](https://discordpy.readthedocs.io/en/latest/), [**Pycord**](https://docs.pycord.dev/en/master/))\n- [x] Java ([**JDA**](https://github.com/DV8FromTheWorld/JDA))\n- [ ] Soon...\n\n## Index\n- [**Discord chat in VSCode**](##beta-discord-chat-in-vscode-)\n- [**Generate a template Discord bot**](#generate-a-template-discord-bot-)\n- [**Open the Discord bot Documentation with/without a research**](#open-the-discord-bot-documentation-withwithout-a-research-)\n- [**Javascript snippets**](#available-snippets)\n  - [Discord.js](#javascript-discordjs-)\n  - [Eris](#javascript-eris-)\n- [**Typescript snippets**](#typescript-harmony-)\n  - [Harmony](#typescript-harmony-)\n-  [**Python snippets**](#python-discordpy-)\n    - [Discord.py](#python-discordpy-)\n    - [Pycord](#python-pycord-)\n-  [**Java snippets**](#java-jda-)\n    - [JDA](#java-jda-)\n- [**Themes**](#discord-theme-dark-version)\n- [**Functionality table**](#functionality-table)\n- [**Contributing**](#contributing)\n- [**Release notes**](#release-notes)\n- [**License**](#license)\n\n## Features\n\n### [BETA] Discord chat in VSCode : \n⚠️ **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](https://github.com/Darkempire78/Discord-Tools/issues/new)**\n\n⚠️ It seems that the way this extension works is not entirely within Discord's terms of service. See the [Discord's terms](https://discord.com/terms) for more.\nHowever, please note that this extension does not collect personal information and does not automatically respond to messages!\n\n#### Installation\nYou must set up your personal Discord token with the command: `Discord Chat: Set up your personal Discord token` (\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e to open the Command palette)\nYou 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](https://www.youtube.com/watch?v=YEgFvgg7ZPI)\n\n#### Features\n* Discord Chat\n* Navigation tree through the servers (DM will be supported in the future)\n* Parameters\n\n#### Commands\n* `Discord Chat: Set up your personal Discord token`\n* `Discord Chat: Start the Discord chat`\n* `Discord Chat: Grab your personal Discord Token`\n* `Discord Chat: Set up if the Discord chat should start when VSCode is opened`\n* `Discord Chat: Open the Discord Chat (must be started before)`\n* `Discord Chat: Reload the Discord Bot`\n\n#### Preview\n\u003cimg src=\"images/Capture2.png\" width=\"700\"/\u003e\n\n#### To do (soon)\n- [ ] Fix small chat glitches\n- [ ] Refresh the Navigation tree when the chat is reload\n- [ ] Embed support\n- [ ] File support\n- [ ] Private message support\n\n### Generate a template Discord bot : \n- Open the command palette (\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e) and choose : `Generate a \u003clanguage\u003e template bot (Discord.\u003clanguage\u003e)` (not available for Harmony and Eris)\n\n⚠️ A folder must be opened in VSCode to execute this command\n\n⚠️ [Maven](https://maven.apache.org/) must be installed to build the JDA tempate\n\n\u003cimg src=\"images/video1.gif\" width=\"500\"/\u003e\n\n\n### Open the Discord bot Documentation with/without a research :\n- Open the command palette (\u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eP\u003c/kbd\u003e) and choose : `Open the Discord bot Documention`\n- Shortcut : \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eAlt\u003c/kbd\u003e+\u003ckbd\u003eD\u003c/kbd\u003e\n- JDA, Harmony and Eris documentions do not allow to make a research\n- You can change the wrapper in the extension settings if it is not the right documentation that opens by default\n\n⚠️ A folder must be opened in VSCode to execute this command\n\n\u003cimg src=\"images/video5.gif\" width=\"500\"/\u003e\n\n### Generate code easily :\n\n### Available Snippets\n\n#### Javascript ([Discord.js](https://discord.js.org/#/)) :\n\n- `djs.index` : Create a basic Discord bot index.js file.\n- `djs.cmd` : Create a basic Discord command.\n- `djs.cmd+` : Create a complex Discord command.\n- `djs.embed` : Create a basic Discord embed.\n- `djs.embed+` : Create a complex Discord embed.\n- `djs.message` : Create a default Discord bot message event.\n- `djs.guildmemberadd` : Create a default Discord bot guildMemberAdd event.\n- `djs.guildmemberremove` : Create a default Discord bot guildMemberRemove event.\n- `djs.guildcreate` : Create a default Discord bot guildCreate event.\n- `djs.guilddelete` : Create a default Discord bot guildDelete event.\n- **and 47 other snippets...**\n\n#### Javascript ([Eris](https://abal.moe/Eris/)) :\n- `eris.index` : Create a basic Discord bot index.js file.\n- `eris.cmd` : Create a basic Discord command.\n- `eris.cmd+` : Create a complex Discord command.\n- `eris.embed` : Create a basic Discord embed.\n- `eris.embed+` : Create a complex Discord embed.\n- `eris.message` : Create a default Discord bot message event.\n\n#### Javascript Preview :\n\u003cimg src=\"images/video2.gif\" width=\"500\"/\u003e\n\n#### Typescript ([Harmony](https://harmony.mod.land/)) :\n- `hy.index` : Create a basic Discord bot index.ts file.\n- `hy.cmd` : Create a basic Discord command.\n- `hy.cmd+` : Create a complex Discord command.\n- `hy.embed` : Create a basic Discord embed.\n- `hy.embed+` : Create a complex Discord embed.\n- `hy.message` : Create a default Discord bot message event.\n\n#### Python ([Discord.py](https://discordpy.readthedocs.io/en/latest/)) :\n\n- `dpy.main` : Create a basic Discord bot main.py file.\n- `dpy.cog` : Create a basic Discord cog.\n- `dpy.cmd` : Create a basic Discord command.\n- `dpy.cmd+` : Create a complex Discord command.\n- `dpy.embed` : Create a basic Discord embed.\n- `dpy.embed+` : Create a complex Discord embed.\n- `dpy.onmessage` : Create a default Discord bot on_message event.\n- `dpy.onmemberjoin` : Create a default Discord bot on_member_join event.\n- `dpy.onmemberremove` : Create a default Discord bot on_member_remove event.\n- `dpy.onguildjoin` : Create a default Discord bot on_guild_join event.\n- `dpy.onguildremove` : Create a default Discord bot on_guild_remove event.\n- **and 59 other snippets...**\n\n#### Python ([Pycord](https://docs.pycord.dev/en/master/)) :\n\n- `pyc.main` : Create a basic Discord bot main.py file.\n- `pyc.slash` : Create a basic Discord slash command.\n- `pyc.cmd` : Create a basic Discord command.\n- `pyc.cmd+` : Create a complex Discord command.\n- `pyc.embed` : Create a basic Discord embed.\n- `pyc.embed+` : Create a complex Discord embed.\n- `pyc.onmessage` : Create a default Discord bot on_message event.\n- `pyc.onmemberjoin` : Create a default Discord bot on_member_join event.\n- `pyc.onmemberremove` : Create a default Discord bot on_member_remove event.\n- `pyc.onguildjoin` : Create a default Discord bot on_guild_join event.\n- `pyc.onguildremove` : Create a default Discord bot on_guild_remove event.\n- **and 60 other snippets...**\n\n#### Python Preview :\n\u003cimg src=\"images/video3.gif\" width=\"500\"/\u003e\n\n#### Java ([JDA](https://github.com/DV8FromTheWorld/JDA)) :\n\n- `jda.main` : Create a basic Discord bot main function.\n- `jda.cmd` : Create a basic Discord command.\n- `jda.embed` : Create a basic Discord embed.\n- `jda.embed+` : Create a complex Discord embed.\n- `jda.onmessagereceived` : Create a default Discord bot on.\n\n#### Java Preview :\n\u003cimg src=\"images/video4.gif\" width=\"500\"/\u003e\n\n### Discord Theme (Dark version)\nWorks for Python and JavaScript\nActivate the theme : `CTRL + K + CTRL + T` and choose `Discord Theme (Dark)`\n\n#### Preview :\n\u003cimg src=\"images/capture1.png\" width=\"700\"/\u003e\n\n## Functionality table\n\n|            | Template | Doc | Doc searcher | Snippets |\n|------------|:--------:|:---:|:------------:|:--------:|\n| Discord.js |     ✅    |  ✅  |       ✅      |     ✅    |\n| Eris       |     ❌    |  ✅  |       ❌      |     ✅    |\n| Harmony    |     ❌    |  ✅  |       ❌      |     ✅    |\n| Discord.py |     ✅    |  ✅  |       ✅      |     ✅    |\n| Pycord     |     ❌    |  ✅  |       ✅      |     ✅    |\n| JDA        |     ✅    |  ✅  |       ❌      |     ✅    |\n\n## Discord\n\nJoin the Discord server!\n\n[![](https://i.imgur.com/UfyvtOL.png)](https://discord.gg/sPvJmY7mcV)\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n\n## Release Notes\n\n### 1.5.0 (Latest update)\n- Add the Pycord support\n- Fix Discord.js documentation searcher\n- Improve the documentation system\n### 1.4.3 \n- New JDA bot template\n- Improve of the Discord.py template system\n- Update of the Discord.py template\n### 1.4.2 \n- The servers in the Discord chat navigation tree are collapsed by default\n- Custom emojis support\n### 1.4.1 \n- Small fix\n### 1.4.0 \n- Discord chat [BETA]\n- JSON Discord Theme fixed \n- Log system\n### 1.3.3 \n- New Discord Theme (Javascript, Python)\n### 1.3.2\n- Update of the Discord.js snippets\n- Update of the Discord.js template\n- Fix an issue with the discord-tools.openDiscordDoc command \n- Several small corrections\n### 1.3.1 \n- Update of the Discord.js template\n- Update of the Discord.py template\n### 1.3.0 \n- Add the Harmony support\n### 1.2.2\n- Fix the python template\n### 1.2.1\n- Fix workspace error\n- Small corrections\n### 1.2.0 \n- Add the Eris support\n- Add the definition of python parameters\n- Fix small python snippets\n### 1.1.6 \n- Several python snippet corrections\n- Correction of the python template \n### 1.1.5 \n- New snippet aliases\n- New snippet choices\n- Several corrections\n### 1.1.4\n- New command : open the Discord bot Documentation with/without a research (works with Discord.py, Discord.js, JDA)\n### 1.1.3 \n- New Discord.js bot template\n- New bot template generator system\n- New auto package downloader\n- Few small updates\n### 1.1.2\n- 48 new Discord.js events added\n- Addition of capital letters to Discord.py events\n- Few small updates\n### 1.1.1 \n- Change of snippet prefixes to `dpy` (Discord.py), `djs` (Discord.js) and `jda` (JDA)\n- 59 new Discord.py events added\n### 1.1.0\n- New language supported : Java (JDA)\n### 1.0.1\n- Several corrections\n### 1.0.0\n- Initial release\n\n\n## License\n\nThis project is under [GPLv3](https://github.com/Darkempire78/Raid-Protect-Discord-Bot/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDarkempire78%2FDiscord-Tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDarkempire78%2FDiscord-Tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDarkempire78%2FDiscord-Tools/lists"}