Skip to content

Commit 54bc97d

Browse files
authored
Catuserbot version 2.10.3
Catuserbot version 2.10.3 ☞DOWNLOAD_PFP_URL_CLOCK var is renmaed to DEFAULT_PIC ☞For digitalpfp you can set your custom image by DIGITAL_PIC ☞Kang with emoji is fixed ☞Fixed the bot to work in saved messages ☞Ban , mute now mentions the user ☞Media support for afk is added try `.mafk` ☞You can end autoprofile and autopfp commands by `.end command name` (restart doesnt stops them) ☞Default city for climate doesnt change after restart now ☞Emojify is fixed ☞Global kick option added ☞Kickall , banall options added ☞Admin permissions option added (`.adminperm`) ☞You can stop tag logging or pm logging by simple cmds (.grplog on/off , .pmlog on/off) ☞The font for memify plugin is stored globally ☞Added new command pcode to paste text in file to image ☞Added "purge count" option and also purgefrom and purgeto option ☞Added ".del time(in seconds)" option to delete the replied message after certain Time ☞Added multi quote support for qbot ☞Added ustat cmd to fetch the replied users public groups(in which he is) ☞Scan cmd uses @vs_robot instead of @drwebbot ☞Default translate languge for trt stores in sql now ☞Anonfiles webupload error is fixed ☞Whois on anonymous admins is fixed
1 parent 1e45352 commit 54bc97d

87 files changed

Lines changed: 3854 additions & 1838 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/bins.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/clone.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,4 @@ else
4343
rm -rf cat_ub
4444
fi
4545

46-
FILE=/app/bin/
47-
if [ -d "$FILE" ] ; then
48-
echo "$FILE directory exists already."
49-
else
50-
bash ./.github/bins.sh
51-
fi
52-
5346
python -m userbot

README.md

Lines changed: 56 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,69 @@
1-
2-
# CAT USERBOT
3-
4-
### The Easy Way to deploy the bot
5-
Get APP ID and API HASH from [HERE](https://my.telegram.org) and BOT TOKEN from [Bot Father](https://t.me/botfather) and then Generate stringsession by clicking on run.on.repl.it button below and then click on deploy to heroku . Before clicking on deploy to heroku just click on fork and star just below
6-
7-
[![Get string session](https://repl.it/badge/github/sandy1709/sandeep1709)](https://generatestringsession.sandeep1709.repl.run/)
1+
# CatUserbot
2+
A simple Telegram userbot based on Telethon .
3+
[![catuserbot logo](https://telegra.ph/file/b7dc845e3a48cde0d7bb1.jpg)](https://dashboard.heroku.com/new?button-url=https%3A%2F%2Fgithub.com%2Fsandy1709%2Fcatuserbot%2Ftree%2Fbugs&template=https%3A%2F%2Fgithub.com%2Fsandy1709%2Fcatuserbot)
4+
[![HitCount](http://hits.dwyl.com/sandy1709/catuser.svg)](http://hits.dwyl.com/sandy1709/catuser)
5+
[![CodeFactor](https://www.codefactor.io/repository/github/sandy1709/catuserbot/badge?&style=flat-square)](https://www.codefactor.io/repository/github/sandy1709/catuserbot)
6+
[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)
7+
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green?&style=flat-square)](https://GitHub.com/sandy1709/catuserbot/graphs/commit-activity)
8+
![Repo Size](https://img.shields.io/github/repo-size/sandy1709/catuserbot?&style=flat-square&logo=github)
9+
[![GitHub license](https://img.shields.io/github/license/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/blob/master/LICENSE)
10+
[![GitHub issues](https://img.shields.io/github/issues/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/issues)
11+
[![PR Open](https://img.shields.io/github/issues-pr/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/pulls)
12+
[![PR Closed](https://img.shields.io/github/issues-pr-closed/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/pulls?q=is:closed)
13+
[![GitHub contributors](https://img.shields.io/github/contributors/sandy1709/catuserbot?&style=flat-square&logo=github)](https://GitHub.com/sandy1709/catuserbot/graphs/contributors/)
14+
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/graphs/commit-activity)
15+
[![GitHub forks](https://img.shields.io/github/forks/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/fork)
16+
[![GitHub stars](https://img.shields.io/github/stars/sandy1709/catuserbot?&style=flat-square&logo=github)](https://github.com/sandy1709/catuserbot/stargazers)
17+
18+
19+
20+
## How to deploy catuserbot
821

922
[![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://dashboard.heroku.com/new?button-url=https%3A%2F%2Fgithub.com%2Fsandy1709%2Fcatuserbot%2Ftree%2Fbugs&template=https%3A%2F%2Fgithub.com%2Fsandy1709%2Fcatuserbot)
10-
<p align="center">
11-
<a href="https://github.com/sandy1709/catuserbot/fork">
12-
<img src="https://img.shields.io/github/forks/sandy1709/catuserbot?label=Fork&style=social">
13-
14-
</a>
15-
<a href="https://github.com/sandy1709/catuserbot">
16-
<img src="https://img.shields.io/github/stars/sandy1709/catuserbot?style=social">
17-
</a>
18-
</p>
19-
20-
21-
[![catuserbot logo](https://telegra.ph/file/7e1e89621fabbf02596f8.jpg)](https://heroku.com/deploy?template=https://github.com/sandy1709/catuserbot)
22-
23-
24-
### Join [here](https://t.me/catuserbot17) for updates and tuts and [here](https://t.me/catuserbot_support) for discussion and bugs
2523

26-
### The Normal Way
24+
<details>
25+
<summary>Steps to deploy on Heroku !! </summary>
2726

28-
An example `local_config.py` file could be:
27+
#### Get Required values First
2928

30-
**Not All of the variables are mandatory**
29+
1) Get App Id and Api Hash from [HERE](https://my.telegram.org)
30+
2) Create a bot in [Bot Father](https://t.me/botfather) and get Bot Token
31+
3) Then Generate stringsession from [Repl](https://generatestringsession.sandeep1709.repl.run/).
3132

32-
__The Userbot should work by setting only the first two variables__
3333

34-
```python3
35-
from heroku_config import Var
34+
</details>
35+
36+
## Support
37+
<a href="https://t.me/catuserbot17"><img src="https://img.shields.io/badge/Channel%20Support%3F-yes-green?&style=flat-square?&logo=telegram" width=220px></a></p>
38+
<a href="https://t.me/catuserbot_support"><img src="https://img.shields.io/badge/Group%20Support%3F-yes-green?&style=flat-square?&logo=telegram" width=220px></a></p>
39+
40+
## Inspiration
41+
- [X-tra-Telegram](https://github.com/Dark-Princ3/X-tra-Telegram)
42+
- [Uniborg](https://github.com/SpEcHiDe/UniBorg) & [Uniborg fork](https://github.com/ravana69/PornHub)
43+
- [Nana-Remix](https://github.com/pokurt/Nana-Remix)
44+
- [Userge-X](https://github.com/code-rgb/USERGE-X/)
45+
46+
## Disclaimer
3647

37-
class Development(Var):
38-
APP_ID = 6
39-
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
4048
```
49+
YOU ARE FOREWARNED
50+
Your Telegram account may get banned.
51+
Catuserbot or we are not responsible for your account,
52+
This bot is intended for the purpose of having fun with some fun commands
53+
and group management with some helpfull commands.
4154
42-
### UniBorg Configuration
55+
If you ended up spamming groups, getting reported left and right,
56+
and you ended up in being fight with Telegram
57+
and at the end Telegram Team deleted your account. DON'T BLAME US.
4358
59+
No personal support will be provided / We won't spoon feed you.
60+
If you need help ask in our support group
61+
and we or our friends will try to help you.
4462
63+
Thanks for using our bot 😺
64+
```
4565

46-
**Heroku Configuration**
47-
Simply just leave the Config as it is.
48-
49-
**Local Configuration**
50-
51-
Fortunately there are no Mandatory vars for the UniBorg Support Config.
52-
53-
## Mandatory Vars
54-
55-
- Only two of the environment variables are mandatory.
56-
- This is because of `telethon.errors.rpc_error_list.ApiIdPublishedFloodError`
57-
58-
- `APP_ID`: You can get this value from https://my.telegram.org
59-
- `API_HASH`: You can get this value from https://my.telegram.org
60-
- The userbot will not work without setting the mandatory vars.
66+
## Credits
67+
- Special thanks to [LonamiWebs](https://github.com/LonamiWebs/Telethon/) for Telethon libraray
68+
- To all devs of these [Userbots](https://github.com/sandy1709/catuserbot/tree/bugs#inspiration)
69+
- Finally to all [contributors of Catuserbot](https://github.com/sandy1709/catuserbot/graphs/contributors)

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"value": "",
9292
"required": false
9393
},
94-
"DOWNLOAD_PFP_URL_CLOCK": {
94+
"DEFAULT_PIC": {
9595
"description": "Needed for autopic module. A url that is a preview link of your Profile Pic",
9696
"value": "",
9797
"required": false

0 commit comments

Comments
 (0)