Template:API Return promise

From SmartBots Developers Docs
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