Skip to content

Commit

Permalink
設定ファイルを更新した
Browse files Browse the repository at this point in the history
refs #7

Include を利用する例に変更した
  • Loading branch information
ochaochaocha3 committed Mar 30, 2015
1 parent c0b2c29 commit 51832cd
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 36 deletions.
25 changes: 25 additions & 0 deletions config/cre_twitter_citation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Twitter @cre_ne_jp 引用プラグインの設定
CreTwitterCitation:
# タイムライン監視の間隔(秒)
# あまり短いとアクセス規制になるので注意
# 60 以上を推奨
CheckInterval: 300

# チェックごとに取得するツイートの最大数
MaxTweetsPerCheck: 3

# NOTICE を行うチャンネルの一覧
ChannelsToSend:
#- '#cre'

# Twitter アカウント関連
Twitter:
# Twitter ID(@〜)
ID: cre_ne_jp

# API キー関連
# https://apps.twitter.com/ で確認可能
APIKey: ''
APISecret: ''
AccessToken: ''
AccessTokenSecret: ''
4 changes: 4 additions & 0 deletions config/kick_back.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# KickBack プラグインの設定
KickBack:
# KICK された後、再 JOIN 時に発言するメッセージ
JoinMessage: '蹴らないでくださいっ'
5 changes: 5 additions & 0 deletions config/part.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 退出プラグインの設定
Part:
# 退出時のメッセージ
# (IRCプロトコルにおける)PART コマンドの引数として使われます。
PartMessage: 'ご利用ありがとうございました'
51 changes: 15 additions & 36 deletions config/rgrb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ IRCBot:
Nick: rgrb_cinch

# 接続時のユーザー名
User: rgrb_cinch
User: rgrb

# リアルネーム
RealName: 汎用ダイスボット RGRB
RealName: 汎用ボット RGRB

# JOIN するチャンネルの一覧
Channels:
Expand All @@ -28,42 +28,21 @@ IRCBot:
# 使用するプラグインを列挙する。大文字小文字を区別するので注意
Plugins:
- DiceRoll
- RandomGenerator
- Trpg::Detatoko
- Keyword
- RandomGenerator
- OnlineSessionSearch
- CreTwitterCitation
- CreBotHelp
- ServerConnectionReport
- OnlineSessionSearch

# Twitter @cre_ne_jp 引用プラグインの設定
CreTwitterCitation:
# タイムライン監視の間隔(秒)
# あまり短いとアクセス規制になるので注意
# 60 以上を推奨
CheckInterval: 300

# チェックごとに取得するツイートの最大数
MaxTweetsPerCheck: 3

# NOTICE を行うチャンネルの一覧
ChannelsToSend:
#- '#cre'

# Twitter アカウント関連
Twitter:
# Twitter ID(@〜)
ID: cre_ne_jp

# API キー関連
# https://apps.twitter.com/ で確認可能
APIKey: ''
APISecret: ''
AccessToken: ''
AccessTokenSecret: ''

# サーバーリレー監視プラグインの設定
ServerConnectionReport:
# NOTICE を行なうチャンネルの一覧
ChannelsToSend:
- ''
- Part
- KickBack

# 取り込む設定の ID を列挙する
# 設定ファイルは config/ 以下に配置する
# 設定 ID は config/ を基準とした相対パスから拡張子を除いたもの
Include:
- cre_twitter_citation
- server_connection_report
- part
- kick_back
5 changes: 5 additions & 0 deletions config/server_connection_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# サーバーリレー監視プラグインの設定
ServerConnectionReport:
# NOTICE を行なうチャンネルの一覧
ChannelsToSend:
- ''

0 comments on commit 51832cd

Please sign in to comment.