owenbot-hs

所属分类:通讯编程
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2022-09-11 19:25:41
上 传 者sh-1993
说明:  一个用Haskell编写的实用机器人,用于24世纪主要消息传递平台(Discord服务器)的爱丁堡信息类。,
(A utility bot written in Haskell for the Edinburgh Informatics Class of ‘24’s main messaging platform (Discord server).,)

文件列表:
CONTRIBUTING.md (1979, 2022-09-11)
Dockerfile (112, 2022-09-11)
LICENSE (1529, 2022-09-11)
app/ (0, 2022-09-11)
app/Main.hs (2008, 2022-09-11)
brittany.yaml (582, 2022-09-11)
cabal.project (225, 2022-09-11)
hie.yaml (17, 2022-09-11)
owenbot.cabal (3258, 2022-09-11)
package.yaml (1918, 2022-09-11)
src/ (0, 2022-09-11)
src/Command.hs (235, 2022-09-11)
src/Command/ (0, 2022-09-11)
src/Command/Command.hs (32286, 2022-09-11)
src/Command/Error.hs (1493, 2022-09-11)
src/Command/Parser.hs (8080, 2022-09-11)
src/Config.hs (2018, 2022-09-11)
src/DB.hs (6886, 2022-09-11)
src/EventHandler.hs (2860, 2022-09-11)
src/Owoifier.hs (2390, 2022-09-11)
src/Status.hs (2364, 2022-09-11)
src/Utils.hs (12777, 2022-09-11)
src/assets/ (0, 2022-09-11)
src/assets/cl/ (0, 2022-09-11)
src/assets/cl/Bool.png (114010, 2022-09-11)
src/assets/cl/syllogisms.png (49743, 2022-09-11)
src/assets/freddy.cow (144, 2022-09-11)
src/assets/god_help_us_all.mp4 (1127473, 2022-09-11)
src/assets/help.txt (1681, 2022-09-11)
src/assets/ila/ (0, 2022-09-11)
src/assets/ila/definitions/ (0, 2022-09-11)
src/assets/ila/definitions/01.1.png (46913, 2022-09-11)
src/assets/ila/definitions/01.2.png (34286, 2022-09-11)
... ...

Owenbot Logo
# owenbot-hs ![](https://tokei.rs/b1/github/yellowtides/owenbot-hs) A neat Discord bot written in Haskell. Use with caution. ## Features - Serves over 500 students in the Informatics 2020-2021 Discord server at the University of Edinburgh - Prefix: `:` (colon), inspired by Haskell GHCi - Various commands to help studies such as `:thm`, or `:syllogisms` - Various enjoyable utility functionality such as a built-in owo-ifier - Admin commands to configure some settings at runtime - Has a modular and extensible codebase that abstracts away boilerplate ## Running/Developing Locally Place a "config.json" file in `~/.config/owen` (or `%APP_DATA%/owen` on Windows). Format is as given in "Config.hs". All source code is formatted using [brittany](https://hackage.haskell.org/package/brittany) Version 0.13.1.2. ``` find src -type f -name "*.hs" -exec brittany --write-mode=inplace --config-file ./brittany.yaml {} \; ``` ### Cabal Install and build all dependencies, and run the bot all with the command: `cabal run owenbot-exe`. Run tests with `cabal test`. ### Stack Build with `stack install`. This compiles and installs the bot in one go. Run with `owenbot-exe`. Alternatively, build and run with `stack run owenbot-exe`. Run tests with `stack test`. ### Nix If you have nix installed, running `stack install --nix` will automatically ensure you get an environment with the correct system-level dependencies (namely zlib). ### Docker There is a `Dockerfile` included in this repo that basically runs the Stack build/exec process. However, it has not been used so the functionality cannot be vouched for. ## Documentation | Commands Try sending `:helpme` to the bot! Generate Haddock documentation: `stack haddock . --haddock-hyperlink-source`

近期下载者

相关文件


收藏者