Commit Graph

118 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 08ce59de5a UrbanDict
- Allow the usage of `.ub:x` for index
2023-07-03 18:00:46 +02:00
Tristan B. Velloza Kildaire 6b03585b53 UrbanDict
- Catch any resulting birchwood errors and print them out
2023-07-03 17:52:46 +02:00
Tristan B. Velloza Kildaire 21329400ec UrbanDict
- Fixed detection of no definitions
2023-07-03 17:47:52 +02:00
Tristan B. Velloza Kildaire fe7454dc01 Merge branch 'master' of github.com:bonobonet/botty 2023-07-03 16:47:26 +02:00
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 ae31c7b2c0 UrbandiDt
- Added some debugging
2023-07-03 14:51:24 +02:00
Tristan B. Velloza Kildaire ebe50679b7 App
- Set fake lag to `0`
2023-07-03 14:41:24 +02:00
Tristan B. Velloza Kildaire d59a538851 - Updated supported modules 2023-07-03 14:39:28 +02:00
Tristan B. Velloza Kildaire bdd96f63d3 App
- Cast to `ushort`
2023-07-03 14:37:41 +02:00
Tristan B. Velloza Kildaire 0638b6c713 App
- Read in the server's address and port from the configuration file
2023-07-03 14:34:43 +02:00
Tristan B. Velloza Kildaire d2423d986a UrbandDict
- Removed now-completed TODOs
- Now on no definitions we send an error message
2023-07-03 14:27:34 +02:00
Tristan B. Velloza Kildaire f8a2ab8265 UrbanDict
- Ensure we have atleats one definition
- In case of atleast one defintion, extract data, format and send it in similar fashion to that of PyBotty
- `doThing(string)` now returns the list of definitions
2023-07-03 14:23:44 +02:00
Tristan B. Velloza Kildaire fd6efacb1c UbranDIct
- Made static again (`doThing(string)`)
- Now returns JSON
2023-07-03 14:16:33 +02:00
Tristan B. Velloza Kildaire d8096caba2 UrbanDict
- Made `doTing(string)` instance method
2023-07-03 14:14:18 +02:00
Tristan B. Velloza Kildaire e023dc8018 UrbanDict
- Fixed message send
- Added JSON parsing of result
- Handle Curl and JSON parsing errors now
2023-07-03 14:13:54 +02:00
Tristan B. Velloza Kildaire b7dbb80610 UrbanDict
- Added rudimentary UB fetch code (no parsing yet)
- Improved the `searchTerm` extraction algo
2023-07-03 14:07:55 +02:00
Tristan B. Velloza Kildaire ab83859175 Bot
- Enabled `.ub` command
2023-07-03 14:00:33 +02:00
Tristan B. Velloza Kildaire 94c5403ebd UrbanDict
- WIP: New module
2023-07-03 14:00:20 +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