Commit Graph

162 Commits

Author SHA1 Message Date
baz 8c19d849bf Add checks 2023-12-19 19:47:26 +00:00
baz e263e9732c Store beat games in the database 2023-12-18 23:53:52 +00:00
baz 7823dcd549 Add new databaseHelperFunctions 2023-12-18 23:53:12 +00:00
baz 91bffb65c7 Move user user existance checking to databaseHelperFunctions file 2023-12-18 22:49:33 +00:00
baz 7d4ca51aa4 Remove comment 2023-12-18 22:49:02 +00:00
baz 1f504ae0c4 Create register command 2023-12-18 21:57:06 +00:00
baz 590ca18f18 Create associations 2023-12-18 21:56:59 +00:00
baz 2e4e68a82b Fix requires 2023-12-18 21:55:20 +00:00
baz 7c27191202 Refactor models 2023-12-18 21:55:04 +00:00
baz e2d3881cce Create dbInit 2023-12-16 20:38:58 +00:00
baz 1519c85f27 Create BeatenGames sequelize module 2023-12-16 20:38:46 +00:00
baz e80dfdf953 Create Games sequelize module 2023-12-16 20:38:07 +00:00
baz 78cd678f6f Create Users sequelize module 2023-12-16 20:38:00 +00:00
baz 3fe6b11765 Simplify getCoverURL then 2023-12-16 20:37:09 +00:00
baz 68ad62dcba Correct .gitignore 2023-12-16 20:36:35 +00:00
baz 1529dcca8f Remove comment 2023-12-16 20:34:57 +00:00
baz fcc0aa61da Update .gitignore 2023-12-11 23:03:51 +00:00
baz 99f53cfc78 Add extra checking to GameDetails 2023-12-11 23:02:52 +00:00
baz ec8f707414 Add checking to involved_companies 2023-12-06 23:48:50 +00:00
baz 710f84b165 Add extra checks to embed builder 2023-12-06 23:45:23 +00:00
baz ec25605a8a Replace developers, genres and franchise ID with text 2023-12-06 23:40:07 +00:00
baz 2a09c7a0f7 Add getCompanyInfo, getGenres and getFranchise functions to igdbHelperFunctions 2023-12-06 23:39:34 +00:00
baz 8992c3a12e Create gameDetails Embed template 2023-12-05 23:47:36 +00:00
baz 5129ed1c18 Create gameDetails.js 2023-11-30 23:46:40 +00:00
baz b7610ed59d Apply linter to igdb.js 2023-11-30 23:38:01 +00:00
baz b79b6cdfe0 Move igdb api functions to separate file 2023-11-30 23:37:39 +00:00
baz 193f172ced Rename searchgame to searchgames 2023-11-30 23:19:08 +00:00
baz d986b2cb7f Add extra game search queries when no results are returned on first search 2023-11-28 22:06:19 +00:00
baz 2d20201ba2 Create searchGamesWithoutMinimumReview function 2023-11-28 22:05:43 +00:00
baz 2406b50270 Create searchGamesWithMinimumReviews function 2023-11-28 22:05:29 +00:00
baz ed903796f1 Change release_dates to first_release_date 2023-11-28 22:05:02 +00:00
baz 94eb85f7f4 Apply linter to beatGame command 2023-11-28 22:04:08 +00:00
baz ca68c4a017 deploy-commands.js cleanup 2023-11-27 23:41:23 +00:00
baz b4b4329aeb Create searchgame slashcommand 2023-11-27 23:40:52 +00:00
baz 8a1d844439 index.js clean up 2023-11-27 23:40:14 +00:00
baz e489a1c710 Move from module to commonjs 2023-11-26 23:02:34 +00:00
baz 56cab90b16 Add och command 2023-11-23 20:21:59 +00:00
baz c4344c6bac Create .env.template file 2023-11-20 22:09:59 +00:00
baz 0b161f74b6 Get game data from igdb api 2023-11-20 22:07:44 +00:00
baz 08655bdce7 Remove console.log 2023-11-20 22:07:19 +00:00
baz 3e8b17360e Remove token creation from index 2023-11-20 22:07:05 +00:00
baz 107fb69730 Create igdb class 2023-11-20 22:06:54 +00:00
baz 9ce1b72394 Lots of changes 2023-11-19 23:59:41 +00:00
baz 52d9a0879e Add cooldowns collection to main 2023-11-18 20:27:42 +00:00
baz 2c44a552d6 Add command to reload commands 2023-11-18 20:27:02 +00:00
baz 5ca044b735 Add support for command cooldowns 2023-11-18 20:26:54 +00:00
baz e5df703c26 Create beatGame command 2023-11-18 00:39:46 +00:00
baz 3f9d0871b8 Add Avatar command 2023-11-18 00:03:06 +00:00
baz 8d1d93ad3f Change event handling to scanning files 2023-11-17 23:48:17 +00:00
baz d715ca02e6 Create Interaction Create event file 2023-11-17 23:47:34 +00:00