https://github.com/simpsonresearch/notify
Be notified when a message containing a specific word is sent in a discord server
https://github.com/simpsonresearch/notify
discord-bot rust sqlite
Last synced: 4 months ago
JSON representation
Be notified when a message containing a specific word is sent in a discord server
- Host: GitHub
- URL: https://github.com/simpsonresearch/notify
- Owner: simpsonresearch
- License: mit
- Created: 2023-07-11T00:21:56.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T00:23:41.000Z (over 2 years ago)
- Last Synced: 2025-08-11T15:30:04.470Z (5 months ago)
- Topics: discord-bot, rust, sqlite
- Language: Rust
- Homepage: https://simpson-computer-technologies-research.github.io/Notify/
- Size: 41 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notify  

# About
Why Rust?
- This project was made for a person who messaged me about creating a discord bot for them. I wanted to learn Rust and I thought this would be a great project to do so.
- Aside from my desire to learn the language, I decided that Rust would be the best option for this project as iterating over the sqlite database rows for every message sent in a channel can take quite some time. Luckily Rust is extremely fast which makes
performing these iterations is not as time-consuming.
# Quick Usage
Running the bot
```rust
$ TOKEN="YOUR BOT TOKEN" DATABASE_URL="sqlite:database.sqlite" cargo run --release
```
# License
MIT License
Copyright (c) 2022 Tristan Simpson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.