My phone is getting old, and its storage capacity is MAXXED.
What it does
Connects Discord with SMS using a discord bot with commands.
How we built it
We imported these modules
- Twilio API (to communicate via SMS)
- Pycord (framework for discord bot)
- SQLAlchemy (library for interacting with a database)
Challenges we ran into
The webhooks from Twilio (upon receiving a SMS message) were not compatible with Discord's webhook system, and with Flask not being asynchronous, we had to resort to a external service to catch, send and transform the webhooks in the middle. Once we added our second database table, our SQL queries stopped working. It took us a while to figure out that SQLAlchemy only accepts one query at a time.
Accomplishments that we're proud of
The effectiveness and user-friendliness of the slash commands.
What we learned
We learned how to use the Twilio API, as well as Pycord. We also learned to overcome THE crushing hardship of something going wrong, and not having the foggiest idea of what it is
What's next for Discord Bridge
Potential Twilio WhatsApp API implementation