Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
Discord js Slash Commands Bot - Demo Guide
- Host: GitHub
- URL: https://github.com/yash094/slash-commands-djs
- Owner: Yash094
- Created: 2021-02-27T11:22:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-06T18:38:38.000Z (over 2 years ago)
- Last Synced: 2024-09-28T09:03:10.103Z (4 months ago)
- Topics: discord, discordjs, discordjs-bot, djs, slash-commands
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Slash Command Bot
**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!