Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tyler-zhang/words-with-coworkers
Slack bot for scrabble
https://github.com/tyler-zhang/words-with-coworkers
game rust scrabble slack slack-bot
Last synced: 7 days ago
JSON representation
Slack bot for scrabble
- Host: GitHub
- URL: https://github.com/tyler-zhang/words-with-coworkers
- Owner: Tyler-Zhang
- Created: 2018-05-25T00:55:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:40:43.000Z (about 2 years ago)
- Last Synced: 2024-12-21T01:25:33.238Z (2 months ago)
- Topics: game, rust, scrabble, slack, slack-bot
- Language: Elixir
- Homepage:
- Size: 2.11 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Words With Coworkers

Feeling too productive at work recently? Play a nice game of scrabble on the company slack!
## How it looks

## How to Install
The app is currently not an official slack bot, so it will need to be manually installed on your workspace.
### 1. Install emojipack
The scrabble board is rendered using emojis. You will have to install the emoji pack. Thankfully, there's a
easy utility to do so!We use the [emojipacks cli tool](https://github.com/lambtron/emojipacks).
```bash
# Get the emojipacks file defined in this repo
wget https://raw.githubusercontent.com/Tyler-Zhang/words-with-coworkers-slack-bot/master/emojis.yml# Install emojipacks cli tool
$ npm install -g emojipacks$ emojipacks
Slack subdomain: 20percentclub
Email address login: [email protected]
Password: *********
2FA Code: 123456 # if 2FA is enabled
Path or URL of Emoji yaml file: ./emojis.yml
```### 2. Install the bot on your workspace
- Goto [https\:\/\/api.slack.com\/apps](https://api.slack.com/apps) and log in to your workspace
- Press Create New App
- Set **App Name** to **Words With Coworkers** and **Development Slack Workspace** to your workspace
- Go to Create New Command in the left hand side navigator And input the following values:
- **command**: /scrabbler
- **Request URL**: https://words-with-coworkers.herokuapp.com/slack
- **Short Description**: Anything you want!
- **Usage Hint**: help
- Check "Escape channels, users and links"
### 3. Start playing!
Boom, you're done! Go to your slack workspace and use the command `/scrabbler help` for instructions on how to play.
You can play for as long as my Heroku Dyno is up :D.
## Why rust?
Why not?
## Todos
- [ ] Make into an actual slack app (implement OAuth)
- [ ] Verify webhook signatures
- [ ] Make user interface easier to understand
- [ ] Feature to wipe all slack-bot messages after the game is done