pandabot-discord
所属分类:自然语言处理
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2023-08-05 18:11:53
上 传 者:
sh-1993
说明: 官方Ulraf Discord服务器的仲裁机器人程序。,
(Moderation bot for the official Ulraf Discord server.,)
文件列表:
ChangeLog.md (443, 2023-08-05)
Dockerfile (275, 2023-08-05)
LICENSE (1509, 2023-08-05)
app/ (0, 2023-08-05)
app/Main.hs (80, 2023-08-05)
cabal.project (58, 2023-08-05)
cabal.project.freeze (13709, 2023-08-05)
hie.yaml (217, 2023-08-05)
pandabot-discord.cabal (3463, 2023-08-05)
src/ (0, 2023-08-05)
src/Pandabot.hs (3557, 2023-08-05)
src/Pandabot/ (0, 2023-08-05)
src/Pandabot/Bot/ (0, 2023-08-05)
src/Pandabot/Bot/Commands.hs (1740, 2023-08-05)
src/Pandabot/Bot/Commands/ (0, 2023-08-05)
src/Pandabot/Bot/Commands/Utils.hs (1226, 2023-08-05)
src/Pandabot/Bot/Config.hs (1713, 2023-08-05)
src/Pandabot/Bot/Database.hs (961, 2023-08-05)
src/Pandabot/Bot/Handlers.hs (2549, 2023-08-05)
src/Pandabot/Bot/Orphans.hs (429, 2023-08-05)
src/Pandabot/Bot/Schema.hs (4285, 2023-08-05)
src/Pandabot/Bot/Util.hs (1440, 2023-08-05)
src/Pandabot/Buttons.hs (3219, 2023-08-05)
src/Pandabot/Help.hs (10795, 2023-08-05)
src/Pandabot/Modtools.hs (1440, 2023-08-05)
src/Pandabot/PandaRole.hs (995, 2023-08-05)
src/Pandabot/PinTool.hs (1179, 2023-08-05)
src/Pandabot/PlayerDB.hs (16176, 2023-08-05)
src/Pandabot/PlayerDB/ (0, 2023-08-05)
src/Pandabot/PlayerDB/Whitelist.hs (2587, 2023-08-05)
src/Pandabot/Points.hs (8430, 2023-08-05)
src/Pandabot/RestrictGuilds.hs (680, 2023-08-05)
src/Pandabot/VoiceLog.hs (2388, 2023-08-05)
test/ (0, 2023-08-05)
test/Spec.hs (802, 2023-08-05)
# Pandabot
This is the moderation bot for the official Ulraf Discord server.
## Installation
Install GHC and `cabal`. Compile the project and its dependencies with `cabal build` and run with `cabal run pandabot`.
Note that there must be a `bot.json` configuration file in the working directory when you run the bot. It should look something like this:
```json
{
"botToken": "",
"welcomeRole": "",
"pointAssignEmoji": {
"name": ""
},
"reactPositiveEmoji": {
"name": "PandaBot",
"id": ""
},
"connectionString": "database.sqlite",
"commandPrefix": "?",
"voiceConfig": {
"roles": [
{
"name": "SHECRET voice chat",
"role": "",
"voiceChannels": [
""
],
"textChannel": ""
},
{
"name": "the Bamboo Jungle",
"role": "",
"voiceChannels": [
""
],
"textChannel": ""
}
]
}
}
```
Using a `bot.yaml` instead is also supported.
近期下载者:
相关文件:
收藏者: