{"id":20831792,"url":"https://github.com/dqrshan/discord-debug","last_synced_at":"2026-02-21T11:01:53.559Z","repository":{"id":176593326,"uuid":"656708295","full_name":"Dqrshan/discord-debug","owner":"Dqrshan","description":"A simple discord.js debugging tool, inspired by dokdo","archived":false,"fork":false,"pushed_at":"2023-08-22T04:44:14.000Z","size":920,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-29T07:41:22.288Z","etag":null,"topics":["debugger","debugging","discord-debug","discordjs","tool"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/discord-debug","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dqrshan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-06-21T13:25:58.000Z","updated_at":"2025-05-21T15:13:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f1eab41-6288-4461-bf5a-50c194f02af2","html_url":"https://github.com/Dqrshan/discord-debug","commit_stats":null,"previous_names":["dqrshan/discord-debug"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Dqrshan/discord-debug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dqrshan%2Fdiscord-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dqrshan%2Fdiscord-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dqrshan%2Fdiscord-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dqrshan%2Fdiscord-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dqrshan","download_url":"https://codeload.github.com/Dqrshan/discord-debug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dqrshan%2Fdiscord-debug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["debugger","debugging","discord-debug","discordjs","tool"],"created_at":"2024-11-18T00:09:08.175Z","updated_at":"2026-02-21T11:01:53.511Z","avatar_url":"https://github.com/Dqrshan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eDiscord.js Debugging Tool\u003c/h1\u003e\n    \u003cp\u003eA simple, customizable and efficient discord.js bot debugging tool\u003c/p\u003e\n    \u003ca href=\"https://nodei.co/npm/discord-debug/\"\u003e\n        \u003cimg src=\"https://nodei.co/npm/discord-debug.png?compact=true\"\u003e\n    \u003c/a\u003e\n    \u003cdiv\u003e\n        \u003cimg src=\"https://img.shields.io/npm/v/discord-debug?style=for-the-badge\u0026color=00bb88\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dw/discord-debug?style=for-the-badge\u0026color=6666ff\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/l/discord-debug?style=for-the-badge\u0026color=ff6666\"\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n\n## Installation\n\n**NOTE**: `discord-debug` only supports [discord.js v14](https://www.npmjs.com/package/discord.js/v/14.11.0 'djs v14').\n**Node.js 16.9.0** or newer is required\n\n```bash\nnpm i discord-debug@latest\n```\n\n---\n\n## Quick Links\n\n-   [Documentation](https://lxrnz.gitbook.io/discord-debug/ 'Documentation')\n-   [Discord](https://dsc.gg/lorenz/ 'Discord')\n-   [Features](https://lxrnz.gitbook.io/discord-debug/commands/info)\n-   [Examples](https://github.com/Dqrshan/discord-debug/tree/master/examples)\n\n## Basic Usage\n\n```js\nconst { Client, GatewayIntentBits } = require('discord.js');\nconst { Debugger } = require('discord-debug');\n\nconst client = new Client({\n    intents: [\n        GatewayIntentBits.Guilds,\n        GatewayIntentBits.GuildMessages,\n        GatewayIntentBits.GuildMembers,\n        GatewayIntentBits.MessageContent\n    ]\n});\n\nconst debug = new Debugger(client, {\n    // theme color of the client used in all embeds (default: #000000)\n    themeColor: '#00ffff',\n    // secrets to hide during eval (default: client token)\n    secrets: [],\n    // owners that can use this tool (default: client application owner(s))\n    owners: [],\n    // integrate slash commands [/debug] (default: false)\n    registerApplicationCommands: true,\n    // load default event listeners [messageCreate, interactionCreate] (default: *see below*)\n    loadDefaultListeners: {\n        message: true,\n        interaction: true\n    },\n    // MySQL connection options for sql command (default: {})\n    sqlConnectionOptions: {\n        uri: 'mysql://root:password@localhost:3306/database'\n    }\n    // Fetch owners from application (default: true)\n    fetchOwners: true\n});\n\nclient.on('ready', () =\u003e console.log(`Logged in as ${client.user.tag}`));\n\nclient.on('messageCreate', async (message) =\u003e {\n    if (message.content === '!ping') {\n        return message.reply('pong!');\n    } else if (message.content.startsWith('!debug')) {\n        // handle *in* prefix commands!\n        const args = message.content.split(' ').slice(1);\n        await debug.messageRun(message, args);\n    }\n});\n\nclient.login('token');\n```\n\n---\n\n## Debug Commands\n\n![help](assets/help.png)\n\n\u003e `discord-debug` comes with an exported **`commands`** collection of all commands.\n\n```js\nconst { EmbedBuilder } = require('discord.js');\nconst { Commands } = require('discord-debug');\n\nconst helpEmbed = new EmbedBuilder().setTitle('Help').setFields(\n    Commands.map((data, name) =\u003e {\n        return {\n            name,\n            value: `${data.description}\\n${data.aliases.join(', ') ?? ''}`,\n            inline: true\n        };\n    })\n);\n```\n\n---\n\n## Features\n\n-   View features in the [documentation](https://lxrnz.gitbook.io/discord-debug/commands/info 'Features')\n\n---\n\n## Notes\n\n-   This repository is inspired by [wonderlandpark/dokdo](https://github.com/wonderlandpark/dokdo).\n-   This repository will receive its own features, may it be in dokdo or not.\n\n---\n\n## Contributing\n\n**NOTE**: Create an [issue](https://github.com/Dqrshan/discord-debug/issues 'discord-debug/issues') before creating a pull request!\n\n1. [Fork](https://github.com/Dqrshan/discord-debug/fork 'discord-debug/fork') this repository.\n2. Create a [PR](https://github.com/Dqrshan/discord-debug/pulls 'discord-debug/pulls').\n\n---\n\n## Developer Contact\n\n-   [https://darshan.studio/](https://darshan.studio/ 'Darshan')\n\n---\n\n#### Thanks for using `discord-debug` 💓\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdqrshan%2Fdiscord-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdqrshan%2Fdiscord-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdqrshan%2Fdiscord-debug/lists"}