瀏覽代碼

FIX: Unwarranted Permission Errors

Drn 2 年之前
父節點
當前提交
aecb730362
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      discord.go

+ 1 - 1
discord.go

@@ -778,7 +778,7 @@ func hasPerms(channelID string, permission int64) bool {
 				"Failed to check permissions (%d) for %s:\t%s", permission, channelID, err))
 		}
 	}
-	return false
+	return true
 }
 
 //#endregion