meta {
  name: Roll Dice
  type: http
  seq: 1
}

get {
  url: http://localhost:8166/api/roll?user=[discord-user-id]&channel=[discord-channel-id]&rollstr=[artificer-roll-cmd]&documentation=All items below are optional. Flags do not need values.&nd=[no-details-flag]&snd=[super-no-details-flag]&hr=[hide-raw-roll-details-flag]&s=[spoiler-results-flag]&m-or-max=[max-roll-flag, cannot be used with n flag]&min=[min-roll-flag, cannot be used with n, sn, or max]&n=[nominal-roll-flag, cannot be used with sn, max or min flag]&sn=[simulated-nominal-flag, can pass number with it, cannot be used with max, min, n. or cc]&gms=[csv-of-discord-user-ids-to-be-dmed-results]&o=[order-rolls, must be a or d]&c=[count-flag]&cc=[confirm-crit-flag, cannot be used with sn]&rd=[roll-dist-flag]&nv-or-vn=[number-variables-flag]&cd=[custom-dice, format value as name:[side1,side2,...,sideN], use ; to separate multiple custom dice]&ns=[no-spaces, removes the default added space between rolls]
  body: none
  auth: inherit
}

params:query {
  user: [discord-user-id]
  channel: [discord-channel-id]
  rollstr: [artificer-roll-cmd]
  documentation: All items below are optional. Flags do not need values.
  nd: [no-details-flag]
  snd: [super-no-details-flag]
  hr: [hide-raw-roll-details-flag]
  s: [spoiler-results-flag]
  m-or-max: [max-roll-flag, cannot be used with n flag]
  min: [min-roll-flag, cannot be used with n, sn, or max]
  n: [nominal-roll-flag, cannot be used with sn, max or min flag]
  sn: [simulated-nominal-flag, can pass number with it, cannot be used with max, min, n. or cc]
  gms: [csv-of-discord-user-ids-to-be-dmed-results]
  o: [order-rolls, must be a or d]
  c: [count-flag]
  cc: [confirm-crit-flag, cannot be used with sn]
  rd: [roll-dist-flag]
  nv-or-vn: [number-variables-flag]
  cd: [custom-dice, format value as name:[side1,side2,...,sideN], use ; to separate multiple custom dice]
  ns: [no-spaces, removes the default added space between rolls]
}
