Skip to content

drewolson/epicbot-hs

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Epicbot

Epicbot is a slack bot written in Haskell. It allows you to search for cards from the Epic Card Game and display the results in your slack channel.

To search for a card, simply type some or all of its name. Epicbot will perform a full text search to find the correct card.

/epic <search term>

You can also generate an example random dark draft draw using the draft command.

/epic draft

Deploying

stack --docker build

This builds the epicbot-exe executable on the docker container referenced in stack.yaml. If you're deploying to an environment different than debian, feel free to change this image.

To find the location of the executable you build, run the following:

stack --docker exec -- which epicbot-exe

Now, run the executable.

EPICBOT_ONLINE=1 EPICBOT_SLACK_SIGNING_SECRET=<your slack signing secret> /path/to/epicbot-exe

Once you have your bot running, you'll want to follow the guide for creating a slash command to use the bot. We recommend using /epic as your slash command.

About

A Slack Bot for Epic Card Game -- in Haskell!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published