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

bank.info()

Returns the Bank's public information: name, icon, description, currency, total issued, treasury and creation date. Returns nil if the Bank doesn't exist yet.

bank.info()
📝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.info()

Valor de retorno

object | nil

Exemplo de uso

on command("banco", message, args)
  let info = bank.info()
  message.reply(info.nome .. " — moeda: " .. info.moeda.nome)
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