Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.19 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.19 KB

🚨 Attention: This code is written entirely in JavaScript instead of TypeScript. Be careful

Discord Bot

A simple bot written with discordjs for the Discord chat platform.

Installation

  1. Clone the repository
  2. Run npm install
  3. Copy env.example to .env and fill in the values see below
  4. Run npm run deploy to deploy you commands to discord
  5. Run npm run start to start the bot

ENV file setup

BOT_TOKEN - The token of the bot (details)

BOT_CLIENT_ID - The client ID of the bot (details)

Commands

/about - Displays information about the bot

/poll [question] [option1] [option2] [option3]? [option4]? - Created a poll with up to 4 options


This project is not affiliated with Discord. Discord is a registered trademark of Discord Inc.