🧮 Funções · bank · Informações do Banco

bank.saldoBanco()

Returns the Stars balance (backing reserve) that supports the Bank's local currency.

bank.saldoBanco()
📝All the functions below use the Server Bank already configured on your server (via /banco). None of them touch the database directly, everything goes through the same Services used by the slash commands, so history, taxes and permissions keep working normally.

Parâmetros

AssinaturaTipo(s)
bank.saldoBanco()

Valor de retorno

number

Exemplo de uso

on command("lastro", message, args)
  message.reply("Lastro atual: " .. bank.saldoBanco() .. " ⭐")
end

Observações

💡 Confira os tipos esperados na tabela de Parâmetros antes de chamar: passar um tipo diferente do esperado é a causa mais comum de erro em tempo de execução.

← Ver todas as funções de bank · Informações do Banco