All Projects → werewoif-dev → nodejs-bot

werewoif-dev / nodejs-bot

Licence: GPL-3.0 license
a koishi bot for playing The Werewolves of Millers Hollow in your QQ group

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nodejs-bot

node-cq-websocket
A Node SDK for developing QQ chatbots based on WebSocket, which is depending on CoolQ and CQHTTP API plugin.
Stars: ✭ 90 (+260%)
Mutual labels:  cqhttp
kaiheila-onebot
OneBot(原CQHTTP)的开黑啦(kaiheila)平台实现。
Stars: ✭ 20 (-20%)
Mutual labels:  cqhttp
Shiro
基于OneBot协议的QQ机器人快速开发框架
Stars: ✭ 78 (+212%)
Mutual labels:  cqhttp
OlivOS
OlivOS / Witness Union
Stars: ✭ 48 (+92%)
Mutual labels:  cqhttp
nonebot-plugin
一些 NoneBot 即开即用、良好兼容的插件——自定义表情包、早晚安、Vtuber今日运势等
Stars: ✭ 101 (+304%)
Mutual labels:  cqhttp
GreenOnions
一个Mirai的QQ机器人, 实现了搜图, RSS订阅转发, 根据PixivID下载原图, 翻译, setu等功能
Stars: ✭ 109 (+336%)
Mutual labels:  cqhttp
splatoon2-qqbot
主要用于 Splatoon2 群的机器人
Stars: ✭ 40 (+60%)
Mutual labels:  cqhttp
KoishiEx
恋恋のEX兔子版源代码以及KoishiExAPI源代码
Stars: ✭ 48 (+92%)
Mutual labels:  koishi
Coolq Http Api
为 酷Q 提供通过 HTTP 或 WebSocket 接收事件和调用 API 的能力
Stars: ✭ 1,787 (+7048%)
Mutual labels:  cqhttp
ProtobufBot
QQ机器人框架 ProtobufBot 整体介绍。看README
Stars: ✭ 45 (+80%)
Mutual labels:  cqhttp
Go-Mirai-Client
基于MiraiGo的客户端,使用反向 websocket 收发私聊、群聊消息,消息格式类似onebot。支持多账号,很稳定
Stars: ✭ 90 (+260%)
Mutual labels:  cqhttp
java
基于 go-cqhttp 和 java 的 qq 机器人
Stars: ✭ 128 (+412%)
Mutual labels:  cqhttp
ELFChatBot
闲聊QQ机器人,也就是人工智障
Stars: ✭ 61 (+144%)
Mutual labels:  cqhttp
OneBot-YaYa
✨ OneBot(原CQHTTP) 多平台的实现
Stars: ✭ 108 (+332%)
Mutual labels:  cqhttp
zhamao-framework
协程、高性能、灵活的聊天机器人 & Web 开发框架(炸毛框架)
Stars: ✭ 99 (+296%)
Mutual labels:  cqhttp
onebot
OneBot:统一的聊天机器人应用接口标准
Stars: ✭ 1,113 (+4352%)
Mutual labels:  cqhttp
coolq-php-sdk
coolq-php-sdk
Stars: ✭ 23 (-8%)
Mutual labels:  cqhttp
awesome-bot
A multi-functional QQ chatbot developed in NoneBot
Stars: ✭ 27 (+8%)
Mutual labels:  cqhttp

werewolf-bot

让你在群里玩狼人杀的 QQbot。

本 bot 为「现役&退役OIer 狼人杀群」(群号 690869318)编写,欢迎退役 / 非退役 OIer 加群。

Tutorials

该 bot 只会在配置文件限定的 QQ 群内生效。

注册

使用 register 注册。

注册成功后会被 bot 添加到当局游戏人员名单中。

如需取消报名可使用 unregister

只能在游戏未开始时注册。

开始游戏

使用 start game 开始游戏

开始游戏后会根据配置文件里的角色分配方案随机分配角色。

如果配置文件内没有对应人数的角色分配方案则无法开始游戏。

角色功能

在分配到角色后使用 help 命令即可查看角色功能,包括用法和注意事项等。

以下所有角色命令的 <player> 部分请自行使用 qq 或 nick 或座位号替换。

Usage

以下简短教程默认你有 NodeJS 基础且熟悉 Koishi 机器人部署。

  1. clone 本项目到本地
  2. 自行搭建 go-cqhttp 或类似服务
  3. 复制 config.example.ymlconfig.yml,自行填写内容
  4. 运行 npm start 启动程序

Dependencies

  • Koishi
  • Mirai
  • go-cqhttp
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].