mirror of
https://github.com/the-programmers-hangout/Hermes.git
synced 2026-09-04 09:15:59 +02:00
57 lines
1.1 KiB
Markdown
57 lines
1.1 KiB
Markdown
|
|
# Polly
|
|
|
|
Polly is a Discord bot built with Laracord for managing emotes, logging reactions, and tracking user statistics.
|
|
|
|
## Features
|
|
|
|
- Emote management and logging
|
|
- Reaction tracking and statistics
|
|
- User and guild stats
|
|
- Optional moderation logging
|
|
|
|
## Slash Commands
|
|
|
|
Polly provides several slash commands for managing emotes and stats. Example commands:
|
|
|
|
- `/emote add <name> <image>` — Add a new emote
|
|
- `/emote stats <name>` — View emote usage stats
|
|
- `/user stats <user>` — View user stats
|
|
- `/guild stats` — View guild stats
|
|
|
|
## Getting Started
|
|
|
|
1. Install dependencies:
|
|
```bash
|
|
composer install
|
|
```
|
|
2. Configure environment:
|
|
- Copy `.env.example` to `.env`
|
|
- Set at minimum:
|
|
- `DISCORD_TOKEN=your_bot_token_here`
|
|
- `APP_NAME=Polly`
|
|
- `APP_ENV=development`
|
|
3. Run migrations:
|
|
```bash
|
|
php laracord migrate
|
|
```
|
|
4. Start the bot:
|
|
```bash
|
|
php laracord bot:boot
|
|
```
|
|
|
|
## Dev
|
|
|
|
Run CI checks locally:
|
|
```bash
|
|
composer ci
|
|
```
|
|
Format with Pint:
|
|
```bash
|
|
vendor/bin/pint
|
|
```
|
|
|
|
## License
|
|
|
|
This project is licensed under the MIT License. See LICENSE.md.
|