Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I Am Waiting #1

Open
wants to merge 77 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
ddcdea0
OP AF
Hobby-Dev-0 Aug 6, 2021
8e3e57c
Update ping.py
PhoenixError Aug 6, 2021
d71176c
Inline
Hobby-Dev-0 Aug 6, 2021
81d31db
Merge pull request #1 from PhoenixError/patch-1
Hobby-Dev-0 Aug 6, 2021
13760ed
pmclick
Hobby-Dev-0 Aug 6, 2021
c7faf47
Keke
Hobby-Dev-0 Aug 6, 2021
4998a2b
Initial commit
Aug 6, 2021
9a5c116
Update _help.py
Hobby-Dev-0 Aug 6, 2021
ae98636
sudokimkbhiykop
Hobby-Dev-0 Aug 6, 2021
b0e5269
K
Hobby-Dev-0 Aug 6, 2021
a887ba8
gpromote
Hobby-Dev-0 Aug 6, 2021
360a720
memeui
Hobby-Dev-0 Aug 6, 2021
c883c8d
memeui buggy
Hobby-Dev-0 Aug 6, 2021
0818eef
Vendor error memui
Hobby-Dev-0 Aug 6, 2021
06379d4
vendor
Hobby-Dev-0 Aug 6, 2021
9aa90dd
iamnoob
Hobby-Dev-0 Aug 6, 2021
4230dbd
Initial commit
Aug 6, 2021
13943da
Alve
Aug 6, 2021
61927a8
Create alive.py
GODBOYX Aug 6, 2021
bb2c830
Update README.md
GODBOYX Aug 6, 2021
68868b8
Update README.md
GODBOYX Aug 6, 2021
e60e9bd
Update alive.py
Aug 6, 2021
fb9f3f0
kk
Aug 6, 2021
ff4d861
kk
Aug 6, 2021
fbff19f
Update alive.py
GODBOYX Aug 6, 2021
0134815
Update alive.py
GODBOYX Aug 6, 2021
9730186
Update alive.py
GODBOYX Aug 6, 2021
6d65ed6
License is requirement
Hobby-Dev-0 Aug 6, 2021
178a81b
Vc Support
Hobby-Dev-0 Aug 6, 2021
3d804e0
NOw Done
Hobby-Dev-0 Aug 6, 2021
079a08b
Now Ok
Hobby-Dev-0 Aug 6, 2021
27c142f
Sudo Restricted added in admin group actions
Hobby-Dev-0 Aug 6, 2021
4c11340
Update alive.py
TEAM-PATRICIA Aug 6, 2021
4eb5226
Update alive.py
TEAM-PATRICIA Aug 6, 2021
924aa93
Update alive.py
TEAM-PATRICIA Aug 6, 2021
a73f069
Fixed Sar'
Aug 7, 2021
b8fa8c6
kk
Hobby-Dev-0 Aug 7, 2021
f77e704
KK
Hobby-Dev-0 Aug 7, 2021
0775dda
🔥
Hobby-Dev-0 Aug 7, 2021
0ea3d79
Update main_assistant.py
TEAM-PATRICIA Aug 7, 2021
e1e9916
Update alive.py
GODBOYX Aug 7, 2021
f7a4cbc
Update README.md
GODBOYX Aug 8, 2021
586dd35
gitpod
Hobby-Dev-0 Aug 9, 2021
59be4d7
K
Hobby-Dev-0 Aug 9, 2021
1258e05
git
Hobby-Dev-0 Aug 9, 2021
8f109ea
Done
Hobby-Dev-0 Aug 10, 2021
9bb1fe5
Update README.md
GODBOYX Aug 11, 2021
8e97b1a
Update README.md
GODBOYX Aug 11, 2021
dfe4fae
Core
Hobby-Dev-0 Aug 11, 2021
2657cea
K
Hobby-Dev-0 Aug 12, 2021
bf8bb2d
Apt
Hobby-Dev-0 Aug 12, 2021
8a74902
Requirements
Hobby-Dev-0 Aug 12, 2021
df7eaff
Dockerised heroku Support
Hobby-Dev-0 Aug 12, 2021
7463988
Procfile
Hobby-Dev-0 Aug 12, 2021
aee13ef
Start
Hobby-Dev-0 Aug 12, 2021
68c37d7
F
Hobby-Dev-0 Aug 12, 2021
af1d759
app.json
Hobby-Dev-0 Aug 12, 2021
4513f8e
epp
Hobby-Dev-0 Aug 12, 2021
38551af
epp
Hobby-Dev-0 Aug 12, 2021
7d8758b
k
Hobby-Dev-0 Aug 12, 2021
cd20fc0
Best
Hobby-Dev-0 Aug 12, 2021
b91148b
pylint: auto fixes
Noob-Stranger Aug 12, 2021
2b05036
Andencento
Hobby-Dev-0 Aug 12, 2021
7d7d236
Config
Hobby-Dev-0 Aug 12, 2021
097c43d
pylint: auto fixes
Noob-Stranger Aug 12, 2021
2da111e
krle
Hobby-Dev-0 Aug 12, 2021
e61ec01
pylint: auto fixes
Noob-Stranger Aug 12, 2021
f77ea18
kk
Hobby-Dev-0 Aug 12, 2021
00d0e28
pylint: auto fixes
Noob-Stranger Aug 12, 2021
d18979b
k
Hobby-Dev-0 Aug 12, 2021
b3f057a
kk
Hobby-Dev-0 Aug 12, 2021
50854bb
kk
Hobby-Dev-0 Aug 12, 2021
db7e150
k
Aug 19, 2021
c86d793
Andencento
Aug 19, 2021
2b3a014
Installer
Aug 23, 2021
c9417e6
Nrt
Hobby-Dev-0 Jul 26, 2022
eb1adc5
Update .gitpod.yml
Hobby-Dev-0 Jul 30, 2022
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
36 changes: 36 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#
#name: PyLint
#on: push
#jobs:
# PEP8:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Setup Python
# uses: actions/setup-python@v1
# with:
# python-version: 3.9
# - name: Install Python lint libraries
# run: pip install autopep8 autoflake isort black
# - name: Check for showstoppers
# run: |
# autopep8 --verbose --in-place --recursive --aggressive --aggressive assistant/*
# autopep8 --verbose --in-place --recursive --aggressive --aggressive plugins/*
# - name: Remove unused imports and variables
# run: |
# autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports assistant/*
# autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports plugins/*
# - name: lint with isort and black
# run: |
# isort assistant/*
# black assistant/*
# isort plugins/*
# black plugins/*
# - uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: 'pylint: auto fixes'
# commit_options: '--no-verify'
# repository: .
# commit_user_name: Noob-Stranger
# commit_user_email: [email protected]
# commit_author: Noob-Stranger <[email protected]>
9 changes: 9 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:latest
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y ffmpeg python3-pip opus-tools
RUN git clone https://github.com/Andencento/Andencento.git /root/Andencento
WORKDIR /root/Andencento
ENV PYTHONUNBUFFERED=1
COPY . .
RUN pip install -r requirements.txt
CMD ["python3","-m","userbot"]
12 changes: 12 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
image:
file: .gitpod.Dockerfile

# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
ports:
- port: 8080
onOpen: notify

# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: pip3 install -r requirements.txt
command: python3 userbot
122 changes: 122 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
Creative Commons Legal Code
Copyright Team Andencento (C) 2021-2022

CC0 1.0 Universal

CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.

Statement of Purpose

The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").

Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.

For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.

1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:

i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.

2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.

3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.

4. Limitations and Disclaimers.

a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Andencento: bash startup.sh
40 changes: 1 addition & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1 @@
# Andencento

# A STABLE USERBOT BASED ON TELETHON
# DEVS
### • NOOB-STRANGER »» <a href="https://github.com/Noob-Stranger" alt="Noob-Stranger"> <img src="https://img.shields.io/badge/Noob-Stranger-30302f?logo=github&color=lightgreen" /></a>
### • MADBOY »» <a href="https://github.com/madboy482" alt="MadBoy"> <img src="https://img.shields.io/badge/MADBOY-30302f?logo=github&color=silver" /></a>
### • InternetAmethyst »» <a href="https://github.com/InternetAmethyst" alt="Internet-Amethyst&color=yellow"> <img src="https://img.shields.io/badge/Internet-Amethyst-30302f?logo=github&color=red" /></a>
### • GODBOYX »» <a href="https://github.com/GODBOYX" alt="GODBOYX"> <img src="https://img.shields.io/badge/GODBOYX-30302f?logo=github&color=blue" /></a>
### • InukaAsith »» <a href="https://github.com/InukaAsith" alt="Inuka-Asith"> <img src="https://img.shields.io/badge/InukaAsith-30302f?logo=github&color=yellow" /></a>
## SOME INFO
[![Stars](https://img.shields.io/github/stars/Andencento/Andencento?style=flat-square&color=yellow)](https://github.com/Andencento/Andencento/stargazers)
[![Forks](https://img.shields.io/github/forks/Andencento/Andencento?style=flat-square&color=orange)](https://github.com/Andencento/Andencento/fork)
[![Size](https://img.shields.io/github/repo-size/Andencento/Andencento?style=flat-square&color=green)](https://github.com/Andencento/Andencento)
[![Python](https://img.shields.io/badge/Python-v3.9-blue)](https://www.python.org/)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/Noob-Stranger/andencento/graphs/commit-activity)
[![Close Source Love](https://img.shields.io/badge/Close--source-%F0%9F%94%A5-brightgreen)](https://github.com/Andencento/Andencento/)
[![Contributors](https://img.shields.io/github/contributors/Andencento/Andencento?style=flat-square&color=pink)](https://github.com/Andencento/Andencento/graphs/contributors)

## Inspirations
- Darkcobra
- Uniborg


## Deloy On Railway
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2FAndencento%2FRailway-Deploy&plugins=postgresql&envs=YOUR_NAME%2CTZ%2CALIVE_PIC%2CPMPERMIT_PIC%2CPM_LOG_ID%2CHANDLER%2CBUTTONS_IN_HELP%2CTEMP_DOWNLOAD_DIRECTORY%2CPM_PERMIT%2CAPP_ID%2CAPI_HASH%2CLOGGER_ID%2CANDENCENTO_SESSION%2CBOT_TOKEN%2CTAG_LOGGER%2CBOT_USERNAME%2CSUDO_USERS&optionalEnvs=PM_LOG_ID%2CTAG_LOGGER%2CSUDO_USERS&YOUR_NAMEDesc=This+is+Alive+Name+So+Fill+it+Properly+It+is+Mandatory&TZDesc=Time+Zone+of+a+country+Dont+Edit+untill+you+want+diffrent+time+zone&ALIVE_PICDesc=Alive+Pic+Paste+Telegraph+Link&PMPERMIT_PICDesc=Pmpermit+Pic&PM_LOG_IDDesc=Fill+your+private+Channel+ID+if+you+want+to+Log+PM+messages.&HANDLERDesc=Your+command+handler.+Default+is+%27+.+%27+%28dot%29.&BUTTONS_IN_HELPDesc=No.of+buttons+to+display+in+help+menu.&TEMP_DOWNLOAD_DIRECTORYDesc=Temp+Storage+&PM_PERMITDesc=Defualt+is+Enable+if+You+Want+To+Disable+PMPERMIT+type+Disable&APP_IDDesc=Get+this+value+from+my.telegram.org+6+Digits+Value&API_HASHDesc=Get+this+value+from+my.telegram.org&LOGGER_IDDesc=Logger+Id+Starts+from+-100&ANDENCENTO_SESSIONDesc=Get+this+value+by+using+https%3A%2F%2Freplit.com%2F%40madboy482%2FSession-Andencento+and+fill+this+is+your+String+Session.&BOT_TOKENDesc=Make+a+bot+from+%40BotFather+and+paste+the+bot+token+here.&TAG_LOGGERDesc=Make+a+group+and+add+rose.+Do+%2Fid+and+paste+the+chat+id+here.+Make+Sure+id+Should+Start+From+-100&BOT_USERNAMEDesc=from+%40BotFather+Get+Bot+username+which+you+filled+token+and+paste+the+username+here.&SUDO_USERSDesc=Userid+of+user+to+grant+sudo+access.+Add+multiple+sudo+users+by+giving+a+space+between+userids&TZDefault=Asia%2FKolkata&HANDLERDefault=.&BUTTONS_IN_HELPDefault=7&TEMP_DOWNLOAD_DIRECTORYDefault=.%2Fuserbot%2Fcache&PM_PERMITDefault=ENABLE)

## Deploy To Heroku
[![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Andencento/Deploy-Andencento)

## VC Deploy (Music)
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](http://heroku.com/deploy?template=https://github.com/Andencento/Andencento/tree/vc)


## Andencento Session
[![Andencento Session](https://repl.it/badge/github/Andencento/Andencento)](https://replit.com/@madboy482/Session-Andencento/)


## VC Session
- [![Run on Repl.it](https://repl.it/badge/github/Andencento/Andencentovcbot)](https://replit.com/@dashezup/generate-pyrogram-session-string)
## Project reopened thamks to heroku
1 change: 1 addition & 0 deletions assistant/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from plugins import *
96 changes: 96 additions & 0 deletions assistant/alive.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
"""
Made by GODBOYX
"""
import os
import re

from telethon import Button, custom, events
from userbot import YOUR_NAME as ALIVE_NAME
from userbot import asst

ver = "0.2"

DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else "Unknown"
PM_IMG = (
os.environ.get("ALIVE_PIC", None)
or "https://telegra.ph/file/3d208ecf6d0ea9389d8f8.jpg"
)
pm_caption = "➥ αη∂єη¢єηтσ: ONLINE\n\n"
pm_caption += "➥ ѕуѕтємѕ ѕтαтѕ\n"
pm_caption += "➥ тєℓєтнση νєяѕιση: 1.23.0 \n"
pm_caption += "➥ ρутнση: 3.9.6 \n"
pm_caption += "➥ ∂αтαвαѕє ѕтαтυѕ: Functional\n"
pm_caption += "➥ ¢υяяєηт вяαη¢н : Andencento\n"
pm_caption += f"➥ νєяѕιση : {ver}\n"
pm_caption += f"➥ му вσѕѕ : {DEFAULTUSER} \n"
pm_caption += f"➥ ℓι¢єηѕє : [𝘎𝘕𝘜 𝘈𝘧𝘧𝘦𝘳𝘰 𝘎𝘦𝘯𝘦𝘳𝘢𝘭 𝘗𝘶𝘣𝘭𝘪𝘤 𝘓𝘪𝘤𝘦𝘯𝘴𝘦 𝘷3.0](https://github.com/Andencento/Andencento/blob/Andencento/LICENSE/)\n"
pm_caption += (
"➥ ¢σρуяιgнт : By [𝘛𝘦𝘢𝘮 𝘈𝘯𝘥𝘦𝘯𝘤𝘦𝘯𝘵𝘰](https://github.com/Andencento/Andencento/)\n"
)
btn = [custom.Button.inline("<<Deploy>>", data="demploy")]
btn += [custom.Button.inline("<<String Session>>", data="stling")]
btn += [Button.url("<<Repo>>", "https://github.com/Andencento/Andencento")]


@asst.on(events.NewMessage(pattern=("/alive")))
async def _(event):
await event.get_chat()
await event.delete()
await asst.send_file(event.chat_id, PM_IMG, caption=pm_caption, buttons=btn)


@asst.on(events.callbackquery.CallbackQuery(data=re.compile(b"demploy")))
async def demploy(event):
bottm = [
[
Button.url(
"<Railway Deploy>",
"https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2FAndencento%2FRailway-Deploy&plugins=postgresql&envs=YOUR_NAME%2CTZ%2CALIVE_PIC%2CPMPERMIT_PIC%2CPM_LOG_ID%2CHANDLER%2CBUTTONS_IN_HELP%2CTEMP_DOWNLOAD_DIRECTORY%2CPM_PERMIT%2CAPP_ID%2CAPI_HASH%2CLOGGER_ID%2CANDENCENTO_SESSION%2CBOT_TOKEN%2CTAG_LOGGER%2CBOT_USERNAME%2CSUDO_USERS&optionalEnvs=PM_LOG_ID%2CTAG_LOGGER%2CSUDO_USERS&YOUR_NAMEDesc=This+is+Alive+Name+So+Fill+it+Properly+It+is+Mandatory&TZDesc=Time+Zone+of+a+country+Dont+Edit+untill+you+want+diffrent+time+zone&ALIVE_PICDesc=Alive+Pic+Paste+Telegraph+Link&PMPERMIT_PICDesc=Pmpermit+Pic&PM_LOG_IDDesc=Fill+your+private+Channel+ID+if+you+want+to+Log+PM+messages.&HANDLERDesc=Your+command+handler.+Default+is+%27+.+%27+%28dot%29.&BUTTONS_IN_HELPDesc=No.of+buttons+to+display+in+help+menu.&TEMP_DOWNLOAD_DIRECTORYDesc=Temp+Storage+&PM_PERMITDesc=Defualt+is+Enable+if+You+Want+To+Disable+PMPERMIT+type+Disable&APP_IDDesc=Get+this+value+from+my.telegram.org+6+Digits+Value&API_HASHDesc=Get+this+value+from+my.telegram.org&LOGGER_IDDesc=Logger+Id+Starts+from+-100&ANDENCENTO_SESSIONDesc=Get+this+value+by+using+https%3A%2F%2Freplit.com%2F%40madboy482%2FSession-Andencento+and+fill+this+is+your+String+Session.&BOT_TOKENDesc=Make+a+bot+from+%40BotFather+and+paste+the+bot+token+here.&TAG_LOGGERDesc=Make+a+group+and+add+rose.+Do+%2Fid+and+paste+the+chat+id+here.+Make+Sure+id+Should+Start+From+-100&BOT_USERNAMEDesc=from+%40BotFather+Get+Bot+username+which+you+filled+token+and+paste+the+username+here.&SUDO_USERSDesc=Userid+of+user+to+grant+sudo+access.+Add+multiple+sudo+users+by+giving+a+space+between+userids&TZDefault=Asia%2FKolkata&HANDLERDefault=.&BUTTONS_IN_HELPDefault=7&TEMP_DOWNLOAD_DIRECTORYDefault=.%2Fuserbot%2Fcache&PM_PERMITDefault=ENABLE",
)
],
[
Button.url(
"<Heroku Deploy>",
"https://heroku.com/deploy?template=https://github.com/Andencento/Deploy-Andencento",
)
],
]

bottm += [
Button.url(
"<VC Deploy>",
"http://heroku.com/deploy?template=https://github.com/Andencento/Andencento/tree/vc",
)
]
bottm += [custom.Button.inline("<<Back", data="bamck")]

await event.edit("Welcome to Deployment Section", buttons=bottm)


@asst.on(events.callbackquery.CallbackQuery(data=re.compile(b"bamck")))
async def bamck(event):
await event.edit(pm_caption, buttons=btn)


@asst.on(events.callbackquery.CallbackQuery(data=re.compile(b"stling")))
async def stling(event):
batan = [
Button.url(
"<Andencento String Session>",
"https://replit.com/@madboy482/Session-Andencento/",
)
]
batan += [
Button.url(
"<VC String Session>",
"https://replit.com/@dashezup/generate-pyrogram-session-string",
)
]
batan += [custom.Button.inline("<<Back", data="bomk")]

await event.edit("Welcome to String Session Section ", buttons=batan)


@asst.on(events.callbackquery.CallbackQuery(data=re.compile(b"bomk")))
async def bamck(event):
await event.edit(pm_caption, buttons=btn)
Loading