-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
📑 Overview
This issue contains suggestions for adding Discord slash commands dealing with documentation for keywords like IF, ENDIF, WHILE, FOR, IMPORT, or whatever reserved words TriggerReactor includes.
🪜 Specification
Adding Autocomplete interaction via Discord slash commands (AKA text inputs):
/tag <keywordClause> [targetClause]
- keywordClauses: a reserved words TriggerReactor includes. E.g:
IF,WHILE,FOR,IMPORT, etc. - targetCaluse: a Discod user regex to mention. This should be optional.
🧪 Illustrative Examples
Here you can see how this proposal desired to act:
Input:
/tag IF
Expected behavior:IF문은 어떠한 두 개의 값을 비교해 그 결괏값에 따라 코드 흐름(*Code flow*)을 제어하는 강력한 구문(*Statement*)입니다. `IF`문은 반드시 끝나는 지점에 `ENDIF`문을 선언해 끝나는 지점을 표시해야 합니다. 관련된 구문으로 `ELSE`문과 `ELSEIF`문이 있으며 반드시 사용할 필요가 없습니다.