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


Advertisement

Description

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

Property Value
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

Package Version Architecture Repository
perl-AnySan-Provider-Slack - - -

Requires

Name Value
/usr/share/perl5 -
perl(AnyEvent/HTTP.pm) -
perl(AnyEvent/SlackRTM.pm) -
perl(AnySan.pm) -
perl(AnySan/Provider.pm) -
perl(AnySan/Receive.pm) -
perl(Encode.pm) -
perl(HTTP/Request/Common.pm) -
perl(JSON.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

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

Download

Type URL
Binary Package perl-AnySan-Provider-Slack-0.05-alt1.noarch.rpm
Source Package perl-AnySan-Provider-Slack-0.05-alt1.src.rpm

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

Path
/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

See Also

Package Description
perl-AozoraBunko-Checkerkun-0.12-alt1.noarch.rpm perl module AozoraBunko-Checkerkun
perl-AozoraBunko-Tools-Checkerkun-0.06-alt1.noarch.rpm perl module AozoraBunko-Tools-Checkerkun
perl-Apache-Access-Headers-0.01-alt1.noarch.rpm perl module Apache-Access-Headers
perl-Apache-Action-0.02-alt1.noarch.rpm perl module Apache-Action
perl-Apache-AddHostPath-0.02-alt1.noarch.rpm perl module Apache-AddHostPath
perl-Apache-Admin-Config-0.95-alt1.noarch.rpm perl module Apache-Admin-Config
perl-Apache-Album-0.96-alt1.noarch.rpm perl module Apache-Album
perl-Apache-AliasList-0.08-alt1.noarch.rpm perl module Apache-AliasList
perl-Apache-AntiSpam-0.05-alt1.noarch.rpm perl module Apache-AntiSpam
perl-Apache-AntiSpam-JavaScript-0.03-alt1.noarch.rpm perl module Apache-AntiSpam-JavaScript
perl-Apache-AntiSpam-SpamTrap-0.01-alt1.noarch.rpm perl module Apache-AntiSpam-SpamTrap
perl-Apache-Auth-AuthMemCookie-0.04-alt1.noarch.rpm mod_perl replacement for Apache2 authmemcookie authentication module
perl-Apache-Auth-Subrequest-0.0.1-alt1.noarch.rpm Allow only if a Subrequest !
perl-Apache-Auth-UserDB-0.120-alt1.noarch.rpm Manipulation of Apache user authentication databases
perl-Apache-AuthExpire-0.36-alt1.noarch.rpm perl module Apache-AuthExpire
Advertisement
Advertisement