100 Commits
Author SHA1 Message Date
Logan Cusano bf461bd5a9 Fixed typo in MySQL error handling 2023-05-03 22:29:46 -04:00
Logan Cusano 64bee8c561 Reverse the order of RSS feeds to the newest is sent last 2023-04-01 21:08:47 -04:00
Logan Cusano b7147695ac Fixing declaration bug and updating comments 2023-04-01 16:35:24 -04:00
Logan Cusano d7da3c636c Update SQL helper function to retry the database if it's unreachable 2023-04-01 16:28:52 -04:00
Logan Cusano 68b5e5436c Using the correct variable if the post is empty 2023-03-31 20:36:25 -04:00
Logan Cusano 46ff0f49e8 Add default text if the post.content variable is empty 2023-03-31 20:20:32 -04:00
Logan Cusano 8a417d9ed7 Fixing bug in message sending 2023-03-30 23:03:56 -04:00
Logan Cusano 8ff82a462b Trim whitespace in RSS messages 2023-03-30 19:58:31 -04:00
Logan Cusano 1aea162b8f Update RSS messages to send the content in the description 2023-03-29 20:54:24 -04:00
Logan Cusano edef8a4c7d Error handling different RSS feeds 2023-03-17 23:27:12 -04:00
Logan Cusano c8b90ca220 Bugfix for potential #2 fix 2023-03-13 23:38:36 -04:00
Logan Cusano ad09caac25 Changing only other Mysql connection to pool
- #2
2023-03-13 23:32:58 -04:00
Logan Cusano 89d1cf3ee6 Updated permissions on updater bash script 2023-03-13 00:14:50 -04:00
Logan Cusano 14693692d0 Adding updater script 2023-03-13 00:13:25 -04:00
Logan Cusano a86e4b2876 Wait for the refresh period before starting RSS feeds 2023-03-13 00:07:07 -04:00
Logan Cusano a7bcf971c4 Fixed bug when sending DALL-E images 2023-03-13 00:06:39 -04:00
Logan Cusano f840d754ac Merge branch 'main' of git.vpn.cusano.net:logan/Emmelia-Link-Flayer-Rewrite 2023-03-12 15:54:52 -04:00
Logan Cusano cb8dfca8dd Return the source title from record promises 2023-03-12 15:54:22 -04:00
Logan Cusano cdb766520d Added multiple embed builders for multiple images 2023-03-12 04:23:17 -04:00
Logan Cusano af74c7b90d Remove unused module 2023-03-12 03:59:01 -04:00
Logan Cusano ffacd19883 Potential fix fo #2 2023-03-12 03:47:49 -04:00
Logan Cusano 9e2814cb2c Init branch, WIP
Needs new library to merge images
2023-03-11 23:07:48 -05:00
Logan Cusano 72134b1b7b Working on #2 2023-03-11 23:05:50 -05:00
Logan Cusano 8ed0b969dd Fix bug in deploy commands
- Pass the client ID from the bot to the command
2023-03-11 21:22:33 -05:00
Logan Cusano 06d856e23d Add an exit delay and key
- key 'EXIT_ON_ERROR_DELAY'
2023-03-11 21:21:46 -05:00
Logan Cusano 81851a11b7 Add waits and extra sleeps to slow down the rss engine 2023-03-11 16:53:07 -05:00
Logan Cusano a64fe6a669 adding a wait time before starting the rss feeds 2023-03-11 16:41:26 -05:00
Logan Cusano 9a710c0785 Improved logging on deploy commands 2023-03-11 16:33:48 -05:00
Logan Cusano 07522c0c19 Update debug to add a key, when set exit the app on error
.env key "EXIT_ON_ERROR"
2023-03-11 16:30:22 -05:00
Logan Cusano ea33b13a87 Temporarily add an exit after an error log to investigate 2023-03-11 16:03:11 -05:00
Logan Cusano 5bf0ae661e Add better logging to deploy commands 2023-03-11 15:54:41 -05:00
Logan Cusano 1e6a50ff1b Updating rss source to be the name of the source not link 2023-03-11 15:54:27 -05:00
Logan Cusano 6cccc86d90 Attempted Bugfix for logan/Emmelia-Link-Flayer-Rewrite#2 2023-03-10 23:14:16 -05:00
Logan Cusano d19ccd046a Missed debugging causing bug 2023-03-04 22:49:06 -05:00
Logan Cusano 2aa8620590 Fix content length bug when sending messages 2023-03-04 22:48:06 -05:00
Logan Cusano 3d63d5733a Catch error in message sending 2023-03-04 22:43:13 -05:00
Logan Cusano 9f10690681 Bug fix for #2 2023-03-04 22:40:49 -05:00
Logan Cusano 750db6407b Attempt to fix bug
- logan/Emmelia-Link-Flayer-Rewrite#2
2023-03-04 22:38:43 -05:00
Logan Cusano d84d8073a3 Update ToDo 2023-02-27 00:25:36 -05:00
Logan Cusano 384dd7011f Large Transaction Update 2023-02-27 00:20:54 -05:00
Logan Cusano 0c4fee091e Updated help command 2023-02-27 00:20:36 -05:00
Logan Cusano 8b7547c02b Update help message for chat and imagine 2023-02-26 22:42:48 -05:00
Logan Cusano 94a4694a04 Added timestamp call to Emmelia builder 2023-02-26 22:26:41 -05:00
Logan Cusano 14b107dd51 Update insufficient balance and new user messages 2023-02-26 22:16:53 -05:00
Logan Cusano aa8878feee Update ToDo 2023-02-26 22:16:29 -05:00
Logan Cusano 294d8897f7 Add pricing command 2023-02-26 22:09:16 -05:00
Logan Cusano 221956641c Updated command name 2023-02-26 22:08:10 -05:00
Logan Cusano 8c341b747d Updated description text 2023-02-26 22:07:50 -05:00
Logan Cusano ff5bff89ee Remove unused commands 2023-02-26 22:07:33 -05:00
Logan Cusano 7bddccc5f4 Add balance command for users to check their balance 2023-02-26 21:42:37 -05:00
Logan Cusano 94aa9b4a32 Updated ToDo 2023-02-26 21:42:00 -05:00
Logan Cusano 84cdc8b5e9 Update mistake in debug builder for imagine 2023-02-26 21:16:00 -05:00
Logan Cusano 3c6ed8f1b4 create a todo 2023-02-26 21:03:59 -05:00
Logan Cusano 4335956ac5 Added DALL-E functionaity 2023-02-26 18:48:13 -05:00
Logan Cusano 716ed2325e Improved RSS engine 2023-02-26 17:09:31 -05:00
Logan Cusano 086c910197 RSS controller will update feeds before starting engine 2023-02-26 16:32:35 -05:00
Logan Cusano c83e87e3f3 Added package to generate user agent strings 2023-02-26 16:23:18 -05:00
Logan Cusano 25e090f4d9 Updated SQL strings to have double quotes 2023-02-26 16:05:06 -05:00
Logan Cusano 96c10ade61 Updated RSS engine
- Added extended embedBuilder for Emmelia
- Improved RSS embed look
2023-02-26 16:04:45 -05:00
Logan Cusano 2b92b1dc1a Updated function with logging 2023-02-26 14:57:02 -05:00
Logan Cusano fcb478930d Added new module to tokenize prompts
- Used to subtract prompt tokens from max tokens
2023-02-26 14:39:57 -05:00
Logan Cusano be43adc112 Update gitgnore to ignore mac files 2023-02-26 14:29:13 -05:00
Logan Cusano 77a3c5c6fc Implemented ChatGPT functionality 2023-02-26 14:28:57 -05:00
Logan Cusano c605074d05 Updated to send discord id 2023-02-26 12:52:36 -05:00
Logan Cusano 4b7b4e19a7 Fixed bug in transactions
- all balances would get updated from transaction
2023-02-26 12:52:09 -05:00
Logan Cusano dd0a64aff0 Added try catch to catch errors from parsing rss 2023-02-26 12:51:19 -05:00
Logan Cusano a9bc2383ba Fixed bug in RSS engine 2023-02-26 05:09:45 -05:00
Logan Cusano 85b5ed02cf Fixed bug in category command 2023-02-26 03:54:30 -05:00
Logan Cusano 9c67d826fc Fixed bug with commands without public option 2023-02-26 03:34:43 -05:00
Logan Cusano 14fac69ab7 Add functionality to create transactions
- Transactions work against the account balance
- Needs helper functions for users
- Needs more testing
2023-02-26 03:26:24 -05:00
Logan Cusano fb99d6ab01 Move ChatGPT function to own controller 2023-02-26 01:35:35 -05:00
Logan Cusano 4fa800c361 Remove unused code 2023-02-26 01:34:57 -05:00
Logan Cusano 2dd43c07ae Moved account related functions to controller 2023-02-26 01:31:19 -05:00
Logan Cusano 013e407da8 Add deferred reply option to commands 2023-02-26 00:54:39 -05:00
Logan Cusano f3bae7e223 Added Payment Authorization Middleware
- Default options for commands
- Verify user has enough balance to create the transaction
- Need to create methods to create transactions
2023-02-26 00:51:56 -05:00
Logan Cusano 8ed30ad171 Update ping command as a template 2023-02-26 00:45:04 -05:00
Logan Cusano b1f7b1deef Add the interval to env with default 2023-02-25 21:42:34 -05:00
Logan Cusano 3266a1550e Working RSS Feed Manager
- Auto updates feeds
- Sends updates to specified channels
- Needs threading
2023-02-25 20:56:01 -05:00
Logan Cusano d33f1ceccc Working RSS Feeds
- Need to get worker in the background to update the sources
2023-02-25 19:51:49 -05:00
Logan Cusano ae071be8b8 Update gitignore 2023-02-25 19:20:34 -05:00
Logan Cusano 331d5b07c1 Updated RSSPostRecord builder to include the guid 2023-02-25 18:51:20 -05:00
Logan Cusano 1e62fcbcab Added required package 2023-02-25 18:50:24 -05:00
Logan Cusano e8cb6c497b Updated callbacks to all return 2023-02-25 14:49:40 -05:00
Logan Cusano c8cf6e35f7 Improved function to work with updated storage 2023-02-25 14:49:03 -05:00
Logan Cusano 12b4a566c7 Updated storage for feeds and posts 2023-02-25 14:47:45 -05:00
Logan Cusano e157fc94e0 Update object name message to interaction 2023-02-25 14:03:31 -05:00
Logan Cusano 588db52dfd Added VERBOSE option for large logs 2023-02-25 13:32:26 -05:00
Logan Cusano c96f7983fb Renamed to make more sense 2023-02-25 04:51:04 -05:00
Logan Cusano 541148311a Updated to include channel and guild IDs 2023-02-25 04:50:51 -05:00
Logan Cusano 895a9cefbc Updated logging in deployCommands to conform 2023-02-25 04:11:01 -05:00
Logan Cusano 0aa7d3edc0 Improved Discord Auth System
- Used on all commands
- Moved to middleware dir
2023-02-25 04:10:40 -05:00
Logan Cusano 0c3e3a0736 changed option name & privilege 2023-02-25 04:09:48 -05:00
Logan Cusano dc7b95655c Removed middleware from command 2023-02-25 04:09:15 -05:00
Logan Cusano f9c57617c7 Updated Logging & Added Auth Middleware 2023-02-25 04:08:29 -05:00
Logan Cusano 6eef72e951 Added more debugging 2023-02-25 03:54:42 -05:00
Logan Cusano 7a89baf666 Remove old module mistakenly left in 2023-02-25 03:54:31 -05:00
Logan Cusano c371f44f98 Remove package-lock from git 2023-02-25 03:26:58 -05:00
Logan Cusano 6b96f048fd Mutiple Changes
- Added events loader and directory
2023-02-25 03:25:54 -05:00
Logan Cusano 02bf0ebda2 Update commands to slash commands 2023-02-25 03:25:07 -05:00
Logan Cusano 49c80b7f5e Added authorization middleware for commands 2023-02-25 01:12:41 -05:00