https://github.com/mopp/mop8
Slack bot for imitating target user
https://github.com/mopp/mop8
Last synced: 10 months ago
JSON representation
Slack bot for imitating target user
- Host: GitHub
- URL: https://github.com/mopp/mop8
- Owner: mopp
- License: mit
- Created: 2021-04-30T16:16:31.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-09T01:22:51.000Z (over 4 years ago)
- Last Synced: 2025-01-20T10:48:55.711Z (over 1 year ago)
- Language: Elixir
- Size: 119 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Mop8
Slack bot for imitating target user.
## How to run
Store the required environment variable into `.env` file.
```console
export TARGET_CHANNEL_ID="hoge"
export TARGET_USER_ID="fuga"
export BOT_USER_ID="piyo"
export SLACK_APP_LEVEL_TOKEN='xapp-xxx'
export SLACK_BOT_USER_OAUTH_TOKEN='xoxb-xxx'
export MOP8_STORAGE_DIR="/tmp/mop8"
export DRY_RUN="false"
```
```
mix deps.get
mix compile
source .env
iex -S mix
```
## How to test
```console
mix text
mix dialyzer
```