Crate serenity_ctrlc

Source
Expand description

Ctrl+C handling for serenity bots.

Structs§

Disconnector
A procedure that disconnects the bot.

Enums§

Error
Ctrl-C error.

Traits§

Ext
Provides extension methods for Client.

Functions§

ctrlc
Register a Ctrl+C handler that will disconnect the bot.
ctrlc_with
Register a Ctrl+C handler that can disconnect the bot.