Created
October 17, 2020 14:15
-
-
Save KaiFireborn/ab317bc2a37aa8bf61753597fffc5a61 to your computer and use it in GitHub Desktop.
Early doc json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Interact": { | |
"int": { | |
"triggers": ["int"], | |
"arguments": { | |
"upper_range": { | |
"type": "int", | |
"optional": [true, "Current/command channel"], | |
"desc": "Lower range limit (inclusive)" | |
} | |
}, | |
"description": "Sets the mentioned channel to your Interactive channel. Undone automatically after 5 minutes of inactivity of `interact`" | |
}, | |
"unint": { | |
"triggers": ["unint"], | |
"arguments": {}, | |
"description": "Removes the Interactive channel. Call `int` again to undo." | |
}, | |
"interact": { | |
"triggers": ["interact", "i"], | |
"arguments": { | |
"sentence": { | |
"type": "word sequence", | |
"optional": [false], | |
"desc": "Sends the sentence to your Interactive channel. Requires an `int` call beforehand." | |
} | |
} | |
} | |
}, | |
"Other": { | |
"random": { | |
"triggers": ["random"], | |
"modes": { | |
"integer": { | |
"arguments": { | |
"upper_range": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Lower range limit (inclusive)" | |
}, | |
"lower_range": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Upper range limit (inclusive)" | |
} | |
}, | |
"description": "Generates a single random integer in the defined range." | |
}, | |
"integers": { | |
"arguments": { | |
"upper_range": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Lower range limit (included)" | |
}, | |
"lower_range": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Upper range limit (included)" | |
}, | |
"count": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Number of random integers to generate" | |
} | |
}, | |
"description": "Generates any defined number of integers from the defined range." | |
}, | |
"user": { | |
"arguments": {}, | |
"description": "Pings a random user from the Server." | |
}, | |
"users": { | |
"arguments": { | |
"count": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Number of random users to choose" | |
} | |
}, | |
"description": "Pings any defined number of random users from the Server." | |
}, | |
"reaction": { | |
"arguments": { | |
"message_id": { | |
"type": "message_id", | |
"optional": [false], | |
"desc": "The ID of the message with reactions." | |
}, | |
"emoji": { | |
"type": "emoji", | |
"optional": [false], | |
"desc": "Emoji the users to be selected have reacted to the message with." | |
}, | |
"count": { | |
"type": "int", | |
"optional": [false], | |
"desc": "Number of random users (who have reacted to the message with the emoji) to choose" | |
}, | |
"message_id": { | |
"type": "channel", | |
"optional": [true, "Defaults to current channel."], | |
"desc": "The channel where the message with reactions is located." | |
} | |
} | |
}, | |
} | |
}, | |
"say": { | |
"triggers": ["say", "s"], | |
"arguments": { | |
"channel": { | |
"type": "channel", | |
"optional": [true, "current channel"], | |
"desc": "The channel to send the message to." | |
}, | |
"sentence": { | |
"type": "word sequence", | |
"optional": [false], | |
"desc": "Sends the sentence to the channel. Requires an `int` call beforehand." | |
} | |
}, | |
"description": "Sends the message to the specified channel." | |
}, | |
"dm": { | |
"triggers": ["dm"], | |
"arguments": { | |
"channel": { | |
"type": "user", | |
"optional": [false], | |
"desc": "The user to send the message to." | |
}, | |
"sentence": { | |
"type": "word sequence", | |
"optional": [false], | |
"desc": "Sends the sentence to the user. Requires an `int` call beforehand." | |
} | |
}, | |
"description": "DMs the sentence to the specified user." | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment