frierenbot

command module
v0.0.0-...-baeef54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Frieren Bot

Frieren

Checks machine's temperature via sensors(1) and sends a message to a Discord channel with the sensors(1) and top(1) output.

This is not a daemon: the program starts, do what it have to and leaves.

Usage

Spawn the program with the environment variable DISCORD_TOKEN set to the appropriate Discord bot token. Pass the channel ID (the bot must be a member of the guild) via the -channelID option and the threshold temperature (in Celsius[1][2][3]) via the -limit option.

[1] - Obligatory XKCD

[2] - Another obligatory XKCD

[3] - Yet another obligatory XKCD

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL