fraschetti / Octoslack

OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
MIT License
74 stars 34 forks source link

Add Local IP Address to Replacement Parameters #27

Closed trb0023 closed 6 years ago

trb0023 commented 6 years ago

With my OctoPrint install, I don't have control of the router OctoPrint connects to and it won't let me set a static IP. With this change, the slack bot can output the current local IP address of the OctoPrint server.

fraschetti commented 6 years ago

The code doesn't appear to break anything so I'll merge it in. There are a number of change in the works so I'll be reverting the build number (another quick submission as opposed to a cherry pick) until the next release (soon). I understand the intent of the logic and will test it once I pull the changes locally.