Skip to content

Experimental Discord to iMessage forwarding bot using async branch of pypush

Notifications You must be signed in to change notification settings

mtran-code/mBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mBot

Experimental Discord to iMessage forwarding bot using async branch of pypush

Setup

  1. Run setup.sh to install virtual environment (or install dependencies manually with requirements.txt)
  2. Create constants.py and config.json in repo root
  3. Run main.py

config.json

This should be created by pypush or automatically generated once you run main.py and input your Apple credentials. See pypush repo for more info.

constants.py structure:

BOT_TOKEN = [Discord bot token]
LOGGING = [True/False]

# Name of Discord channel to watch for messages in:
DESIGN_CHANNEL = [channel name]

# Name of Discord role to watch for mentions of:
DESIGN_ROLE = [role name]

# iMessage numbers to send messages to, a list of strings:
#   - phone format "tel:+1XXXXXXXXXX"
#   - email format "mailto:[email protected]"
IMSG_NUMBERS = [
    "number1",
    "number2",
    "etc.",
]

About

Experimental Discord to iMessage forwarding bot using async branch of pypush

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages