Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A salty and opinionated Slack bot. Written in Perl, no less!

License

NotificationsYou must be signed in to change notification settings

lordfeck/docbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Your friendly Slack assistant. Written in very neat Perl!

Everything said so far has been a lie. The bot isn't even a doctor, despite preferring to be called Dr. Octobotapus.

Requires the following CPAN modules:

  • Slack::RTM::Bot
  • String::Random
  • Time::Piece

Edit the "consts and strings" section at the top ofdocbot.pl to configure the DOCBOT.

$CHAN: The slack channel DOCBOT will join.

$LOGFILE: Where the bot will log write a log of its conversations.

$BOTNAME: How the bot identifies itself.

$STRIP: Regex of characters to exclude in log files (avoid Perl injections)

$SLKTOK: Very important! Your slack API token should be set here.

@RESPONSES: Set the responses in the following format: RESPONSE, REPLY inside a Perl list. (TODO: make this a hash)

About

A salty and opinionated Slack bot. Written in Perl, no less!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp