Home / Docs / Errors
On this page

Manejo de Errores

FloodWait

Zerogram maneja automaticamente los errores de FloodWait y reintenta.

Eventos

bot.on('ready', () => console.log('Ready'));
bot.on('error', (e) => console.error(e));
bot.on('unhandled', (ctx) => console.log('Unhandled'));
bot.on('stopped', () => console.log('Stopped'));