Skip to content

SeiwonPark/discord-bot

Repository files navigation

discord-bot

GitHub package.json dependency version (prod) GitHub package.json dependency version (prod) GitHub package.json dependency version (prod) GitHub package.json dependency version (prod)

Abstract
Simple Discord Bot with minor features.



Requirements

🧑 For Users

Please join Tony server.(Currently down)

🧑‍💻 For Cloners

Environment variables

Fill environment variables as sample.env.

# Discord
TOKEN=<Your Discord Token>
CLIENT_ID=<Your Discord Client ID>
GUILD_ID=<Your Discord Guild ID>
SERVER_ID=<Your Discord Server ID>

# Gfycat
GFYCAT_CLIENT_ID=<Your Gfycat Client ID>
GFYCAT_CLIENT_SECRET=<Your Gfycat Client Secret>

Install and Run

$ nvm install
$ pnpm add . && pnpm start

# OR

$ docker build -t some-tag . && docker run some-tag


Commands

⭐️ Command /ping

Just type /ping to receive a pong response. (Overwrriten /ping command.)


⭐️ Command /chat say <Some Text>

(NOTE: english only supported)

You can receive a response from your chat.


⭐️ Command /blur <user>

You can get blurred user's profile.


⭐️ Command /pixel <user>

You can get pixelated user's profile.


⭐️ Command /feel say <Some Text>

(NOTE: english only supported)

It first analyze text sentiment and then gives you a proper gif image(positive | neutral | negative). You can receive a gif response from your chat.