Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spectrixdev/discord-phone-call-bot-ifttt
π€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) π
https://github.com/spectrixdev/discord-phone-call-bot-ifttt
bot discord discord-api discord-bot discordapp ifttt phone phone-bot phonecall python
Last synced: 11 days ago
JSON representation
π€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) π
- Host: GitHub
- URL: https://github.com/spectrixdev/discord-phone-call-bot-ifttt
- Owner: SpectrixDev
- Created: 2018-09-30T18:57:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T15:51:48.000Z (7 months ago)
- Last Synced: 2024-10-11T03:20:00.125Z (28 days ago)
- Topics: bot, discord, discord-api, discord-bot, discordapp, ifttt, phone, phone-bot, phonecall, python
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 21
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# β Discord Phone Call Bot with IFTTT
[![discord.py](https://img.shields.io/badge/discord-py-red.svg)](https://github.com/Rapptz/discord.py/tree/rewrite)
[![python 3.6](https://img.shields.io/badge/python-3.6-red.svg)](https://www.python.org/)> π€π 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)](https://ifttt.com/voip_calls) applet**, which basically means it uses the [IFTTT](https://ifttt.com/about) app.
## π‘ Setup
- This program was made with *Python 3.6*. Newever versions should work, but use at your own risk.
- Ensure you have [IFTTT](https://ifttt.com/about), 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](https://discordapp.com/developers/applications/). You'll need the bot token which can be found in the *bot* section of your application
#### β Configuiring IFTTT
Go to [IFTTT](https://ifttt.com/create) 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):
```json
"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](https://discord.gg/Fb8wZsn)
If you have any problems open an issue, I'll gladly help.
If you'd like to contribute, go ahead!