https://github.com/altaris/dlrb
Discord letter reaction bot
https://github.com/altaris/dlrb
Last synced: 3 months ago
JSON representation
Discord letter reaction bot
- Host: GitHub
- URL: https://github.com/altaris/dlrb
- Owner: altaris
- Created: 2023-07-25T02:35:06.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T02:57:17.000Z (over 1 year ago)
- Last Synced: 2025-01-07T22:39:04.370Z (5 months ago)
- Language: C++
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord letter reaction bot
I like reacting to people's nonsense using letter emojis. This bot makes that
easier:## Usage
1. someone posts something stupid

2. issue a `/lr` command to the bot

3. enjoy

## Things to know
- `/lr` will always and only react on the last user message.
- `/lr` is case insensitive: `/lr hi` and `/lr HI` will both make the reactions
above.
- Only letters are supported, no digits.
- Duplicate letters are not supported. Eventhough some letters have multiple
emojis such as 🇦 and 🅰️, message with duplicate letters are not accurately
transformed in reactions. Issuing `/lr aa` will not react `🇦🅰️`, only `🇦`.
- Issuing `/lr !` will delete all reactions.## Start the bot
1. Install [`concord`](https://github.com/Cogmasters/concord)
```sh
git clone https://github.com/cogmasters/concord.git
cd concord
make
sudo make install
cd ..
```
2. Clone and compile this repository
```sh
git clone https://github.com/altaris/dlrb
cd dlrb
make
```
3. Copy `config.json.template` and set the bot's token.
4. Invoke
```sh
./dlrb.out config.json
```