Version 0.3 #68

Merged
Rich merged 198 commits from dev into master 2020-04-15 19:09:08 +00:00
198 Commits
Author SHA1 Message Date
rich b222b2342e Update README.md - added links to octoprint and statping pages 2020-04-15 15:05:43 -04:00
rich a0d5c63aee moved image 2020-04-15 14:56:58 -04:00
rich 0976c2c9e3 Update README.md 2020-04-15 14:55:40 -04:00
rich 82647b2597 Screenshot of command list 2020-04-15 14:53:58 -04:00
rich e20ac2c849 Update README.md 2020-04-15 14:53:12 -04:00
rich 37a689e58e added screenshot of service alert 2020-04-15 14:46:01 -04:00
rich 79043feb91 Upload screenshot of service alert 2020-04-15 14:44:40 -04:00
rich c2f905229f Updated README.md, listing more features 2020-04-15 14:43:31 -04:00
rich 114e6aeb9b Merge branch 'testing' into 'dev'
Merge changes to fix Issue #8

See merge request Bots/r0b3BOT!57
2020-04-14 22:02:58 -04:00
rich 83f7270d6b updated help message 2020-04-14 21:59:10 -04:00
rich 63602bc19c wasnt saving the result, doh 2020-04-14 21:57:31 -04:00
rich 65a608395b adding code to allow inserting _ in place of spaces and will revert 2020-04-14 21:55:00 -04:00
rich f11c076258 trying removal of print statement 2020-04-14 21:52:41 -04:00
rich 7b7f57f4c0 trying more ' 2020-04-14 21:50:55 -04:00
rich e2c100c5bb removing " from service variable 2020-04-14 21:48:16 -04:00
rich 57e5c37f1a Merge branch 'testing' into 'dev'
changed channel to currentsub_req[1]

See merge request Bots/r0b3BOT!56
2020-04-14 21:24:36 -04:00
rich d53cc3b3f6 changed channel to currentsub_req[1] 2020-04-14 21:18:00 -04:00
rich fc7ef5eb69 Merge branch 'testing' into 'dev'
testing changes ready for dev

See merge request Bots/r0b3BOT!54
2020-04-14 20:48:21 -04:00
rich ccba129bb2 Merge branch '7-info-should-list-a-version-identifier' into 'testing'
Resolve "$info should list a version identifier"

See merge request Bots/r0b3BOT!53
2020-04-14 20:46:45 -04:00
rich d9f52bdafd Merge branch 'testing' into 'dev'
testing of version information completed, merge into dev

See merge request Bots/r0b3BOT!52
2020-04-14 20:40:23 -04:00
rich f0615c51e8 Merge branch '7-info-should-list-a-version-identifier-2' into 'testing'
Resolve "$info should list a version identifier"

See merge request Bots/r0b3BOT!51
2020-04-14 20:37:19 -04:00
rich 6deb4455ed minor console output text change 2020-04-14 20:31:37 -04:00
rich 86d7e414c2 forgot {} 2020-04-14 20:27:40 -04:00
rich 19304b5d27 adding version to info command 2020-04-14 20:23:42 -04:00
rich f87a07f6bd Merge branch 'testing' into 'dev'
Fixed redundant Statping Monitor starts

See merge request Bots/r0b3BOT!50
2020-04-14 13:38:15 -04:00
rich 6b3490557c move start of statping monitor out from bot.on_ready. Think it was being start multiple times when bot reconnected to discord. 2020-04-14 13:38:15 -04:00
rich 006468bd35 Merge branch 'dev' into 'testing'
# Conflicts:
#   r0b3bot.py
2020-04-14 13:37:43 -04:00
rich 2cf516dd1f move notice of statping mon start 2020-04-14 13:29:16 -04:00
rich 0467fde122 missing attribute 2020-04-14 13:27:35 -04:00
rich d9362fb819 rearrange to fix 2020-04-14 13:22:50 -04:00
rich b165e67676 update 2020-04-14 13:20:52 -04:00
rich 1dc54fa5f2 testing output 2020-04-14 13:19:33 -04:00
rich 91063db833 change criteria 2020-04-14 13:15:43 -04:00
rich c9f2d07f4b syntax 2020-04-14 13:12:59 -04:00
rich 290bdc3903 adding debug output 2020-04-14 13:12:27 -04:00
rich 93734ec773 pemdas 2020-04-14 13:11:14 -04:00
rich 37a6b08fe2 changed logic 2020-04-14 13:07:39 -04:00
rich f1e35bae27 added sleep 2020-04-14 12:57:40 -04:00
rich 5c2b426748 moving 2020-04-14 12:56:10 -04:00
rich ed6606f8ac case? 2020-04-14 12:54:30 -04:00
rich be4b46a81d changed to global, though I dont think that's the cause of the issue 2020-04-14 12:52:52 -04:00
rich f0c65454d3 moved start of statping monitor back to on_ready, but am now checking started state variable. 2020-04-14 09:01:19 -04:00
rich 646081286f move start of statping monitor out from bot.on_ready. Think it was being start multiple times when bot reconnected to discord. 2020-04-14 08:47:07 -04:00
rich e36d8727c5 added print statements for sending alerts 2020-04-14 08:39:16 -04:00
rich e8cf0f2c24 Merge branch 'testing' into 'dev'
Testing

See merge request Bots/r0b3BOT!48
2020-04-13 22:42:40 -04:00
rich cd4b3bbb38 Testing 2020-04-13 22:42:40 -04:00
rich 2a5ced954b added new commands to help 2020-04-13 22:39:19 -04:00
rich ea2a76bf81 adding breaks 2020-04-13 22:30:09 -04:00
rich 1be2590f43 adding another break 2020-04-13 22:09:54 -04:00
rich f37fc95ddc added break 2020-04-13 22:07:37 -04:00
rich 2515eb83a5 changed when assigning service name 2020-04-13 22:04:34 -04:00
rich 47e5c364a9 calling wrong variable 2020-04-13 22:00:46 -04:00
rich a03efbd2a9 fix indent 2020-04-13 21:59:24 -04:00
rich d49d368895 saving updated file 2020-04-13 21:58:55 -04:00
rich ba792ff1f5 moving indent out 2020-04-13 21:57:15 -04:00
rich faad238f8c fix wrong vairable assignment 2020-04-13 21:54:43 -04:00
rich cc1368258c fixing typo 2020-04-13 21:53:10 -04:00
rich 7c1b3c207d changing option 2020-04-13 21:51:55 -04:00
rich 8f9af7d10c addd -del option 2020-04-13 21:48:57 -04:00
rich 4ec07fdf77 changed info command prefix to variable 2020-04-13 21:34:45 -04:00
rich 7e9be22734 changed spalert to spstatus 2020-04-13 21:32:31 -04:00
rich d85149e5f1 seriously if this was it... ugh 2020-04-13 21:29:41 -04:00
rich 0e393b089f typo 2020-04-13 21:25:32 -04:00
rich c16fb46b78 does this work? 2020-04-13 21:24:13 -04:00
rich f051fe0087 undo 2020-04-13 21:20:01 -04:00
rich bf2ac43a88 typo 2020-04-13 21:18:50 -04:00
rich 87f82af697 ugh 2020-04-13 21:18:17 -04:00
rich 9036557154 trying a different method 2020-04-13 21:08:32 -04:00
rich c9c67f32c9 typo? 2020-04-13 21:05:53 -04:00
rich cc90375376 using .update to append 2020-04-13 21:05:02 -04:00
rich 6df3f8a55f doing it wrong 2020-04-13 21:01:16 -04:00
rich 0bf0134a86 changin variable 2020-04-13 20:59:54 -04:00
rich 576f21b6fc was not handling when serivce was not present in file 2020-04-13 20:58:36 -04:00
rich 824c952ad9 moved statement outside of loop 2020-04-13 20:54:17 -04:00
rich eeae88595d adding more console output 2020-04-13 20:52:30 -04:00
rich a709f25ea3 added consonle output 2020-04-13 20:48:37 -04:00
rich 4c43ab0e8e added placeholder 2020-04-13 20:44:33 -04:00
rich d97a2d1fe3 need to query before use 2020-04-13 20:43:51 -04:00
rich 10baa139a1 fix statement 2020-04-13 20:39:35 -04:00
rich be04db6237 fixing indents 2020-04-13 20:39:06 -04:00
rich ce319f8696 added spsub- list 2020-04-13 20:38:29 -04:00
rich b26139fdac fixing append of channel id 2020-04-13 20:13:41 -04:00
rich 98cf67381b adding response 2020-04-13 20:07:28 -04:00
rich 132267f5d4 adding more console output, fixed missing ' 2020-04-13 20:05:03 -04:00
rich 1a204d303b fixing iteration 2020-04-13 20:02:47 -04:00
rich f82227ea0d adding notice to channel of duplicate 2020-04-13 19:57:56 -04:00
rich 238bb9f5ea fixing dict creation 2020-04-13 19:55:48 -04:00
rich f026c88817 change how saving channel 2020-04-13 19:00:27 -04:00
rich fa2fb34e41 moved print 2020-04-13 18:56:24 -04:00
rich 85cf5f5ce5 added confirmation message 2020-04-13 18:53:08 -04:00
rich 1e62920925 typo 2020-04-13 18:51:09 -04:00
rich d58c7245e7 clearing up console output 2020-04-13 18:50:25 -04:00
rich 861397b455 fixing append 2020-04-13 18:41:11 -04:00
rich a265de4a62 fixing typo 2020-04-13 18:34:44 -04:00
rich d9883b6f97 fixing iteration 2020-04-13 18:33:45 -04:00
rich 64d80c79ac change to ctx.channel 2020-04-13 18:31:11 -04:00
rich 91def4cd4d working on fixing iterations 2020-04-13 18:26:47 -04:00
rich 6a46983293 changed wording for clarity 2020-04-13 18:23:09 -04:00
rich 0544d870e7 fixed call 2020-04-13 18:22:27 -04:00
rich e1327961b6 fixed 2020-04-13 18:19:44 -04:00
rich 153bc39e63 moved to single line 2020-04-13 18:18:38 -04:00
rich f94f69aa59 change debug 2020-04-13 18:10:38 -04:00
rich 9dfae705e5 now accounting for status not found response 2020-04-13 17:23:42 -04:00
rich 32144c5657 fixed comparison 2020-04-13 17:18:52 -04:00
rich 5235df2259 init status 2020-04-13 17:08:58 -04:00
rich eca6fae897 removed use of new_ 2020-04-13 17:04:48 -04:00
rich 1e58d5017d adding debug 2020-04-13 16:59:14 -04:00
rich 75121c5a79 printing status varibale 2020-04-13 16:28:56 -04:00
rich 71231d3a9b testing variable 2020-04-13 16:24:56 -04:00
rich 3b6c82d6f5 fixed iteration 2020-04-13 16:19:14 -04:00
rich 1fc96f6b3a adding debug print 2020-04-13 16:17:00 -04:00
rich c7216563e6 changing assignment type 2020-04-12 23:56:36 -04:00
rich 4a27acb4ac updated for loop 2020-04-12 23:53:42 -04:00
rich e0d77bf82d forgot closing ] 2020-04-12 23:49:50 -04:00
rich 84e6f8ed6d changing assignment 2020-04-12 23:49:02 -04:00
rich 67309f5925 adding debug output 2020-04-12 23:45:26 -04:00
rich 8480215db9 changing assignment 2020-04-12 23:43:16 -04:00
rich 7bab9a1238 setting protocol to 4 2020-04-12 23:38:56 -04:00
rich e08621d317 saving pickled dict 2020-04-12 23:38:09 -04:00
rich 204acac19c now adding key 2020-04-12 23:35:07 -04:00
rich 077e82bda2 reworked StatPing_Montor to use dict 2020-04-12 23:28:05 -04:00
rich 9af4a52927 reqrote spsub_T to use/create a nested dictionary 2020-04-12 23:11:49 -04:00
rich 2970adc634 using pickle again 2020-04-12 21:08:47 -04:00
rich a95b88d99f no bytes 2020-04-12 20:52:14 -04:00
rich 3832d13200 saving just channel id and now appending 2020-04-12 20:50:38 -04:00
rich ca06fea13f trying different library 2020-04-12 15:28:06 -04:00
rich 5575dbb054 case update 2020-04-12 15:18:45 -04:00
rich 8d02152697 more typo fixes 2020-04-12 15:16:54 -04:00
rich ae601c45f5 typo 2020-04-12 15:15:52 -04:00
rich 7391e68778 replace pickle with aiofile 2020-04-12 15:14:12 -04:00
rich 0f607f67ee more awaits? 2020-04-12 15:04:55 -04:00
rich 142a7fcf48 forgot awaits 2020-04-12 14:59:07 -04:00
rich 2ef6cf6053 Added new test functions to read in spsubs from file 2020-04-12 14:54:35 -04:00
rich dd0dbb0f27 formatting 2020-04-12 11:13:56 -04:00
rich f85a637566 added read in of command prefix and updated bot creation to use config. Also moved bot object creation to after read in of prefix config 2020-04-11 12:20:09 -04:00
rich bb711b8167 fixed missing ' in console output 2020-04-11 12:15:34 -04:00
rich 9f4ee76bb7 added bot_command_prefix to config file 2020-04-11 12:15:13 -04:00
rich 4464d589d9 change notices to embed w/ color 2020-04-10 14:26:09 -04:00
rich de815af682 wording changes 2020-04-10 14:12:33 -04:00
rich 46dc4190a0 added send to channel notifying service is now being monitored 2020-04-10 14:11:10 -04:00
rich c8414ba000 replaced sleep w/ more friendly versions 2020-04-10 14:07:45 -04:00
rich 9eaf1d8029 added some console outputs 2020-04-10 14:02:59 -04:00
rich b26af574ae fixed variable name 2020-04-10 13:24:51 -04:00
rich 51692a17db should probably rework this if elif statements 2020-04-10 13:22:13 -04:00
rich b90b5fc8f4 type 2020-04-10 13:20:13 -04:00
rich 6e0642a11b cant assign when declaring 2020-04-10 13:19:27 -04:00
rich fba8cc680c initial test of alert subscriptions 2020-04-10 13:15:59 -04:00
rich 1547784a40 removed ctx 2020-04-10 12:12:51 -04:00
rich 3b65435899 moving outside of loop 2020-04-10 12:10:57 -04:00
rich bd98d1bdcb more reworking of functions for future needs 2020-04-10 12:08:16 -04:00
rich d946067bd4 forgot await 2020-04-10 11:51:30 -04:00
rich d15267ea53 reworking functions 2020-04-10 11:49:43 -04:00
rich 05b7520a3f help text grammar 2020-04-09 23:56:36 -04:00
rich f8e04ea086 for mendo 2020-04-09 23:50:43 -04:00
rich e594d27beb removed uptime command and added spalert to $help 2020-04-09 23:40:19 -04:00
rich 427937e8d5 added $ hint in status 2020-04-09 23:37:50 -04:00
rich ff189b7357 added reply if service was not found 2020-04-09 23:26:57 -04:00
rich 92542b4405 code cleanup 2020-04-09 23:23:25 -04:00
rich 351fb9c090 commenting out debug 2020-04-09 23:13:28 -04:00
rich af6862dfe5 forgot : 2020-04-09 23:12:52 -04:00
rich 4e562c5c66 reworked if else statements 2020-04-09 23:12:31 -04:00
rich 25d0aad3cb fixed indent 2020-04-09 23:07:35 -04:00
rich 82743a0d66 dump status of all services 2020-04-09 23:06:24 -04:00
rich ce51483344 remove empty send 2020-04-09 23:05:33 -04:00
rich 40806125a5 added send for debug 2020-04-09 22:59:19 -04:00
rich bb33e9f82b moved to beginning of cmd 2020-04-09 22:54:01 -04:00
rich 7fdbcdf951 assigning properly 2020-04-09 22:52:26 -04:00
rich 369b3bf867 didnt mean to remove this 2020-04-09 22:51:11 -04:00
rich b62f864167 change back to break added spalert value to else 2020-04-09 22:49:33 -04:00
rich 5b748dc207 return 2020-04-09 22:45:54 -04:00
rich cbf96086d3 added break in for loop 2020-04-09 22:43:57 -04:00
rich 29b7cd93da .json() 2020-04-09 22:42:44 -04:00
rich 7987fe186a added .json() 2020-04-09 22:39:42 -04:00
rich 3fd8c5de0e removed slash 2020-04-09 22:33:27 -04:00
rich 82fda0be94 added contenty type 2020-04-09 22:32:37 -04:00
rich 3f9cbf8964 commented json load 2020-04-09 22:30:16 -04:00
rich d86f634827 dump to separate line 2020-04-09 22:26:31 -04:00
rich 82b08ce80b extra ) removed 2020-04-09 22:24:56 -04:00
rich 7015ac4f7e dumping json to channel for debug 2020-04-09 22:24:15 -04:00
rich bf8a306870 making global? 2020-04-09 22:20:22 -04:00
rich 2a3fc39da6 loading as json 2020-04-09 22:17:35 -04:00
rich 079770da7b corrected variable name 2020-04-09 22:15:07 -04:00
rich cabf2d3ba8 added await to cmd call 2020-04-09 22:13:09 -04:00
rich 9f8864683d fixed incorrect variable call 2020-04-09 22:09:57 -04:00
rich 56685916f0 fixed typo 2020-04-09 22:08:25 -04:00
rich 991e0f2429 ugh this is shameful, another syntax issue 2020-04-09 22:07:26 -04:00
rich 89235209e1 fixed yet another syntax error else if to elif 2020-04-09 22:06:16 -04:00
rich 66ff3375ff fixed unexpected indent 2020-04-09 22:04:47 -04:00
rich 993adfc196 fixed typo 2020-04-09 22:03:17 -04:00
rich fdbe058c2a Adding ability to query statping for service status 2020-04-09 22:00:04 -04:00
rich 4471e5930d Change server to url 2020-04-09 21:27:41 -04:00
rich 1c7c739942 added statping_server as a config variable 2020-04-07 21:01:19 -04:00
rich 0a7eec666d added comment for statping api key 2020-04-07 17:17:12 -04:00
rich 41c640ca10 Added statping API key variables 2020-04-07 17:12:09 -04:00
rich 2e961db66f added $heavy command 2020-03-30 21:24:09 -04:00
rich c0d817fb69 Added yaw command 2020-03-30 21:01:26 -04:00
rich 6d1b82d3c3 added uptime to $info command 2020-03-30 12:38:22 -04:00
rich 8805587576 add gitlab link to $info command 2020-03-29 19:00:46 -04:00