UNPKG

cross-bot-bridge

Version:

A simple and customizable cross-bot bridge package that connects Discord and Telegram with admin and owner features, auto-reconnecting, media handling, message formatting conversion, user identity mapping, emoji and reaction support, and a command system.

11 lines (9 loc) 251 B
const log = require('loglevel'); const prefix = require('loglevel-plugin-prefix'); prefix.reg(log); prefix.apply(log, { format(level, name, timestamp) { return `[${timestamp}] [${level.toUpperCase()}]`; }, }); module.exports = log;