Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yash094/slash-commands-djs

Discord js Slash Commands Bot - Demo Guide
https://github.com/yash094/slash-commands-djs

discord discordjs discordjs-bot djs slash-commands

Last synced: about 7 hours ago
JSON representation

Discord js Slash Commands Bot - Demo Guide

Awesome Lists containing this project

README

        

# Discord Slash Command Bot

Buy Me a Coffee at ko-fi.com

**This Repository is for a Discord Bot which uses slash commands**

## COMMANDS .

Commands created are guild specific to use the commands in all the guild just
`client.api .applications(client.user.id) .guilds(config.guildid) .commands.post({})`
Edit this to:
`client.api .applications(client.user.id) .commands.post({})`
(IT TAKES UPTO 1 HOUR TO UPDATE IF YOU USE IT FOR ALL THE GUILDS)
## Installation | How to use the Bot

**1.** Install [node.js v12+](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) or higher

**2.** Download this repo and unzip it | or git clone it

**3.** Install all of the packages with **`npm install`** | the important packages are **`npm install discord.js`**

**4.** Fill in the parameters, RIGHT in `./config.json`

**5.** start the bot with **`node index.js`**

#### **NOTE:**

_If you are having errors/problems with starting delete the package.json file and do, before you install the packages `npm init`_

_MAKE SURE THAT THE BOT HAS PERMISSION TO USE SLASH COMMANDS_

## SUPPORT

PLEASE INVITE MY BOT [AZTEX BOT](https://discord.com/api/oauth2/authorize?client_id=687257316151656485&permissions=8&scope=bot) TO YOUR SERVERS!