Commit Graph
100 Commits
Author SHA1 Message Date
Dustin Pianalto 3ea75b4fab Add splode 2020-04-08 00:14:24 -08:00
Dustin Pianalto 45584c31fd Add splode 2020-04-08 00:12:47 -08:00
Dustin Pianalto ac65d36ce8 Set the default prefix correctly for production 2020-04-07 22:42:38 -08:00
Dustin Pianalto 06cc1ab2ef Re-add format_output and fix git cog 2020-04-07 22:10:33 -08:00
Dustin Pianalto 0abe44cb05 Add GeeksbotAPI class to manage queries to the API 2019-12-30 22:40:31 -09:00
Dustin Pianalto 41cc1a5367 Add git to autoload list 2019-12-26 20:58:03 -09:00
Dustin Pianalto d1da4fc999 Add git commands and reformatted files 2019-12-26 20:56:00 -09:00
Dustin Pianalto 2033e0767f Change default prefix for development 2019-12-25 23:49:15 -09:00
Dustin Pianalto bdaea8040a Update user-data and rearange requirements installation 2019-12-25 23:41:16 -09:00
Dustin Pianalto 83cd5046f4 Update Redis hostname 2019-12-25 18:03:55 -09:00
Dustin Pianalto af4b464ce6 Remove Redis password as it is no longer needed 2019-12-25 17:37:30 -09:00
Dustin Pianalto e7e90d5462 Add health check interval to redis connection 2019-12-25 17:37:05 -09:00
Dustin Pianalto 975dbfbeda Remove password from redis connection 2019-12-25 17:35:28 -09:00
Dustin Pianalto c82a404263 Persist settings cache connection in bot object 2019-12-25 16:44:01 -09:00
Dustin Pianalto fe23620fe4 Install openssh in the container and pass in keys 2019-12-24 00:36:23 -09:00
Dustin Pianalto fb9e34bf27 Add required slash to file path 2019-12-24 00:24:21 -09:00
Dustin Pianalto ea8a678d46 Update bot.close to call os._exit at the end. 2019-12-24 00:20:00 -09:00
Dustin Pianalto 4d139d25c2 Update reboot command and bot.close 2019-12-24 00:12:37 -09:00
Dustin Pianalto e1f365a1e8 Add sys.exit for reboot command. 2019-12-24 00:03:37 -09:00
Dustin Pianalto 6cf5283621 Add sys.exit after closing connections 2019-12-23 23:45:21 -09:00
Dustin Pianalto f834191d96 Update reboot command 2019-12-23 23:39:26 -09:00
Dustin Pianalto 6796593e5b Update reboot command 2019-12-23 23:38:32 -09:00
Dustin Pianalto b4ac406d7f Update reboot command 2019-12-23 23:36:12 -09:00
Dustin Pianalto 8a3df5e399 Add slash on apk add for newline 2019-12-23 23:22:42 -09:00
Dustin Pianalto 9ab2ff96a5 Install git in container 2019-12-23 23:11:56 -09:00
Dustin Pianalto 279217bd79 close aio_session before loop 2019-12-23 23:09:20 -09:00
Dustin Pianalto 11666da14c Update user-data for launch configuration 2019-12-23 22:46:16 -09:00
Dustin Pianalto d50c207ec4 Remove .env and adjust entrypoint
.env is no longer needed since env variables are in Dockerfile now
2019-12-23 21:42:17 -09:00
Dustin Pianalto 0fab3b5a2b Add required slash to file path 2019-12-23 21:41:47 -09:00
Dustin Pianalto 0b8557bff3 Moved env variables to Dockerfile 2019-12-23 21:36:33 -09:00
Dustin Pianalto 6d905e255b Copy env and entrypoint after pip installs 2019-12-23 21:13:29 -09:00
Dustin Pianalto f252db244e Add redis password to cache connection 2019-12-23 20:54:24 -09:00
Dustin Pianalto 5e691b8dcf Update env to remove secrets and add secrets to redis 2019-12-23 20:51:40 -09:00
Dustin Pianalto 8664bac978 Revert changes which broke Dockerfile 2019-12-23 19:50:07 -09:00
Dusty.P 245b575f0f Merge pull request #1 from dustinpianalto/development
Development
2019-12-23 19:39:36 -09:00
Dustin Pianalto db17e16351 Update Dockerfile and user-data for AWS LC use 2019-12-23 19:38:49 -09:00
Dustin Pianalto 48621aac95 Fix docstring on ping command 2019-12-23 16:49:17 -09:00
Dustin Pianalto 7cba15eb20 Fix name on emoji 2019-12-16 22:38:00 -09:00
Dustin Pianalto cf18488283 Add command to add steam ids to users 2019-12-16 22:32:25 -09:00
Dustin Pianalto 9a37bb53a9 Revert message.created_at to be timestamp 2019-12-16 22:17:37 -09:00
Dustin Pianalto 4321bc894b Update message.created_at to be aware of timezone 2019-12-16 22:14:51 -09:00
Dustin Pianalto 7c8d0a771d Add whitelist command 2019-12-16 22:07:04 -09:00
Dustin Pianalto 477c58a8bd Fixed bug in listplayers 2019-12-16 20:12:27 -09:00
Dustin Pianalto a410be0da3 debugging 2019-12-16 20:02:16 -09:00
Dustin Pianalto e9bfb7cb13 debugging 2019-12-16 19:58:49 -09:00
Dustin Pianalto 4afd44e4be debugging 2019-12-16 19:54:27 -09:00
Dustin Pianalto 5a7c68bdcb Check if receive no content response 2019-12-16 19:47:57 -09:00
Dustin Pianalto 090ba646c9 Fixed bug in is_moderator and is_admin 2019-12-16 19:40:12 -09:00
Dustin Pianalto a3b5f6bb31 debugging 2019-12-16 19:38:37 -09:00
Dustin Pianalto 02ec70b11b debugging 2019-12-16 19:34:36 -09:00
Dustin Pianalto c317077d8f Create is_moderator check 2019-12-16 19:31:42 -09:00
Dustin Pianalto d0bab4a179 Update listplayers command for new system 2019-12-16 19:10:47 -09:00
Dustin Pianalto 5340310ac0 Add guild_events and command_events to auto_load list 2019-12-16 16:26:45 -09:00
Dustin Pianalto 4c6e16d043 Add trailing slash to url 2019-12-16 16:26:05 -09:00
Dustin Pianalto a5337d530f Use correct response code for guild creation 2019-12-16 16:19:32 -09:00
Dustin Pianalto 56fd2d231b Add channels on guild join 2019-12-16 16:12:34 -09:00
Dustin Pianalto 920866e699 Add listener decorator to events 2019-12-16 16:03:52 -09:00
Dustin Pianalto d1660e4ca3 Add listener decorator to events 2019-12-16 16:03:32 -09:00
Dustin Pianalto 1b130da551 Add trailing slash to urls 2019-12-16 15:55:39 -09:00
Dustin Pianalto 3e8bbe8695 Add Guild event handlers 2019-12-16 15:38:35 -09:00
Dustin Pianalto 665ce34735 Update command error handler to also log the traceback 2019-12-16 14:36:54 -09:00
Dustin Pianalto a70da0074c Add command error handler 2019-12-16 14:34:07 -09:00
Dustin Pianalto 8c1c94a274 Add functionality for prefixes to be case insensitive 2019-12-15 22:46:05 -09:00
Dustin Pianalto 44fc112941 Add required bot argument to get_prefixes 2019-12-15 22:29:39 -09:00
Dustin Pianalto a615d62afd Move Geeksbot class to it's own file
Add inspect to auto_load list
Change default prefix to be casefolded
2019-12-15 22:19:42 -09:00
Dustin Pianalto ae178797bc Fix bug in user command
If user not specified default to author
2019-12-15 19:56:15 -09:00
Dustin Pianalto ebe8c5ecbb Fix snowflake processing for right worker and process 2019-12-15 15:28:53 -09:00
Dustin Pianalto cf348d41c2 Fix snowflake command sending embed 2019-12-15 15:25:22 -09:00
Dustin Pianalto 2a00c2f07d Fix user and snowflake commands 2019-12-15 15:23:22 -09:00
Dustin Pianalto 945a8b850a Add commands to return info on a user and process snowflakes 2019-12-15 15:09:36 -09:00
Dustin Pianalto 980d39005d Update leave and join log messages 2019-12-15 00:44:10 -09:00
Dustin Pianalto 2cc375089f Fixed bug in on_member_join 2019-12-15 00:38:47 -09:00
Dustin Pianalto c67d7922dc Fixed bug in on_member_join 2019-12-15 00:37:08 -09:00
Dustin Pianalto 9677b8b368 Add try to see why on_member_join is not working. 2019-12-15 00:35:28 -09:00
Dustin Pianalto 7500a17c85 Fix bug in on_member_remove 2019-12-15 00:31:43 -09:00
Dustin Pianalto b1c99a380d Change to use patch method for removing guilds from user 2019-12-15 00:25:43 -09:00
Dustin Pianalto 3ca95c4e7c Add on_member_join and on_member_remove 2019-12-15 00:02:49 -09:00
Dustin Pianalto 9022f6c3ca Add on_member_join and on_member_remove 2019-12-14 15:30:34 -09:00
Dustin Pianalto 86b1797a86 Add id field since it is required by serializer 2019-12-14 01:53:46 -09:00
Dustin Pianalto 217e446f07 Fix typo in decorator 2019-12-14 01:51:13 -09:00
Dustin Pianalto d8691f4191 Move logging to base load and unload methods 2019-12-14 01:48:01 -09:00
Dustin Pianalto 4fe6f1af58 Re-add owner check to load/unload/reload 2019-12-14 01:44:47 -09:00
Dustin Pianalto d4c13ba593 Remove owner check for testing load/unload/reload 2019-12-14 01:42:43 -09:00
Dustin Pianalto 1e44728980 Change decorator which checks for owner
Add is_me decorator to checks.py
2019-12-14 01:36:20 -09:00
Dustin Pianalto 76a4a753c4 Remove owner_id from bot instance 2019-12-14 01:21:31 -09:00
Dustin Pianalto c5c890f876 Add logging to load and unload commands 2019-12-14 01:17:21 -09:00
Dustin Pianalto a318f129c9 Add user_events module and user_update event 2019-12-14 01:07:25 -09:00
Dustin Pianalto 876bd54687 Fix bug in view command 2019-12-12 23:58:16 -09:00
Dustin Pianalto 1aeb690dc8 Update wording in view command 2019-12-12 23:51:59 -09:00
Dustin Pianalto 21f766b6d2 Add command for detailed view of request 2019-12-12 23:49:56 -09:00
Dustin Pianalto 07a7b25964 Add command for detailed view of request 2019-12-12 23:33:56 -09:00
Dustin Pianalto c5e6ec3761 Update default prefix to use env variable 2019-12-12 14:59:55 -09:00
Dustin Pianalto 65b3e1b3b6 Update default prefix to use env variable 2019-12-12 14:53:26 -09:00
Dustin Pianalto 79738c6f70 Make entrypoint executable 2019-12-11 23:51:35 -09:00
Dustin Pianalto f07a028417 Remove files for web api
Make modifications to run on ec2
2019-12-11 23:33:22 -09:00
Dusty Pianalto 3d52a50bff Add .idea to gitignore 2019-12-02 20:30:27 -09:00
Dusty Pianalto 3a2cdce0bb added get_query to UserLogDetail 2019-12-01 10:36:48 -09:00
Dusty Pianalto b8f751bae9 Multiple changes
Started switching to generics
Added tickets
2019-12-01 10:30:03 -09:00
Dustin Pianalto 27231fda7b Updates to stuff lol 2019-09-25 21:39:04 -08:00
Dustin Pianalto b3eefa1266 Basic utils for models, added some stuff to the bot 2019-09-19 21:52:16 -08:00