eChan Telegram bot for group management and data queries.
- Conversational Q&A: mention
@alitayinGPTbotor the keywordechan; DM supported. - Group management: spam detection and simple anti-impersonation.
- Whitelist Keywords:
/whitelisting <keyword>to request whitelisting (bypasses spam detection, requires admin approval);/listwhitelistand/removewhitelistfor admins. - Price:
/pricereturns the latest XEC price. - Avalanche:
/avareturns the latest network summary. - Explorer:
/explorer <address> [page]to query address info by page. - Report:
/report(reporters only). - User Registration:
/signup <address>to register eCash address. - Token Sending:
/send <amount>for XEC or/send <tokenId|alias> <amount>for SLP/ALP tokens (admin only, reply to user message, supports aliases likeoorah, auto-detects token type). - Admin Commands:
/addlicense,/removelicense,/listlicenses,/getaddress,/listaddresses.
npm installCreate a .env file in the project root:
# Telegram Bot
TELEGRAM_TOKEN=your_telegram_bot_token
BOT_USERNAME=your_bot_username
# Bot Wallet (for token sending)
MNEMONIC="your twelve word mnemonic phrase"
# Admin Users (comma-separated usernames)
ALLOWED_USERS=username1,username2
# Other configurations...npm start- Token Send Feature - Detailed guide for sending XEC and SLP tokens
- User Address Registration - User signup and address management
- License Management - Reporter permissions management
- Whitelist Keywords - Keyword whitelist management for spam detection bypass
MIT