This bot uses simmsb's Calamity library.
- Write a custom (more verbose)
help
command - Schedule messages to new @reminders role
- Hoogle command
- Folder structure at some point
- Write tests
The src/CustomPrelude.hs
module implements the custom prelude used in the
project and consists of minor additions/changes to Kowainik's
Relude package.
The -XNoImplicitPrelude
extension is enabled by default to avoid importing
the default Haskell prelude. Explicitly import the custom prelude for each
module instead:
module Example
( ...
) where
import CustomPrelude
Relude provides the Relude.Extra
module which contains some extra stuff that
can be imported in addition to CustomPrelude
, if so desired.
Check shaunwhite.cabal
for language extensions enabled by default.
The src
directory holds the source code, with Shaunwhite.hs
being the entry
point to the application.
shaunwhite
is built with cabal-install
>= 3.0 and GHC version 8.10.7.
Build the bot:
cabal build
Run the bot:
cabal run -- --token path/to/bot/token --config path/to/config.json