Advertisement
aus_leo008

OTP BOT

Jul 25th, 2023
2,680
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Download ngrok and run ngrok.exe http 5000
  2. Download python and Install
  3. Unzip Your Bot files
  4.  
  5. pip3 install discord
  6. pip install Flask
  7. pip install discord-py-slash-command
  8. pip install twilio
  9.  
  10. # First create a discord group
  11. Go to your discord developer page  https://discord.com/developers/applications/
  12. Click "New Application", create application
  13. Click "OAuth2"
  14. Click "URL Generator"**
  15.  
  16.  # OAuth2 URL Generator Page
  17.  
  18.  # SCOPE
  19.  Check "Bot"
  20.  Check "applications.commands"
  21.  
  22.  # BOT PERMISSIONS
  23.  Check All Permissions
  24.  Dont check "Administrator"
  25.  
  26.  # GENERATED URL
  27.  Copy the URL
  28.  Open new Tab in your browser where you logged your discord
  29.  Paste the URL and follow it, authorize the Bot in your group.
  30.  Go back to to your discord developer Tab
  31.  Left side, click "Bot" and click "add" Bot
  32.  Left side, click "Bot" and click "add" Bot
  33.  Click "Reset Token" and click "Copy" to copy token
  34.  Open "bot.py" add bot_token
  35.  Go to discord server/group
  36.  Left side, right-click on the server and click "copy ID"
  37.  Go to "bot.py" add server_id
  38.  
  39.  # Twilio Details
  40.  Go to Twilio Account Copy "Account SID"
  41.  Go to "bot.py" add account_sid
  42.  Go to Twilio Account again Copy "Auth Token"
  43.  Go to "bot.py" add auth_token
  44.  Go to Twilio Account again Copy "Your Twilio Phone Number"
  45.  Go to "bot.py" add Twilio Phone Number (e.g "+1987654321")
  46.  Go to terminal where you run ngron, copy your https link/url
  47.  Go to "bot.py" add ngrok_url
  48.  Save bot.py, close file and run bot.py in python
  49.  Run talker.py in python
  50.  
  51.  # Start Calling
  52.  Go to your server and type command: "/dial" and fill your info.
  53.  E.G: /dial cell_phone:+1987654321 otp_digits:6 client_name:Smith company_name:PayPal
  54.  
  55.  # Error
  56.  DM or Join Channels
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement