a bot to make an anonymous group chat on telegram, powered by coffea
Available as @secretloungebot on telegram. (BETA)
git clone https://github.com/6697/secretlounge
cd secretlounge
npm install
npm install [email protected]
(the last line is a workaround for an npm bug that makes it think beta9
is higher than beta18
)
Create a config.json
file:
{
"protocol": "telegram",
"token": "PUT_YOUR_TELEGRAM_TOKEN_FROM_BOTFATHER_HERE"
}
Use this for production use:
npm start
During development, you can also use:
npm run start:dev
To enable debug messages and run the code with on-the-fly compilation
(via babel-node
).
Or you can use:
npm run watch
To automatically restart the bot when the code changes.
Message @botfather to change your bot config:
- Run
/setprivacy
, select your bot andEnable
it. - Run
/setjoingroups
, select your bot andDisable
it. - Run
/setcommands
, select your bot and paste the command list below.
start - join the chat (start receiving messages)
stop - leave the chat (stop receiving messages)
users - get list of users
info - get info about your account
motd - show the welcome message
source - get the source code of this bot
version - show the version of this bot
issues - report issues with this bot
changelog - show the release history
modhelp - show commands for mods
adminhelp - show commands for admins
debug - toggle debug mode (sends back all messages to you)