https://github.com/dogescript/doge-eval-bot
A slackbot that evaluates dogescript code
https://github.com/dogescript/doge-eval-bot
Last synced: 12 months ago
JSON representation
A slackbot that evaluates dogescript code
- Host: GitHub
- URL: https://github.com/dogescript/doge-eval-bot
- Owner: dogescript
- Created: 2018-04-08T00:27:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-04T04:17:07.000Z (about 7 years ago)
- Last Synced: 2025-04-06T20:47:23.576Z (about 1 year ago)
- Language: JavaScript
- Size: 132 KB
- Stars: 1
- Watchers: 7
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# doge-eval-bot
A Slack bot which can evaluate dogescript when mentioned.
Created with [Botkit](https://botkit.ai) starter.
## Integrations
The bot uses the `@slack/client` module to post notifications to the channel when a redeploy occurs. The commit hash on `dogescript` that caused the redeploy will be logged on the `dogebot-devel` slack channel.
## Commands
The bot supports the following commands:
* `help`: displays a list of commands. **TODO**
* `version`: replies with the loaded version of dogescript. **TODO**
## Evaluation
The bot evaluates dogescript code in a code block when mentioned or dm'd.
The evaluation context has access to the following objects/functions:
* `console.log`: logs to a console, output is returned in the format `:> ${msg}` where `${msg}` is your log message.