🧮 Funções · bank · API em Inglês

bank.getBank()

Returns the server's Bank public data (name, icon, description, founder, and status), or nil if the server doesn't have a Bank set up yet.

bank.getBank()
📝This is the same Bank API, just with English names (a 1:1 alias of the methods above, same behaviour and same rules). Use whichever style you prefer — the two can even be mixed in the same script. Here, the target user is always an explicit parameter instead of always defaulting to whoever ran the script.

Parâmetros

AssinaturaTipo(s)
bank.getBank()

Valor de retorno

{ nome, icone, descricao, fundadorId, status } | nil

Exemplo de uso

let info = bank.getBank()
if info then message.reply(info.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 · API em Inglês