bchanudet / OctoPrint-Octorant

Discord plugin for OctoPrint
MIT License
26 stars 14 forks source link

Feature Suggestion: IP address substitution #20

Closed cameroncros closed 1 year ago

cameroncros commented 6 years ago

It would be cool if the messages could contain the IP address of the server.

For example:

bchanudet commented 6 years ago

Hello and thanks for your feedback.

I will look if I can quickly grab the IP of the Octoprint Instance and offer it as a new variable that can be used in the messages.

Stay tuned :)

cameroncros commented 6 years ago

Have a look at: https://github.com/cameroncros/OctoPrint-DiscordRemote/commit/383b56786dcc6a460bd469fcef128ae7ea705312 Maybe you can cherry-pick this change? Its not perfect, as it doesnt deal with port forwarding, but might be useful to start with.

noxin1 commented 5 years ago

+1 for this feature. I have a few octopis across the network and I keep loosing them in the network.