mome0320 / Discord-Integration-demo

Slash Commmand Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 .

About

Slash Commmand Demo

License:MIT License


Languages

Language:JavaScript 100.0%