PearlBot

command module
v0.0.0-...-2d72827 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0 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

PearlBot

Automatic stasis activation from Discord

Features

  • Authentication via discord message
  • Stores and manages credentials
  • Automatically refreshes tokens when needed
  • Multiple accounts support
  • Multiple "pearl rooms" support (even in same channel)
  • Reliable activation
  • Config hotsave/hotload

Setup

Requires Go 1.18

git clone https://github.com/maxsupermanhd/PearlBot.git
cd PearlBot
go build
./PearlBot

Feel free to wrap it into service or run it in tmux/screen

Commands

/activate <chamber> [room] - refreshes required tokens, logs in and activates stasis chamber
/auth check - displays overview of all stored credentials/tokens
/auth new [room] - initiates Microsoft device login flow, writes down credentials/tokens to a file
/auth refresh [room] - initiates force token refresh
/config save/load - loads or saves configuration to file
/help - in case you have amnesia
/rooms - displays registered rooms overview

License

GNU Affero General Public License v3.0

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