Discord の通話が解散できないオタクを解散させる解散担当大臣
$ export KAISANDAIJIN_DISCORD_TOKEN=<DISCORD BOT TOKEN>
$ docker-compose up -dメンションか !kaisan でコマンドが実行できます。
!kaisan help: ヘルプ
省略された場合、TARGET は全員になります。
!kaisan [TARGET] at TIME:TARGETをTIMEに解散する!kaisan [TARGET] after DURATION:TARGETをDURATION後に解散する!kaisan [TARGET] by TIME:TARGETをTIMEまでのランダムな時間に解散する!kaisan [TARGET] within DURATION:TARGETをDURATION後までのランダムな時間に解散する- その他さまざまな糖衣構文
@解散担当大臣 1時間30分後!kaisan me after 10min明日の一時半 @解散担当大臣!kaisan @someone at 10:30
設定には Manage Guild 権限が必要です。
!kaisan show-setting: 設定表示!kaisan timezone TIMEZONE: タイムゾーンを設定!kaisan require-permission BOOLEAN: 他人を解散するのに Move Members 権限を必要とするか設定!kaisan add-reminder N: 今後の解散のN分前にリマインドを設定!kaisan remove-reminder N: 今後の解散のN分前のリマインドを削除!kaisan remind-random BOOLEAN: 解散時刻がランダムな場合にもリマインダを使うかどうか設定
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.