https://github.com/yeti-robotics/chillchat
YETI Modmail Bot for Discord.
https://github.com/yeti-robotics/chillchat
Last synced: 5 months ago
JSON representation
YETI Modmail Bot for Discord.
- Host: GitHub
- URL: https://github.com/yeti-robotics/chillchat
- Owner: Yeti-Robotics
- License: mit
- Created: 2025-03-29T03:53:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-09T03:04:09.000Z (about 1 year ago)
- Last Synced: 2025-04-09T04:19:29.617Z (about 1 year ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChillChat - Discord Modmail Bot
A Discord bot that handles modmail and anonymous messaging functionality.
## Features
- DM to Modmail: Automatically creates channels for users who DM the bot
- Anonymous Messaging: Allows users to send anonymous messages via slash command
- Persistent Threads: Maintains conversation history in dedicated channels
- Staff Responses: Staff can respond to modmail messages directly
## Setup
1. Clone the repository
2. Install dependencies:
```bash
npm install
```
3. Copy `.env.example` to `.env` and fill in your configuration:
```bash
cp .env.example .env
```
4. Configure your `.env` file with:
- `DISCORD_TOKEN`: Your bot's token
- `CLIENT_ID`: Your bot's client ID
- `GUILD_ID`: The ID of your server
- `MODMAIL_CATEGORY_ID`: The ID of the category where modmail channels will be created
- `ANONYMOUS_CHANNEL_ID`: The ID of the channel where anonymous messages will be sent
- `LOG_CHANNEL_ID` (optional): The ID of a channel for logging
5. Register slash commands:
```bash
npm run build
node dist/commands.js
```
6. Start the bot:
```bash
npm start
```
## Development
- Build the project: `npm run build`
- Run in development mode: `npm run dev`
- Watch for changes: `npm run watch`
## Commands
- `/anonymous ` - Send an anonymous message to the designated channel
## Requirements
- Node.js 16.9.0 or higher
- Discord.js v14
- TypeScript