This is a node.js discord bot that can create a realtime updated embed with information of your phone.
We achieve this using a express.js http server that listen to requests from our phone and updates the embed with that info
- 💻 A pc/server where we can allow external connections
- 📱 An Android phone
- 💡 Basic network knowledge
-
Clone the repository
git clone https://github.com/TheRealCrazyfuy/PhoneStatusToDiscord -
Copy/rename
.env-exampleto.env -
Configure the
.envfile with your bot token, name, phone model and set the port you want to use
Warning
You will need to allow external connections to the port you set
-
Install all the modules
npm install -
Set up the bot slash commands
node deployCommands.js -
Start the bot
node index.js
Once the bot is running, we must add it to our server and execute the /createembed command on the channel we want the embed
- Head to the Play Store and download Automate
- Open the app and agree to the warning
- Download the backup file here
- Press on the 3 top-left lines to open the menu, go to settings and import the backup
- Once we have the workloads imported we can enter them and edit their http request block to point to our server ip and port
Warning
If you enabled http authentication you will need to add it inside the request block
- We start all of the workloads, allowing all the permissions asked by the program
If you did everything right, the bot should be working now
If you like this project, please give it a ⭐
and if you find any bug raise an issue, I will look into it.
For discord support you can join my server here











