{"repo":"ppauel/typescript-discord-bot","free":true,"listed":false,"github":"https://github.com/ppauel/typescript-discord-bot","clone":"git clone https://github.com/ppauel/typescript-discord-bot.git","description":"A Discord bot template built on discord.js","language":"TypeScript","stars":22,"topics":["discord","discord-js","discord-bot"],"license":"MIT","category":"chat-messaging","readme_excerpt":"TypeScript Discord Bot Template A multi-purpose discord.js v14 bot template. This is the successor of the djs-template repository. Features - Slash Command Handler (global / guild) - Context Menu Handler (global / guild) - Interaction Handler (Message Components, Modals) - Event Handler - Sharding - Localizations - Customizable configuration - Examples Installation Install the required npm modules. Create a new file called .env in the root directory and insert your bot token as shown in the example.env file. Configuration Apart from the token, the configuration takes place in the config.json file located in the src/ folder. Specify a guild ID to which the guild commands will be deployed. Make sure that the bot is a member of this server and has sufficient permissions to create commands. Choose if you want to receive message components and modals using the interaction handler. Select whether to reply with a warning if an error occurs whilst executing an interaction. Choose whether you want to split the custom ID of an interaction by underscores ( ). In this case, the interaction handler uses only the string before the first underscore (if any). This system makes sense if you want to use the custom ID to convey additional information. For example report 527814442746904591 is treated as report . If you want to use global commands only, you can disable guild commands. The global attribute must still be true . Done! You can now experiment with some examples. For that, you just nee","default_branch":null,"files":null,"tree":[],"storefront":"/r/ppauel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ppauel/typescript-discord-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}