Files

31 lines
799 B
Markdown

# discord-lettia
A Discord message context-menu bot that converts message text into selectable Unicode font styles.
## Discord setup
Create a bot application with the Guilds, Guild Messages, and privileged Message Content intents.
The bot needs View Channel, Read Message History, and Send Messages permissions in channels where
Fontify is used.
Set the application credentials and start the bot:
```sh
cp default.env .env
npm ci
npm start
```
The global `Fontify` message command is refreshed at startup. In Discord, right-click a message,
open Apps, select Fontify, and choose a font. Only the user who opened the menu can choose from it.
## Develop
```sh
npm ci
npm run check
docker build -t discord-lettia .
```
Secrets are supplied at runtime and are not copied into the Docker image.