Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexwkleung/flower-bot
A Discord bot that tells you basic scientific information and biological history about flowers
https://github.com/alexwkleung/flower-bot
discord-api discord-bot dpp flower
Last synced: about 16 hours ago
JSON representation
A Discord bot that tells you basic scientific information and biological history about flowers
- Host: GitHub
- URL: https://github.com/alexwkleung/flower-bot
- Owner: alexwkleung
- Created: 2022-09-01T19:20:58.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-05T23:35:59.000Z (about 2 years ago)
- Last Synced: 2023-04-26T01:37:31.125Z (over 1 year ago)
- Topics: discord-api, discord-bot, dpp, flower
- Language: C++
- Homepage:
- Size: 12.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flower Bot
A Discord bot that tells you basic scientific information and biological history about flowers. This bot could be useful for users that want to know general information about flowers. I created this to practice using the Discord API and CMake. I myself learned about various flowers while creating this bot, so reading about them can be an interesting read if you're bored.
Written in C++ using the [D++ (DPP) Discord API Library](https://github.com/brainboxdotcc/DPP).
WIP. I will try to add as many flowers as possible to the list of commands. Later on, I'll add more enhancements to make the bot useful and fun.
# Install
Clone the repository.
```bash
git clone
```Change directory.
```bash
cd Flower-Bot
```Create text file for API key.
```bash
# this directory is gitignoredtouch src/key.txt
```Add key to text file.
```txt
```
Build using CMake.
You can use the VSCode CMake/CMake Tools extensions for an integrated CMake solution or run CMake from the CLI:
```bash
cmake --build Flower-Bot/build --config Debug --target all --
```Run bot.
You can use the VSCode CMake/CMake Tools extensions for an integrated CMake solution or run the output file from the terminal:
```bash
cd buildFlower-Bot/build/Flower-Bot
```# Using the bot
**Slash commands:**
`/iris`
`/daisy`
`/tulip`
`/lily`
`/orchid`
`/carnation`
`/freesia`
`/chrysanthemum`
`/gladiolus`
`/anemone`
`/daffodil`
`/poppy`
`/buttercup`
`/cosmos`
`/crocus`
`/sunflower`
`/dandelion`
`/jasmine`
`/blossom`
`/lavender`
`/rose`
`/bellflower`
`/primrose`
`/petunia`
`/favouriteflowers`
**Custom messages (type without the strings):**
`"thank you flower bot"` or `"thank you flower bot!"` or `"thanks flower bot"` or `"thanks flower bot!"`
`"how reliable is flower bot"` or `"how reliable is flower bot?"` or `"is flower bot reliable"` or `"is flower bot reliable?"`
`"flower complexity"` or `"how complex are flowers"` or `"how complex are flowers?"` or `"are flowers complex"` or `"are flowers complex?"`
**Embed commands:**
`!flowerbot`