Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://destinycommand.com/api/command?query=$query&bot=$bot&user=$user&default_console=$default_console&channel=$channel
- Please encode all variables, especially query, since hashtags in BNET usernames will break links.
- $query = user message/message after the command; format is "action username platform" for example "kd xgerhard xbox"
- $bot = (optional) your bot name
- $user = username to reply to (@$user kd ratio is ..)
- $channel = channel / room / server name
- $default_console = if no platform is provided in the $query, this platform will be chosen if multiple platforms are found for the username
- There's an optional paramater to use: 'platform=json', which will return a JSON response instead of plain text.
Add Comment
Please, Sign In to add comment