Template:API Return promise

From SmartBots Developers Docs
Revision as of 06:59, 29 June 2016 by Gg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

|- class="row-a {{{3}}}" | width="10" | | width="180" colspan="3" | Function returns a Promise with the following data:

|- class="row-a {{{3}}}" | width="10" | | width="180" | success | width="60" | bool | true if command completed successfully |- class="row-a {{{3}}}" | width="10" | | width="180" | error | width="60" | string | error string if command has failed