Skip to content

πŸ€–A discord bot that can call your actual phone through Discord using IFTTT and Python. Easy to set up and customize. Uses IFTT's VOIP applet (not your actual phone number) πŸ“ž

SpectrixDev/discord-phone-call-bot-IFTTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

☎ Discord Phone Call Bot with IFTTT

discord.py python 3.6

πŸ€–πŸ“ž A Discord Bot that calls your phone through a Discord command using IFTTT and Python. Simple to configure and tailor to your needs. Utilizes IFTTT's VOIP applet, which doesn't involve your personal phone number.

β„Ή Disclaimers:

  1. This is not a serious project, so you may encounter bugs. If you find any, or if you require help, please open up an issue on this repo.

  2. This does not phone your phone through an actual phone number. It uses IFTTT'S VOIP (click here to read more) applet, which basically means it uses the IFTTT app.

πŸ’‘ Setup

  • This program was made with Python 3.6. Newever versions should work, but use at your own risk.
  • Ensure you have IFTTT, which needs to be installed on your mobile device

βœ… Install the requirements

pip install -r requirements.txt

Also, make sure you have a Discord Bot, you can make one here. You'll need the bot token which can be found in the bot section of your application

βš™ Configuiring IFTTT

Go to IFTTT and create a new Applet.

For the first part, make a webhook. Name the event name whatever you want, but remember it.

For the second part, make a VoIP calls thing. Important: Make the Voice message field (what the robot voice calling you will say) the following:

{{Value1}} {{Value2}}

Next, go to https://ifttt.com/services/maker_webhooks/settings and grab the token in the URL section (will look something like https://maker.ifttt.com/use/**zvicdsCSDdSuDXkODmKllkOWZmwhatever** (only the gibberish part in bold)

Now go to the config.json file and fill in the required information. Here's what each piece means (found in config.json.example):

"prefix": String: Used to "talk to" your bot. You can also mention the bot by default to run commands, but you also need a prefix.
"callCoolDown": Integer: Set a cooldown between how long users can use the call command. I recommend 30 seconds or more (this is per user)
"maxMsgLength": Integer: The max amount of characters for the message to be read aloud over the phone call. Should be less than 2000, I recommend 250
"eventName": String: The event name from your webhook
"IFTTTkey": String: The IFTTT token/key that you got from the webhook settings URL thingy
"discordToken": String: Your bot token from the Discord developer portal in the bot section (NOT client secret/client ID)

πŸŽ‰ After filling in the information and saving, running the bot should work!

🀝 Contributing

⭐Please star the repo, or even join my Discord server

If you have any problems open an issue, I'll gladly help.

If you'd like to contribute, go ahead!

About

πŸ€–A discord bot that can call your actual phone through Discord using IFTTT and Python. Easy to set up and customize. Uses IFTT's VOIP applet (not your actual phone number) πŸ“ž

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages