Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

mome0320/Discord-Integration-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Slash Command Demo

About

This Project is Discord Slash Command Demo
Reference. Discord-api-docs PR

This Project hook raw Event. so It will be operated successfully If user enter slash command.

Base in Discord.js V12.

Warning

Grant Permission applications.commands
https://discord.com/oauth2/authorize?client_id={insert_client_id_here}&scope=applications.commands

If you don't grant permission,
It will throw DiscordAPIError (Missing Access) when you execute CommandRegister Function.

Installation

Clone this repository

Install Node.js

Download For Windows / MacOS

Download For Linux Using apt

apt-get update
apt-get install nodejs -y

Setup Dependencies

npm install

Start Application

Before You start Application, Please Edit ./config.json.

node .