Improve module documentation

This commit is contained in:
Joscha 2018-02-23 21:04:08 +00:00
parent 94df5fb8f2
commit 9adbc9e812
5 changed files with 38 additions and 4 deletions

View file

@ -1,5 +1,12 @@
{-# LANGUAGE OverloadedStrings #-}
-- | This module helps with letting bots respond to commands.
-- It supports general and specific commands.
--
-- If you want your bot to react to things other than commands like @!command@,
-- have a look at the 'commandFromParser' function and the parsers below.
-- It may often be easier to write a simple parser than to use regular expressions.
module EuphApi.Utils.Commands
( Command
, CommandName