huskies: merge 858
This commit is contained in:
@@ -31,6 +31,7 @@ pub struct BotShutdownNotifier {
|
||||
}
|
||||
|
||||
impl BotShutdownNotifier {
|
||||
/// Create a notifier that will send shutdown/startup messages via `transport` to the given `channels`.
|
||||
pub fn new(transport: Arc<dyn ChatTransport>, channels: Vec<String>, bot_name: String) -> Self {
|
||||
Self {
|
||||
transport,
|
||||
|
||||
Reference in New Issue
Block a user