Discord bot for reacting messages with customizable emojis.
- Customizable reactions
- Bot changes it's avatar and nickname every 5 minutes
- Greets new server members
- Supports two languages russian and english
- Switchable prefix
- Can monitor your lifetime in DM
- All commands are executable in DM
Node.js with typescript
discord.js v14 library for interacting with discord api
Mongo DB for storing users data
Cron for scheduling tasks
clone repository
git clone https://github.com/DEsimas/emojis-bot
add .env file with all neded variables
install dependencies
npm i
build project
npm run build
start bot
npm run start
install bot to your project
npm i emojis-bot
create .env file and declare variable MODE with value PACKAGE
MODE = PACKAGE
import and start bot
import { Bot } from "emojis-bot";
const bot = new Bot({token: <token goes here>, mongo_uri: <mongodb uri goes here>});
bot.start();
TOKEN | token for discord bot |
---|---|
MONGO | mongodb uri |
MODE | state "BOT" to launch as idependent application, something else for using bot as package |