feature:加入读取鬼鬼API 黑丝视频功能
This commit is contained in:
@@ -68,11 +68,6 @@ class BotVideo:
|
|||||||
if command[0] not in self.command:
|
if command[0] not in self.command:
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(command) == 1:
|
|
||||||
self.wcf.send_text(f"-----Bot-----\n❌命令格式错误!{self.command}",
|
|
||||||
(message.roomid if message.from_group() else message.sender), message.sender)
|
|
||||||
return
|
|
||||||
|
|
||||||
# 如果触发了指令,但是没有权限,则返回权限不足
|
# 如果触发了指令,但是没有权限,则返回权限不足
|
||||||
if self.gbm.get_group_permission(message.roomid, Feature.VIDEO) == PermissionStatus.DISABLED:
|
if self.gbm.get_group_permission(message.roomid, Feature.VIDEO) == PermissionStatus.DISABLED:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user