Repository navigation
Conversation
|
@devouted, how does this plugin differ from the existing ones, Octorant and DiscordRemote? |
Good question — thanks for pointing to both. vs. DiscordRemote: DiscordRemote is a full Discord bot (requires a bot vs. Octorant: this is the closer one — both use a webhook and send a
To be fair, Octorant currently has things this plugin does not, such as |
|
The LLM you used to reply hallucinated, because it didn't actually look at the code or the features of the Octorant plugin. This is why I hate AI slop. Going point by point:
This is false. Every Octorant event has a "Display as Embed" option, with per-event colors and structured fields: https://github.com/bchanudet/OctoPrint-Octorant/blob/4b262ab16d19d0dd73b1cb6e062285649818d9b1/octoprint_octorant/templates/messages_prints.jinja2#L33-L38
Octorant also handles It's true that it doesn't include the serial port and baudrate in the message. That's a small difference, though, and it would make more sense to propose it as a PR to Octorant than to publish a whole new plugin for it.
This is false. Octorant also has a configurable throttle: https://github.com/bchanudet/OctoPrint-Octorant/blob/4b262ab16d19d0dd73b1cb6e062285649818d9b1/README.md?plain=1#L75
On architecture, I actually find Octorant more mature. It sends messages from a dedicated thread with a queue, while your plugin does everything synchronously inside
For these reasons I'm rejecting this PR as a duplicate of an existing plugin. I'd really encourage you to contribute these improvements to Octorant instead, so users get them without having to choose between two nearly identical plugins. One last request: please reply to reviewers in your own words. Answers that read as AI-generated and aren't checked against the code make our job much harder. |
What is the name of your plugin?
OctoPrint-DiscordNotifier (plugin identifier:
discord_notifier)What does your plugin do?
It sends OctoPrint print notifications directly to a Discord channel via a
Discord webhook — no intermediate relay script or bot required. You configure
the webhook URL in the plugin settings and choose, via checkboxes, which events
trigger a notification (print started/done/failed, paused/resumed/cancelled,
printer connected/disconnected). Notifications can optionally attach a snapshot
from the webcam configured in OctoPrint, and a configurable throttle prevents
bursts of identical notifications. A "Send test" button lets you verify the
configuration.
Where can we find the source code of your plugin?
https://github.com/devouted/OctoPrint-DiscordNotifier
Was any kind of genAI (ChatGPT, Copilot etc) involved in creating this plugin?
Yes. The plugin was developed with the help of AI (Kiro). It is marked with the
ai-developedattribute in the registration file. As the maintainer Iunderstand how it works and am responsible for maintaining it going forward.
Is your plugin commercial in nature?
No.
Does your plugin rely on some cloud services?
It only talks to the Discord webhook URL that the user configures (Discord's
HTTPS webhook endpoint). It does not use any other cloud service, contains no
tracking, and if Discord is unreachable it fails gracefully without disrupting
OctoPrint.
Further notes
The plugin targets OctoPrint 1.9.0+ (uses the webcam system introduced in 1.9)
and Python 3. The webhook URL is stored as a sensitive setting and the test API
endpoint is admin-only.