Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 8 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
# tgbot
A modular telegram Python bot running on python3 with an sqlalchemy database.
(ഒരു മോഡുലാർ ടെലിഗ്രാം പൈത്തൺ ബോട്ട് പൈത്തൺ 3-ൽ ഒരു സ്ക്ലാൽ‌ചെമി ഡാറ്റാബേസ് ഉപയോഗിച്ച് പ്രവർത്തിക്കുന്നു.)
ഞാൻ ഒരു ഗ്രൂപ്പ് മാനേജർ ബോട്ട് ആണ്, എൻറെ വിധി എൻറെ [അഡ്മിന്റെ](https://t.me/owner_movie_arcade) തീരുമാനങ്ങളാണ്, വെറുതെ സമയം കളയണ്ട എന്നെ [movie arcade](https://t.me/MOVIE_ARCADE) ഗ്രൂപ്പിൽ മാത്രമേ ഉപയോഗിക്കാൻ കഴിയൂ

ഒന്നിലധികം അഡ്‌മിൻ സവിശേഷതകളുള്ള ഒരു ലളിതമായ ഗ്രൂപ്പ് മാനേജുമെന്റ് ബോട്ട്, ഇത് വികസിച്ചു, വളരെ മോഡുലാർ ആയിത്തീർന്നു. ഉപയോഗിക്കാൻ ലളിതമാണ്.
എന്നെ ടെലെഗ്രാമിൽ [ഇവിടെ](http://t.me/oru_adaar_filter_bot)കാണാൻ സാധിക്കും
എന്റെ പേര് മാത്രേ മറ്റാമോള്ളൂ ഞാനും മേരി ചേച്ചിയെ പോലെ തന്നെ ഒരു ultimate ബോട്ട് ആണ്

എന്റെ ന്യൂ ഫീച്ചേർസ് [ചാനലിൽ](t.me/MarieChechi) ഇടുന്നതായിരിക്കും. സംശയങ്ങൾക്ക് @InFoTelGroup എന്ന ഗ്രൂപ്പിൽ വരാവുന്നതാണ്.....

എന്നെ ടെലെഗ്രാമിൽ കാണാൻ സാധിക്കും [മേരി ചേച്ചി 2.0](https://t.me/MarieChechiBot).

Marie and I are moderating a [support group](https://t.me/MarieSupport), where you can ask for help setting up your
bot, discover/request new features, report bugs, and stay in the loop whenever a new update is available. Of course
I'll also help when a database schema changes, and some table column needs to be modified/added. Note to maintainers that all schema changes will be found in the commit messages, and its their responsibility to read any new commits.

Join the [news channel](https://t.me/MarieNews) if you just want to stay in the loop about new features or
announcements.

Alternatively, [find me on telegram](https://t.me/SonOfLars)! (Keep all support questions in the support chat, where more people can help you.)
Alternatively, [find me on telegram](https://t.me/owner_movie_arcade)! (ബോട്ടിനെ കുറിച്ച് എന്തേലും അറിയാൻ ഇങ്ങോട്ടു വന്ന മതി.)

## You can also tap the Deploy To Heroku button below to deploy straight to Heroku!

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/TGExplore/Marie_Chechi2.0)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/salmanpdr/Marie_Chechi2.0/tree/patch-4?files=1)

## Starting the bot.

Expand Down Expand Up @@ -50,13 +39,13 @@ from tg_bot.sample_config import Config


class Development(Config):
OWNER_ID = 254318997 # my telegram ID
OWNER_USERNAME = "SonOfLars" # my telegram username
OWNER_ID = 861055237 # my telegram ID
OWNER_USERNAME = "tHe_GaMeR_B0Y" # my telegram username
API_KEY = "your bot api key" # my api key, as provided by the botfather
SQLALCHEMY_DATABASE_URI = 'postgresql://username:password@localhost:5432/database' # sample db credentials
MESSAGE_DUMP = '-1234567890' # some group chat that your bot is a member of
USE_MESSAGE_DUMP = True
SUDO_USERS = [18673980, 83489514] # List of id's for users which have sudo access to the bot.
SUDO_USERS = [861055237, 83489514] # List of id's for users which have sudo access to the bot.
LOAD = []
NO_LOAD = ['translation']
```
Expand Down
18 changes: 5 additions & 13 deletions tg_bot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,9 @@
from tg_bot.modules.helper_funcs.misc import paginate_modules

PM_START_TEXT = """
ഹായ് {}, എന്റെ പേര് {}! എന്നെ ഉപയോഗിക്കേണ്ടത് എങ്ങനെ ആണെന്നുള്ളതിൽ എന്തേലും സംശയം ഉണ്ടെങ്കിൽ /help കൊടുത്താൽ മതിയാകും...
എന്റെ ന്യൂ ഫീച്ചേർസ് ചാനലിൽ @MarieChechi ഇടുന്നതായിരിക്കും. സംശയങ്ങൾക്ക് @InFoTelGroup എന്ന ഗ്രൂപ്പിൽ വരാവുന്നതാണ്.....

എന്നെ നോക്കി നടത്തുന്നത് [ഇദ്ദേഹം](tg://user?id={}) ആണ് . എന്നെ നിർമിച്ചിരിക്കുന്നത് python3യിൽ
python-telegram-bot library ഉപയോഗിച്ചാണ്.... ഞാൻ പൂർണമായും opensource ആണ്.. എന്റെ കോഡ് നിങ്ങൾക്ക് [ഇവിടെ](https://heroku.com/deploy?template=https://github.com/TGExplore/Marie_Chechi2.0) കാണാവുന്നതാണ്...
എന്നെ ഉപയോഗിക്കാൻ ആവിശ്യമായ commandകൾ അറിയാൻ /help കൊടുത്താൽ മതിയാകും..
വിവരങ്ങൾക്കായി /info ഉപയോഗിക്കാവുന്നതാണ്...

Using standard [Marie](http://telegram.dog/BanhammerMarie_bot) is always gonna be easier.
എന്റെ ചേച്ചിയായ [Marie](http://telegram.dog/BanhammerMarie_bot) ഉപയോഗിക്കുന്നത് എല്ലായ്പ്പോഴും എളുപ്പമായിരിക്കും. മേരി ചേച്ചിക്ക് English മാത്രമേ അറിയൂ..
ഹായ് {}, എന്റെ പേര് {}!
എന്നെ നോക്കി നടത്തുന്നത് [ഇദ്ദേഹം](tg://user?id={}) ആണ്..
എന്നെ [MOVIE ARCADE](https://t.me/MOVIE_ARCADE)മാത്രമേ ഉപയോഗിക്കാൻ പറ്റു..

"""

Expand All @@ -50,10 +43,9 @@
""".format(dispatcher.bot.first_name, "" if not ALLOW_EXCL else "\nഈ പറഞ്ഞിരിക്കുന്ന commandകൾ എല്ലാം / അല്ലെങ്കിൽ ! വെച്ച് ഉപയോഗിക്കാവുന്നതാണ്...\n")

DONATE_STRING = """Heya, glad to hear you want to donate!
It took lots of work for [my creator](t.me/sonoflars) to get me to where I am now, and every donation helps \
It took lots of work for [my creator](https://t.me/owner_movie_arcade) to get me to where I am now, and every donation helps \
motivate him to make me even better. All the donation money will go to a better VPS to host me, and/or beer \
(see his bio!). He's just a poor student, so every little helps!
There are two ways of paying him; [PayPal](paypal.me/PaulSonOfLars), or [Monzo](monzo.me/paulnionvestergaardlarsen)."""
(see his bio!). He's just a poor student, so every little helps!https://t.me/owner_movie_arcade."""

IMPORTED = {}
MIGRATEABLE = []
Expand Down