Skip to content

A Discord bot that tells you basic scientific information and biological history about flowers

Notifications You must be signed in to change notification settings

alexwkleung/Flower-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

git clone <SSH/HTTPS URL>

Change directory.

cd Flower-Bot

Create text file for API key.

# this directory is gitignored

touch src/key.txt

Add key to text file.

<your Discord API key>

Build using CMake.

You can use the VSCode CMake/CMake Tools extensions for an integrated CMake solution or run CMake from the CLI:

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:

cd build

Flower-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

About

A Discord bot that tells you basic scientific information and biological history about flowers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages