Go-Filter-Bot

command module
v0.0.0-...-86cb488 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

README

Go Filter Bot

Logo

A Simple Yet Superfast Filter Bot Written In Go Inspired By Unlimimted-Filter-Bot with global filter support.

Commands

  • |- /start Shows a start message [Group/DM]
  • |- /about Shows an about message [Group/DM]
  • |- /help Shows a help message [Group/DM]
  • |- /filter Create a new filter for a word or phrase [Group/Connected DM]
  • |- /stop Stop an existing filter [Group/Connected DM]
  • |- /filters View all the filters saved for a chat [Group/Connected DM]
  • |- /gfilter Create a new global filter that will work in all chats [Admin DM]
  • |- /gfilters View all the saved global filters [All]
  • |- /filter Create a new filter for a word or phrase [Group/Connected DM]
  • |- /broadcast Broadcast a message to all bot users [Owner DM]
  • |- /concast Broadcast a message to connected users [Owner DM]

Variables

  • BOT_TOKEN : Bot token obtained by creating a bot from @BotFather.
  • MONGODB_URI : MongoDB URI. Get this value from mongoDB. For more help watch this video.
  • ADMINS : Telegram user ids' of bot admins seperated by spaces.

Deploy

Deploy To Heroku


Deploy

Deploy To Render


deploy-to-render

Make sure to have the following options set :

Environment

Go

Build Command

go build .

Start Command

./Go-Filter-Bot

Advanced >> Health Check Path

/

Deploy To Koyeb


deploy-to-koyeb

You must set the Run command to :

./bin/Go-Filter-Bot

Deploy To Okteto


deploy-to-okteto

Deploy To Railway


deploy-to-railway

Run Locally/VPS

You must have the latest version of go installed first

git clone https://github.com/Jisin0/Go-Filter-Bot
cd Go-Filter-Bot
go build .
./Go-Filter-Bot

Support

Ask any doubts or help in our support chat. telegram badge

Join our telegram channel for more latest news and cool projects telegram badge

Thanks

Disclaimer

GNU Affero General Public License 2.0
Licensed under GNU AGPL 2.0. Selling The Codes To Other People For Money Is Strictly Prohibited.

Consider Following Me On Github Too :)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL