perl-AnySan-Provider-Slack-0.05-alt1.noarch.rpm


Advertisement

Description

perl-AnySan-Provider-Slack - AnySan provider for Slack

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnySan-Provider-Slack
Package version: 0.05
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 25.65 KB
Download size: 25.65 KB
Official Mirror: ftp.altlinux.org
use AnySan; use AnySan::Provider::Slack; my $slack = slack( token => 'YOUR SLACK API TOKEN', channels => { 'general' => {}, }, as_user => 0, # post messages as bot (default) subtypes => [], # ignore all subtypes (default) ); $slack->send_message('slack message', channel => 'C024BE91L'); AnySan->register_listener( slack => { event => 'message', cb => sub { my $receive = shift; return unless $receive->message; warn $receive->message; warn $receive->attribute->{subtype}; $receive->send_reply('hogehoge'); }, }, );

Alternatives

Provides

  • perl(AnySan/Provider/Slack.pm) = 0.050
  • perl-AnySan-Provider-Slack = 0.05-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnySan-Provider-Slack rpm package:
      # sudo apt-get install perl-AnySan-Provider-Slack

    Files

    • /usr/share/doc/perl-AnySan-Provider-Slack-0.05/Changes
    • /usr/share/doc/perl-AnySan-Provider-Slack-0.05/LICENSE
    • /usr/share/doc/perl-AnySan-Provider-Slack-0.05/README.md
    • /usr/share/perl5/AnySan/
    • /usr/share/perl5/AnySan/Provider/Slack.pm
    Advertisement
    Advertisement