Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
v2.0.1
  • Loading branch information
AkkilMG committed Feb 28, 2022
2 parents 05bbb45 + b5dffad commit be156ec
Show file tree
Hide file tree
Showing 9 changed files with 694 additions and 22 deletions.
8 changes: 8 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version = 1

[[analyzers]]
name = "python"
enabled = true

[analyzers.meta]
runtime_version = "3.x.x"
104 changes: 94 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
# Feedback-Bot

<b>Hey, This Is [Feedback Bot](https://telegram.dog/HeimanSupportsBot/) Made By Using Python And Pyrogram Framework
This is enovation of [HeimanCreation](https://github.com/HeimanPictures/HeimanPictures/) 😇.
<b>Hey, This Is [Feedback Bot](/) Made By Using Python And Pyrogram Framework
This is enovation of [AkKiL](https://github.com/HeimanPictures/HeimanPictures/) 😇.

This Bot Works Like Independent @LivegramBot, But With Extra Command And Even Logs Of The User Who Have Used Start Command Of The Bot...

I Have Not Yet Added Any Database And Ban And UnBan Feature In This Repo. If You Need That Commands And Features Just Request Us [@HeimanSupport](https://telegram.dog/HeimanSupport/). We Will Try To Add It Soon..</b>
## Installation

### Direct

#### 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/HeimanPictures/Feedback-Bot/tree/Heroku/)
<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/HeimanPictures/Feedback-bot/"> <img src="https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge&logo=heroku" width="210" height="34.45" alt="Deploy To Heroku"/></a></p>

### DF Way
#### You can also tap the Deploy To Railway button below to deploy straight to Railway!


<p align="center"><a href="https://railway.app/new/template?template=https://github.com/HeimanPictures/Feedback-bot"> <img src="https://railway.app/button.svg" width="250" height="50" alt="Deploy To Railway"/></a></p>
<!--&envs=API_ID%2CAPI_HASH%2CAPI_KEY%2CBOT_TOKEN-->

### Local Deploy

#### Terminal Or Some VPS Use This Way Of Deploy.. 😇
```
git clone https://github.com/HeimanPictures/Feedback-bot/tree/Heroku
git clone https://github.com/HeimanPictures/Feedback-bot/
cd Feedback-bot
virtualenv -p python3 VENV
. ./VENV/bin/activate
Expand All @@ -30,9 +35,88 @@ python bot.py

## To-Do

- Database
- Broadcast & No. Of Users
- Ban & Unban
- None


## Config

<table align='center'>
<tr>
<th>BOT_TOKEN</th>
<th>Your Bots Token from <a href='https://telegram.me/BotFather/'>Bot Father</a>.</th>
</tr>
<tr>
<th>API_ID</th>
<th>Your Telegram API ID from <a href='https://my.telegram.org/'>Telegram API ID</a>.</th>
</tr>
<tr>
<th>API_HASH</th>
<th>Your Bots Token from <a href='https://my.telegram.org/'>Telegram API HASH</a>.</th>
</tr>
<tr>
<th>AUTH_USERS</th>
<th>Provide AUTH User ID to use admin function</th>
</tr>
<tr>
<th>BROADCAST_AS_COPYS</th>
<th>If you provide value False then it will Forward with tag and if you give value as True then without tag. As True or False</th>
</tr>
<tr>
<th>LOG_CHANNEL</th>
<th>Make a channel add the bot as admin and get the id of the channel using @googleimgbot</th>
</tr>
<tr>
<th>DB_URL</th>
<th>Provided Mongodb Database link from <a href="mongodb.com">mongodb.com</a></th>
</tr>
<tr>
<th>DB_NAME</th>
<th>Provide name for DB to make session (anything)</th>
</tr>
<tr>
<th>UPDATE_CHANNEL</th>
<th>Your Channel Link</th>
</tr>
<tr>
<th>SUPPORT_GROUP</th>
<th>Your Group Link</th>
</tr>
<tr>
<th>DONATE_LINK</th>
<th>Your Donation Link</th>
</tr>
<tr>
<th>DONATE_TEXT</th>
<th>Your Donate Text as a string.</th>
</tr>
<tr>
<th>OWNER_ID</th>
<th>Your ID Or Who need is going to handle this bot.</th>
</tr>
<tr>
<th>START_TEXT</th>
<th>Your Start message as a string & There Is default Of 'Hello <username>'.</th>
</tr>
<tr>
<th>HELP_TEXT</th>
<th>Your Help Text as a string.</th>
</tr>
<table>

## Commands for this Bot

```command
start - To Start
help - To get help
donate - To get donate
about - To Know About me
settings - To get settings
stats - To get stats
ban_user - To ban user
unban_user - To unban user
banned_users - To get banned user
broadcast - To Broadcast [Admin]
```

## Note
Kangers Keep Some Distance..
Expand All @@ -46,4 +130,4 @@ python bot.py

## Credits

- Thanks To <b>[Heiman Creation](https://telegram.dog/HeimanCreation/)</b>
- Thanks To <b>[AkKiL](https://telegram.dog/HeimanCreation/)</b>
24 changes: 22 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"feedback",
"bot"
],
"success_url": "https://telegram.dog//",
"success_url": "/",
"website": "https://github.com/HeimanPictures/HeimanPictures/",
"repository": "https://github.com/HeimanPictures/Feedback-bot/",
"env": {
Expand All @@ -21,7 +21,7 @@
},
"OWNER_ID": {
"description": "Your ID Or Who need is going to handle this bot",
"value": ""
"value": "1428968542"
},
"DONATE_TEXT": {
"description": "Your Donate Text as a string.",
Expand Down Expand Up @@ -50,6 +50,26 @@
"API_HASH": {
"description": "Get this value from https://my.telegram.org",
"value": ""
},
"DB_URL": {
"description": "Provided Mongodb Database link from mongodb.com",
"value": ""
},
"DB_NAME": {
"description": "Provide name for DB to make session",
"value": "Feedback-Bot"
},
"LOG_CHANNEL": {
"description": "Make a channel add the bot as admin and get the id of the channel using @googleimgbot",
"value": ""
},
"BROADCAST_AS_COPY": {
"description": "If you provide value False then it will Forward with tag and if you give value as True then without tag",
"value": "True"
},
"AUTH_USERS": {
"description": "Provide AUTH User ID to use admin function",
"value": "1428968542"
}
},
"addons": [
Expand Down
Loading

0 comments on commit be156ec

Please sign in to comment.