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



 7680

Bot OTP Telegram Spain

by Mieles04 - 01 March, 2023 - 01:58 AM
This post is by a banned member (Eithmacer18) - Unhide
23
Posts
0
Threads
#41
thanks
This post is by a banned member (Ridaach01) - Unhide
Ridaach01  
Registered
18
Posts
0
Threads
#42
(01 March, 2023 - 01:58 AM)Mieles04 Wrote: Show More
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
Tnx you
This post is by a banned member (adam099) - Unhide
This post is by a banned member (NumAtomi) - Unhide
NumAtomi  
Registered
1
Posts
0
Threads
#44
i will check this
This post is by a banned member (M5distroer1011) - Unhide
107
Posts
0
Threads
5 Years of service
#45
thank you
This post is by a banned member (AdriSnchz) - Unhide
AdriSnchz  
Registered
43
Posts
0
Threads
#46
Thank you
This post is by a banned member (f34h78fwyed) - Unhide
38
Posts
0
Threads
#47
wow
This post is by a banned member (WITHGUNS) - Unhide
WITHGUNS  
Registered
82
Posts
0
Threads
#48
(02 March, 2023 - 02:39 PM)dfgdfgdfg123 Wrote: Show More
Graciass,

eqweqweqwqew

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: 2 Guest(s)