Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filvyb/cunimnurse-bot
Discord bot for 1LFCUNI written in Nim
https://github.com/filvyb/cunimnurse-bot
api-client dimscord discord discord-bot nim-lang university
Last synced: 1 day ago
JSON representation
Discord bot for 1LFCUNI written in Nim
- Host: GitHub
- URL: https://github.com/filvyb/cunimnurse-bot
- Owner: filvyb
- License: gpl-3.0
- Created: 2023-02-12T15:45:06.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-19T21:12:30.000Z (9 months ago)
- Last Synced: 2024-05-20T20:41:25.122Z (9 months ago)
- Topics: api-client, dimscord, discord, discord-bot, nim-lang, university
- Language: Nim
- Homepage:
- Size: 132 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cunimnurse-bot
Discord bot for 1LFCUNI written in Nim## Features
- Multi-server
- Email domain verification (verification shared among all joined servers)
- Reaction to get role or channel access
- Create threads with prefix and access them with a reaction
- Syncs bans between servers
- Vote to add message to pins
- Bookmarks
- Media deduping
- Pin summary## Usage
### Prerequisites:
* Postgresql (tested on 15, but should run on 10+)
* [pgvector](https://github.com/pgvector/pgvector)
* [Nim Lang](https://nim-lang.org/install.html) 2.0.0
* OpenSSL
* FFmpeg
* grep
* Optional: ziplib
* Optional: Pandoc
* Optional: Python3 with [undetected-chromedriver](https://github.com/ultrafunkamsterdam/undetected-chromedriver)### Build or install
Clone the repo
```bash
git clone https://github.com/filvyb/cunimnurse-bot.git
cd cunimnurse-bot
```
You can build it with
```bash
nimble build -d:discordCompress -d:release -d:lto --mm:refc
```
or build and immidietly install it with
```bash
nimble install -d:discordCompress -d:release -d:lto --mm:refc
```### Running
Config path defaults to `config.toml`. To use a different path set the path as an argument.