9 Commits (master)

Author SHA1 Message Date
Hugo Thunnissen 7cbb90809a Add general "Accepts" method to BridgeContext and s/WhappBridge/TextMessageProxy/g
We can use this general "Accepts" method when we add more commands that call it and add
some extra criteria like message type using DC_MSG*. This will help with the
implementation of commands that proxy other message types like images and files.
4 years ago
Hugo Thunnissen 1f895db149 Move rejection of info messages to "Accepts" method of botcommand 4 years ago
Hugo Thunnissen dbad923c2d Ignore info messages 4 years ago
Hugo Thunnissen 33eb18e687 Refactor code to log to file in stead of stdout 4 years ago
Hugo Thunnissen b3c28880b0 Remove whappdc- prefix from package directory names 4 years ago
Hugo Thunnissen e392242c79 Move most of the initialization steps from main.go to packages
Because it:
- Declutters main.go
- Makes code reusable
4 years ago
Hugo Thunnissen a6cbb21bd2 Actually include error in error message 4 years ago
Hugo Thunnissen cd5696954c Very spammy and buggy prototype. 4 years ago
Hugo Thunnissen 2a175e4bfc Initial commit: working echo command + config boilerplate 4 years ago