Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 7666

Bot OTP Telegram Spain

by Mieles04 - 01 March, 2023 - 01:58 AM
This post is by a banned member (Mieles04) - Unhide
Mieles04  
Registered
8
Posts
1
Threads
1 Year of service
#1
(This post was last modified: 01 March, 2023 - 12:31 PM by Mieles04. Edited 5 times in total.)
script telegram otp python en español
solo tienes que tener cuenta twilio
ejecutar estos comandos en tu vps y crear tu bot de telegram
cambiar los datos de twilio la account_sid, account_token, twilionumber, y twilionumbersms en el archivo mainn.py
cambiar los datos de tu bot y ngrok en el archivo cred.py

coamandos:
mkdir bot
cd /bot
sube los archivos del zip
apt update
apt npm install
npm start
apt install python3
apt-get -y install python3-pip
pip install -r requierements.txt

en el archivo createadmin.py modifica donde pone (aqui tu user id telegram) pon tu id user de telegram para poder ser admin del bot y controlarlo

ejecutar:

python createadmin.py
python dbase.py
mainn.py


y a funcionar en tu propio bot

DancingClown DancingClown DancingClown DancingClown
Smart Smart Smart Smart Smart



Show ContentSpoiler:



para ajustar el tiempo de espera antes de que el bot cuelge se pone este parametro en el mainn.py

gather = Gather(action='/gatherappl/'+userid, timeout=6000, max_speech_time=1, finishOnKey='#', input="dtmf")

si quieres añadir para que detecte los digitos maximos que tu le ajustes le añades este otro a esta tira

num_digits=6,     donde el 6 pones los que tu quieras, respeta los espacios y comas al ponerlos
This post is by a banned member (Danny2252) - Unhide
This post is by a banned member (vitals) - Unhide
vitals  
Registered
24
Posts
0
Threads
2 Years of service
#3
liked. thanks
This post is by a banned member (s0meh00ks) - Unhide
s0meh00ks  
Contributor
210
Posts
58
Threads
3 Years of service
#4
pillao k vas presoooooo
This post is by a banned member (PartierALT) - Unhide
This post is by a banned member (dfgdfgdfg123) - Unhide
11
Posts
0
Threads
1 Year of service
#6
Graciass,
This post is by a banned member (sangeeth) - Unhide
sangeeth  
Registered
131
Posts
0
Threads
1 Year of service
#7
thanks for shaing
This post is by a banned member (thecreepo1) - Unhide
39
Posts
0
Threads
1 Year of service
#8
hh

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 12 Guest(s)