Began to write the commands' stuff, and made a working reboot.
This commit is contained in:
parent
14f87adb8b
commit
7a9d187421
2 changed files with 29 additions and 3 deletions
Hsbot
|
@ -38,7 +38,7 @@ data IrcOutput = Str String -- a regular string
|
|||
|
||||
-- | Parses an IrcInput
|
||||
parseIrcMsg :: String -> IrcInput
|
||||
parseIrcMsg _ = Err "Parsing not yet implemented"
|
||||
parseIrcMsg str = (Cmd "user" "channel" (str, Just "args"))
|
||||
|
||||
-- | Connects to a server
|
||||
connectServer :: IrcServer -> IO (IrcServer, Handle)
|
||||
|
|
Reference in a new issue