Skip to content

a bot to make an anonymous group chat on telegram, powered by coffea

Notifications You must be signed in to change notification settings

Rondoozle/secretlounge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/b/

a bot to make an anonymous group chat on telegram, powered by coffea

https://i.imgur.com/m8V75N9.png

Available as @secretloungebot on telegram. (BETA)

Setup

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)

Config

Create a config.json file:

{
  "protocol": "telegram",
  "token": "PUT_YOUR_TELEGRAM_TOKEN_FROM_BOTFATHER_HERE"
}

Running

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.

@botfather setup

Message @botfather to change your bot config:

  • Run /setprivacy, select your bot and Enable it.
  • Run /setjoingroups, select your bot and Disable it.
  • Run /setcommands, select your bot and paste the command list below.

Command list

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)

About

a bot to make an anonymous group chat on telegram, powered by coffea

Resources

Stars

Watchers

Forks

Packages

No packages published