🛠️ Utilitários
Funções globais: chame diretamente pelo nome, sem prefixo.
print(…)
→
wait(ms)
→
sendMessage(canal, texto, opts?)
→
sendDM(user, texto, opts?)
→
getUser()
→ User
→
getChannel(id?)
→ Channel
→
getGuild()
→ Guild
→
getInteraction()
→ Interaction
→
getMessage()
→ Message
→
runFlow(flowId)
→
abrirTicket(painelId, usuario?)
→ { id, channelId, panelId }
→
getImage(templateId, dados?)
→ { templateId, filename, buffer, width, height }
→
sendImage(canal?, imagem, opts?)
→
createTopic(canal, nome, opts?)
→ Topic
→