We're pleased to officially present Discord Todd, our bot that delivers your miner health notifications directly to a shared Discord channel or private DM!
How to Send an Alert to Discord
Once you have configured a trigger, in the "What to Do" section, select Send Alert and set the destination to Discord.
Setup Requirements
You'll also need to fetch your Foreman API credentials. Those can be found by clicking through from your User Menu > My Account > API Information section.
Receiving Alerts via Direct Message
Once your triggers are configured to send alerts to Discord, join our Discord server. While you're there, feel free to introduce yourself to our community!
On our server, you'll see Discord Todd. He's always online:
To begin the setup process, in a private message, send him fm!help
You'll need to register your Discord account with Todd. To do that, send: fm!start
Send fm!register and enter your client ID and API key that you obtained in the Getting Started steps above. As an example, assuming a client ID of 1024 and an API key of 39bffdea-2169-46eb-9407-adf8ba678c3f, I'd enter fm!register 1024 39bffdea-2169-46eb-9407-adf8ba678c3f.
From here on out, depending on the triggers created in Foreman, Todd will let you know when things happen:
To stop the Discord alerting, send him a fm!forget.
Receiving Alerts in your Server
If you'd like for your alerts to be sent to a shared or private Discord server, you can invite Discord Todd by clicking here. After you grant him access, he'll automatically join:
To begin the setup process, in a channel that Todd can read, send fm!help:
You'll need to register your Discord account with Todd. To do that, send fm!start
Send fm!register and enter in your client ID and API key that you obtained in the Getting Started steps above. As an example, assuming a client ID of 1024 and an API key of 39bffdea-2169-46eb-9407-adf8ba678c3f, I'd enter fm!register 1024 39bffdea-2169-46eb-9407-adf8ba678c3f
From here on out, depending on the triggers created in Foreman, Todd will let you know when things happen:
To stop the Discord alerting, send an fm!forget. You can also kick him from your server if he's no longer welcome.
Comments
0 comments
Article is closed for comments.