Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 743 Bytes

File metadata and controls

37 lines (24 loc) · 743 Bytes

mhbot

How to start

在当前目录下运行 nb run

  1. generate project using nb create .
  2. create your plugin using nb plugin create .
  3. writing your plugins under mhbot/plugins folder.
  4. run your bot using nb run --reload .

Function

  • 提供点歌功能,可以根据歌名点歌/随机点歌/随机播放歌曲片段
  • 自动+1
  • 自动将 疑似集会码(12位的英文数字符号组合) 的消息设置为精华(TODO: 删除过期精华消息)
  • 群员可以通过回复消息让机器人设精,实现无需管理权限也可设精

Usage

1. 点歌功能

# 随机点歌
@bot /play

# 随机播放歌曲片段
@bot /play clip

# 根据歌名点歌
@bot /play 歌名

Config