Advertisement
xgerhard

destinycommandmixitup

Jan 24th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. https://destinycommand.com/live/api/command?query=$allargs&bot=mixitup&default_console=xbox
  2.  
  3. Parameters:
  4.  
  5. query = $allargs - This parameters seems to work fine in your example, is there by change a way to urlencode this? The Destiny PC userbase uses Battlenet where the usernames contain a hastag which breaks the url (username#1234). If not my API will also accepts a - sign, if the user specifies that it's a PC user. For example "!destiny kd xgerhard-1234 pc", so it's not a problem the user just needs that extra instruction.
  6.  
  7. bot - looks fine
  8. default_console - looks fine
  9.  
  10. user - This parameter (optional) can be used to personalize the output, so it will tag the user instead of @system in your example.
  11.  
  12. channel - This parameter (optional) is the channel name where the command is used, this is just for internal statistics and possible way to contact the channel where we see a problem / abuse.
  13.  
  14. token - This parameters is deprecated, don't use it anymore, I should remove it from the site. It doesn't hurt sending it with the request, however it won't do anything, feel free to remove it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement