Public | Automated Build

Last pushed: 3 months ago
Short Description
Automated build for slack-shogi
Full Description




Slack-Shogi

This is a room, with a shogi board.

How to use

  1. Create a Bot https://your-team-name.slack.com/apps/A0F7YS25R-bots
  2. Copy config file cp slackbot_settings.py.default slackbot_settings.py
  3. Replace your api key with your bot from slack

Commands

@shogibot: start with @username
@shogibot: board
@shogibot: 76歩
@shogibot: resign or @shogibot: 参りました
And more!

If you want to try it, use this command @shogibot: start with @your_user_name

How to input shogi emojis

We provide an images for playing shogi, and a script to input images to your slack team.
The script required your slack id and password because an api which saves a new emoji does not exist.
Emoji example is here:

It requires Python2 for mechanize.

% cd input_emojis
% pip install mechanize
% python input_emojis.py
your slack team id: [your_team_id]
your id (email): [your_id@example.com]
your password: [******]
authentication code for two factor(If needed) : [two-factor code or empty if you don't use two-factor-authentication]
...
...
...
Completed!!

If you already inputted emojis and has a difference for adding emojis, you can use --patch option for this script. The script called with this optioin ignores emojis which already registed.

Thanks for

LICENSE

MIT

Docker Pull Command
Owner
setokinto
Source Repository

Comments (0)