All Projects → AmTanny → allukabot

AmTanny / allukabot

Licence: GPL-3.0 license
Modular HunterxHunter themed Telegram Bot for managing your group with additional features.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to allukabot

TgTwitterStreamer
Continous Integration from Twitter to Telegram.
Stars: ✭ 55 (+161.9%)
Mutual labels:  telegram-bot, telethon
EPUB-to-PDF
Telegram bot EPUB to PDF converter
Stars: ✭ 25 (+19.05%)
Mutual labels:  telegram-bot, python-telegram-bot
tgcf
The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
Stars: ✭ 378 (+1700%)
Mutual labels:  telegram-bot, telethon
greed
A customizable, multilanguage Telegram shop bot with Telegram Payments support
Stars: ✭ 268 (+1176.19%)
Mutual labels:  telegram-bot, python-telegram-bot
PDF-Bot
A bot for PDF for doing Many Things....
Stars: ✭ 38 (+80.95%)
Mutual labels:  telegram-bot, python-telegram-bot
Sophie
New repo - https://gitlab.com/SophieBot/sophie
Stars: ✭ 28 (+33.33%)
Mutual labels:  telegram-bot, telethon
Music-downloader-bot
A telegram bot that can send you high-quality audio 🎧🎧🎧
Stars: ✭ 35 (+66.67%)
Mutual labels:  telegram-bot, python-telegram-bot
tg-inviter
Generate personal invite links for Telegram channels
Stars: ✭ 26 (+23.81%)
Mutual labels:  python-telegram-bot, telethon
MissElizabethRobot
MashaRoBot : 📑Editor's choice
Stars: ✭ 43 (+104.76%)
Mutual labels:  telegram-bot, telethon
FTG-Modules
Modules Repo for GeekTG Friendly-Telegram Mod
Stars: ✭ 20 (-4.76%)
Mutual labels:  telegram-bot, telethon
archivebot
💾 A telegram bot for backing up and collecting all kinds of media.
Stars: ✭ 65 (+209.52%)
Mutual labels:  telegram-bot, telethon
nebula8
Open source bot to administer a telegram group with different functionalities and blacklist
Stars: ✭ 21 (+0%)
Mutual labels:  telegram-bot, python-telegram-bot
memes-reposter
bot for automatic broadcasting content into telegrams channels from reddit/imgur/rss
Stars: ✭ 35 (+66.67%)
Mutual labels:  telegram-bot, python-telegram-bot
ZeldrisRobot
An anime themed group management bot, running on python with telethon and ptb.
Stars: ✭ 41 (+95.24%)
Mutual labels:  python-telegram-bot, telethon
RPi-TELEBOT
Python based Telegram bot to monitor and control the raspberry pi
Stars: ✭ 19 (-9.52%)
Mutual labels:  telegram-bot
Telegram Vc Bot
A bot that can play music on telegram group's voice chat.
Stars: ✭ 94 (+347.62%)
Mutual labels:  telegram-bot
Telegram-bot-Google-Drive
Simple Telegram bot Google Drive integration example
Stars: ✭ 46 (+119.05%)
Mutual labels:  telegram-bot
Pyro-FileStreamBot
Stream Telegram files to web
Stars: ✭ 38 (+80.95%)
Mutual labels:  telegram-bot
tele-vdo-rider
Telegram bot to convert online videos to audio (mp3)
Stars: ✭ 17 (-19.05%)
Mutual labels:  telegram-bot
All-Url-Uploader
A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)
Stars: ✭ 122 (+480.95%)
Mutual labels:  telegram-bot

allukabot // @zoldycktmbot

with HunterxHunter theme.

Codacy Badge Open Source Love
GPLv3 license

GitHub forks GitHub stars

Modular HunterxHunter themed Telegram Bot for managing your group with additional features.

alluka

Configuration

Rename sample_config.yml to config.yml

alluka_explain_config: "hunter_____X_____hunter" replace this line hunter_____X_____hunter with this alluka_zoldyck

The following env variables are supported:

  • bot_token: Your bot token, as a string.

  • owner_id: An integer of consisting of your owner ID

  • owner_username: Your username

  • api_key: get it from my.telegram.org

  • api_hash: get it from my.telegram.org

  • database_url: Your database URL

  • message_dump: optional: a chat where your replied saved messages are stored, to stop people deleting their old

  • load: Space separated list of modules you would like to load

  • no_load: Space separated list of modules you would like NOT to load

  • webhook: Setting this to ANYTHING will enable webhooks when in env mode messages

  • url: The URL your webhook should connect to (only needed for webhook mode)

  • sudo_users: A space separated list of user_ids which should be considered sudo users

  • whitelist_users: A space separated list of user_ids which should be considered support users (can gban/ungban, nothing else)

  • support_users: A space separated list of user_ids, they can be banned.

  • cert_path: Path to your webhook certifdev_usersicate

  • port: Port to use for your webhooks

  • del_cmds: Whether to delete commands from users which don't have rights to use that command

  • strict_gban: Enforce gbans across new groups as well as old groups. When a gbanned user talks, he will be banned.

  • strict_gmute: Enforce gbans across new groups as well as old groups. When a gbanned user talks, he will be banned.

  • workers: Number of threads to use. 8 is the recommended (and default) amount, but your experience may vary. Note that going crazy with more threads wont necessarily speed up your bot, given the large amount of sql data accesses, and the way python asynchronous calls work.

  • ban_sticker: Which sticker to use when banning people.

  • allow_excl: Whether to allow using exclamation marks ! for commands as well as /.

Python dependencies

Install the necessary python dependencies by moving to the project directory and running:

pip3 install -r requirements.txt.

This will install all necessary python packages.

Database

If you wish to use a database-dependent module (eg: locks, notes, userinfo, users, filters, welcomes), you'll need to have a database installed on your system. I use postgres, so I recommend using it for optimal compatibility.

In the case of postgres, this is how you would set up a the database on a debian/ubuntu system. Other distributions may vary.

  • install postgresql:

sudo apt-get update && sudo apt-get install postgresql

  • change to the postgres user:

sudo su - postgres

  • create a new database user (change YOUR_USER appropriately):

createuser -P -s -e YOUR_USER

This will be followed by you needing to input your password.

  • create a new database table:

createdb -O YOUR_USER YOUR_DB_NAME

Change YOUR_USER and YOUR_DB_NAME appropriately.

  • finally:

psql YOUR_DB_NAME -h YOUR_HOST YOUR_USER

This will allow you to connect to your database via your terminal. By default, YOUR_HOST should be 0.0.0.0:5432.

You should now be able to build your database URI. This will be:

sqldbtype://username:pw@hostname:port/db_name

Replace sqldbtype with whichever db youre using (eg postgres, mysql, sqllite, etc) repeat for your username, password, hostname (localhost?), port (5432?), and db name.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].