2020-07-01 09:10:58 -04:00
2020-04-15 14:56:58 -04:00
2020-07-01 09:10:58 -04:00
2020-04-07 17:17:12 -04:00
2020-04-13 22:42:40 -04:00
2018-03-16 09:27:38 -04:00
2019-11-02 20:32:14 -04:00
2020-07-01 09:10:58 -04:00
2019-11-14 13:46:43 -05:00

*** This project lives @ https://gitlab.rickelobe.com/Bots/R0b3BOT ***

pipeline status

Description

This is R0b3's Discord Bot. It's creation was basically a challenge posed a coworker who said "Hey, you can write Discord Bots in Python... Make one to display your 3D printer status!". But as time went on, a few more features were added. Aside from being able to query and monitor your 3D printer, it can also fetch the current status of a service monitroed by your StatPing instance. In addition to just fetching the current status of a service, you can subscribe to receive alerts for any StatPing service state change. All subscriptions are persistent and will remain even after the bot is restarted.

Features

  • Query & Monitor 3D Printer Status using $printstat command(Requires that your printer is connected to Octoprint)
  • Query serivces states on StatPing using the $spstatus
  • Use $spsub to "Subscribe" to service change alerts for StatPing services. Subscribed alerts are persistent and are not lost on bot restart.
    Example service alert
  • Play a selection of sound clips to voice channel members using the various commands ($torololo, $oops, $promoted, etc)

Commands

Screenshot of $help

Requirements

  1. discord.py version 1.2.4 or greater
    pip install discord.py

Configuration

  1. Create a Discord Bot via Developer tools
  2. Enter configuration parameters in bot_config.conf.example
  3. Enter OctoPrint config parameters in octoapi.conf.example
  4. Rename *.example files as *.conf
S
Description
A Discord Bot that can be used to monitor & query the status of your 3D printer via Octoprint, among other things.
Readme MIT
51 MiB
0 Stars 1 Watchers 0 Forks
2022-12-10 00:37:04 +00:00
Languages
Python 100%