Skip to content

講義等でSlackの特定のチャンネルに来たメッセージを、ニ○ニコ風に流すアプリ

License

Notifications You must be signed in to change notification settings

tnct-3j/old-clastream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clastream

講義等でSlackの特定のチャンネルに来たメッセージを、ニ○ニコ風に流すアプリ

Environment

  • Linux

Usage

Installation

1. Install Node.js

Node.jsこのサイトを見てインストールしてください.

2. Clone

以下のコマンドを実行することで,このリポジトリをクローンすることができます.

git clone https://github.com/akakou/clastream/

3. Set Config

/config.jsをエディタ等で編集します. 何も編集してない場合,以下のようなコードが保存されていると思います.

/* config.js
Set Config In This Source */

var config = {
  channel_id: 'channel id',
  bots_token: 'bots token'
}

module.exports = config;

ここの'channel id'の部分にSlackのchannelのidを,'bots token'の部分にIncoming Webhooksのtokenを張ってください.

Run Server

あなたのPCにNode.jsが入っていれば,以下のコマンドで実行できます.

node index.js

About

講義等でSlackの特定のチャンネルに来たメッセージを、ニ○ニコ風に流すアプリ

Resources

License

Stars

Watchers

Forks

Packages

No packages published