yellowtides / owenbot-hs

A utility bot written in Haskell for the Edinburgh Informatics Class of ‘24’s main messaging platform (Discord server).
https://yellowtid.es/owenbot-hs/
BSD 3-Clause "New" or "Revised" License
8 stars 7 forks source link

Functionality management at startup and runtime #29

Open yutotakano opened 3 years ago

yutotakano commented 3 years ago

Enable and disable modules conditionally at runtime and startup, e.g. disabling AprilFools after :disable AprilFools (just an idea, can be flexible).

Idea owed from Gregory Greggs.

jacobjwalters commented 3 years ago

I know we want run-time management, but using a pre-processor like hspec-discover would allow us to import conditionally at compile-time also. Might be useful if we want to provide a release build that doesn't have the git features or something.