Commit Graph

101 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire ddab9a002b Dub
- Upgraded `birchwood` to version `2.8.0-beta`
2023-07-03 16:46:29 +02:00
Tristan B. Velloza Kildaire 46d8847533 Dub
- Added `vibe-d` as a dependency
2023-06-27 21:33:37 +02:00
Tristan B. Velloza Kildaire 5d04b38bcd Dub
- Upgraded to latest version of birchwood
2023-06-27 21:23:04 +02:00
Tristan B. Velloza Kildaire 49f961c9d4 Translate
- Add http connection session thing help rany pls
2023-06-27 21:22:53 +02:00
Tristan B. Velloza Kildaire 2e94ecef69 Config
- Switched to array-based channels list

Config

- Use `channels` array instead of string

App

- Pass in `Config` to `Bot` constructor

Bot

- Constructor now takes in `Config` instance and then will extract the channels to join after authentication from said `Config` struct
2023-06-24 21:48:24 +02:00
Tristan B. Velloza Kildaire dd253b6292 Dub
- Upgraded to `jstruct` version `0.2.11`
2023-06-24 21:47:12 +02:00
Tristan B. Velloza Kildaire 08fe9b643f Dub
- Only require minimum versions
2023-06-18 14:30:13 +02:00
rany2 12dab5abd4
Merge pull request #2 from bonobonet/rany2-patch-2
Fix rot13 UTF-8 bug
2023-06-18 14:37:05 +03:00
rany2 08ae243ac6
Fix rot13 UTF-8 bug 2023-06-18 14:36:56 +03:00
Tristan B. Velloza Kildaire 3534bf6ff9 Dub
- Required at least `0.1.3` of `jstruct`
2023-06-18 13:16:26 +02:00
Tristan B. Velloza Kildaire 2c1432a561 Added LICENSE 2023-06-18 13:15:50 +02:00
Tristan B. Velloza Kildaire 1361bcf252 README
- Added list of modules supported
2023-06-18 13:15:37 +02:00
Tristan B. Velloza Kildaire c00d83d070 Translate
- Allows someone to now do `.tr:<lang> <text>` to translate text from some language (auto-detected) to another language (specified as `<lang>`)
2023-06-18 13:07:53 +02:00
Tristan B. Velloza Kildaire 85b6c65ccb Translate
- Bug fix for searching for text-to-translate
- If empty string provided, send error message
2023-06-18 13:00:09 +02:00
Tristan B. Velloza Kildaire 291e85dcf2 Translate
- Documented class
- Documented `translate`
2023-06-18 12:57:29 +02:00
Tristan B. Velloza Kildaire 83304fd1ce Translate
- Fixed the extraction of the translated text response
2023-06-18 12:52:58 +02:00
Tristan B. Velloza Kildaire e0874318dd Bot
- Enabled the translation module
2023-06-18 12:47:32 +02:00
Tristan B. Velloza Kildaire a49138f10d Translate
- `translate(string, string)` now extracts the translated text
- Added support for commanding the module to translate text
- Added error handling in the event of a parsing or network error
2023-06-18 12:46:23 +02:00
Tristan B. Velloza Kildaire 03e4a8ff68 Dub
- Link in `libcurl` for curl support

Translate

- Added rudimentary translate module support
2023-06-18 12:33:55 +02:00
Tristan B. Velloza Kildaire 71adfc6276 Rot13
- Added some documentation
2023-06-18 12:12:48 +02:00
Tristan B. Velloza Kildaire 69c45abd2b Ping
- Added some documentation
2023-06-18 12:12:37 +02:00
Tristan B. Velloza Kildaire 8917e649bd EskomCalendar API
- Added some documentation
2023-06-18 12:12:32 +02:00
Tristan B. Velloza Kildaire 1210d202fb DeavmiComedy
- Added some documentation
2023-06-18 12:12:24 +02:00
Tristan B. Velloza Kildaire a2967245a0 Mod
- Documented field `bot`
- Documented constructor
2023-06-17 22:55:04 +02:00
Tristan B. Velloza Kildaire 355518d84d Mod
- Documented `getBot()`
- Made `getBot()` protected
2023-06-17 22:53:43 +02:00
Tristan B. Velloza Kildaire b779537f2f Translate
- Added stub module
2023-06-17 22:50:07 +02:00
Tristan B. Velloza Kildaire 7daf06ecaa Rot13
- Fixed compilation error
2023-06-17 22:49:00 +02:00
Tristan B. Velloza Kildaire 737833dfd7 Rot13
- Place the rot13 code into its own method
2023-06-17 22:48:42 +02:00
Tristan B. Velloza Kildaire cd84a7e38c Rot13
- Documented class and module
2023-06-17 22:44:16 +02:00
Tristan B. Velloza Kildaire 8db61c8e13 - Not braindead 2023-06-17 22:40:17 +02:00
Tristan B. Velloza Kildaire 139511d081 Added credits for rany2 2023-06-17 22:39:06 +02:00
Tristan B. Velloza Kildaire 264b059e24 Merge branch 'master' of github.com:bonobonet/botty 2023-06-17 22:36:19 +02:00
rany2 c562103b84 Implement rot13 2023-06-17 23:31:16 +03:00
Tristan B. Velloza Kildaire d15f6ad3b8
Merge pull request #1 from bonobonet/rany2-patch-1
Implement rot13
2023-06-17 22:30:59 +02:00
rany2 3326a4f297
Implement rot13 2023-06-17 23:29:47 +03:00
Tristan B. Velloza Kildaire 4f7cec3660 Config
- Join `#bot` rather than `#general`
2023-06-17 21:42:31 +02:00
Tristan B. Velloza Kildaire 96e8c3c1f2 Bot
- Enabled `rot13` module
2023-06-17 21:38:32 +02:00
Tristan B. Velloza Kildaire 162e874676 Rot13
- Created stub
2023-06-17 21:38:20 +02:00
Tristan B. Velloza Kildaire fb118448e4 DeavmiComedy
- Refactored the `accepts()` method
- Make use of `commandStr`
2023-06-17 18:15:56 +02:00
Tristan B. Velloza Kildaire cf856f353d DeavmiComedy
- Marked class as `final`
2023-06-17 18:14:42 +02:00
Tristan B. Velloza Kildaire cb1aad368f EskomCalendar API
- Marked class as `final`
2023-06-17 18:14:40 +02:00
Tristan B. Velloza Kildaire a09573b85a Ping
- Marked class as `final`
2023-06-17 18:13:59 +02:00
Tristan B. Velloza Kildaire eed8e578e1 Ping
- Removed irrelevant TODO
2023-06-17 18:11:43 +02:00
Tristan B. Velloza Kildaire 42af42e167 Ping
- Wait for the process to exit, then determine exit status
- If there is a clean exit (exit code 0) then we read stdout (fd 0)
- If there is a non-zero exit code then we read stderr (fd 2)
2023-06-17 18:09:58 +02:00
Tristan B. Velloza Kildaire b67784e20d Ping
- Ping module implemented
2023-06-17 18:02:56 +02:00
Tristan B. Velloza Kildaire 5cba42f0a6 Ping
- Moved TODO
2023-06-17 16:17:45 +02:00
Tristan B. Velloza Kildaire 7cfeb5ebef Ping
- If there is more than one argument or no argument then send an error message to the channel of origin
2023-06-17 16:17:15 +02:00
Tristan B. Velloza Kildaire 054c39753e Ping
- Extract the domain to be pinged
2023-06-17 16:15:51 +02:00
Tristan B. Velloza Kildaire 7b7dd31689 Bot
- Disabled `reactCommand()` call in `onChannelReceived()`
- Enabled `Ping` module
2023-06-17 16:15:31 +02:00
Tristan B. Velloza Kildaire bd8c7bed52 Ping
- Removed incorrect module declaration
2023-06-17 16:10:54 +02:00