本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
roxxers
/
roxbot
镜像来自
https://github.com/roxxers/roxbot
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
38
Wiki
活動
瀏覽代碼
fixed bug with check permissions
tags/v2.1.0
Roxie Gibson
5 年之前
父節點
4f80a99507
當前提交
0fed76f216
共有
1 個檔案被更改
,包括
2 行新增
和
1 行删除
分割檢視
顯示文件統計
+2
-1
roxbot/utils.py
+ 2
- 1
roxbot/utils.py
查看文件
@@ -124,8 +124,9 @@ def has_permissions(ctx, **perms):
if not missing:
return True
return False
raise commands.MissingPermissions(missing)
#
raise commands.MissingPermissions(missing)
def has_permissions_or_owner(ctx, **perms):
Write
Preview
Loading…
取消
儲存