Commit Graph

64 Commits

Author SHA1 Message Date
0x5c 6153af0f62
Added .flake8
Project-wide settings
2019-10-18 16:16:57 -04:00
0x5c 7684cfe2bc
fixed workflow name 2019-10-18 16:03:19 -04:00
0x5c 3c7367e919
fixed file location 2019-10-18 16:01:24 -04:00
0x5c f1681a4e69
Added flake8 action
- Let's see how it goes
2019-10-18 15:53:30 -04:00
0x5c 6de73ac319
Merge pull request #46 from classabbyamp/img-improvements
more imagecog improvements
2019-10-18 09:26:20 -04:00
Abigail Gold 68f8a52c15
list possible args on improper arg in map/plan 2019-10-18 08:45:56 -04:00
Abigail Gold 769c93050b
linting with flake8 and pylint, code cleanup (#39)
* linting with flake8 and pylint

* add type hinting

* more linting

* and i oop

* revert caps

* update info

* remove unnecessary docstrings

* Update info.py
2019-10-18 08:27:05 -04:00
Abigail Gold e0b1e673dc
Merge pull request #42 from classabbyamp/5c-fixpaths
ImageCog: Fixed image paths
2019-10-18 08:25:07 -04:00
Abigail Gold a2dd8022ef
Merge pull request #40 from classabbyamp/5c-pngoptimise
Maps&Bandplans: Extreme image optimisation
2019-10-18 08:24:25 -04:00
0x5c f07b331fd0
ImageCog: Fixed image paths
Fixes #41
2019-10-18 06:06:20 -04:00
0x5c bd5ba08a3c
Maps&Bandplans: Extreme image optimisation
- Downsized multiple images
- Ran 'pngquant --quality 30-40' on all images
- MX bandplan had to be specially handled in Photoshop for both tasks

Part of changes for #38
2019-10-18 05:16:08 -04:00
Abigail Gold 9e620371eb
Merge pull request #31 from classabbyamp/iss16
move all images in imagecog to local files instead of URLs
2019-10-12 21:28:08 -04:00
0x5c f358405a16
Merge pull request #32 from classabbyamp/ae7qcog
Ae7qcog
2019-10-12 20:43:23 -04:00
Abigail Gold c0bc07827e
Merge branch 'master' into ae7qcog 2019-10-12 20:30:11 -04:00
0x5c baede1099a
Merge pull request #35 from classabbyamp/bare-excepts
fixed bare excepts
2019-10-12 20:24:40 -04:00
Abigail Gold 98d77c6d47
if in -> except keyerror 2019-10-12 19:50:40 -04:00
Abigail Gold 0123497f54
fixed bare excepts 2019-10-09 01:39:37 -04:00
Abigail Gold 021a1312cb
add embed footers and timestamps to all current embeds (#34) 2019-10-09 01:25:33 -04:00
Abigail Gold a0cb64789b
Move cogs to load to options.py (#33)
* list of cogs in options.py instead of hardcoded.

* moved the playing status to options.py

* add all cogs to the template
2019-10-08 23:02:57 -04:00
Abigail Gold 66af6aee24
move all images in imagecog to local files instead of URLs 2019-10-08 19:43:09 -04:00
Abigail Gold d8d0b68100
more work on ae7q callsign lookup 2019-10-08 18:57:37 -04:00
Abigail Gold 5ebcebcac2
updated embed colors, and linted some of main.py (#17)
* updated embed colors, and linted some of main.py

* fixed spacing, comments

* fixed line continuations ;3

* Fix spacing
2019-10-08 18:39:05 -04:00
Abigail Gold 19284ee1cc
add ae7q call search, basic functionality. need to error check etc still 2019-10-07 16:11:30 -04:00
0x5c 0cc613ef8a Templates: added proper comments (#30)
- Added a default value for 'owners_uids'
- Added notes on proper types where applicable.
- That's pretty much it

Fixes #26
2019-10-07 12:17:52 -04:00
0x5c 959a7609fb main.py: added checks to restart and shutdown (#27)
- Added a check for ownership of the bot
- Added a helper function to add reactions
  (and handle lack of permissions)

Fixes #7
2019-10-07 09:11:03 -04:00
0x5c 53816ffb8e
Merge pull request #15 from classabbyamp/gridcog
add grid square commands
2019-10-07 05:48:19 -04:00
0x5c 390cd715c4
Merge branch 'master' into gridcog 2019-10-07 05:47:51 -04:00
0x5c ce65f22428
Merge pull request #14 from classabbyamp/hamcog
add qcode, phonetics, utc
2019-10-07 05:39:28 -04:00
0x5c 87245e4395
Merge branch 'master' into hamcog 2019-10-07 05:39:14 -04:00
0x5c fb80caa5f6 [FIX] main.py: re-implemented shutdown and restart (#19)
- This time we actually use exit codes, and rely on a wrapper
  to restart
- Addition of said wrapper script (run.sh) (from 0x5c/quick-bot-no-pain)
- Moved both commands to main.py

Fixes #4
2019-10-06 22:42:44 -04:00
Abigail Gold 2dbe421be0
fix file handler thingy 2019-10-05 20:30:46 -04:00
0x5c 8342015217
Merge pull request #13 from classabbyamp/imagecog
added cog for cmds that retreive images
2019-10-05 20:08:30 -04:00
0x5c cd6fe1b7e8
Merge branch 'master' into imagecog 2019-10-05 20:08:14 -04:00
0x5c de08831916
Merge pull request #11 from classabbyamp/studycog
add rq and rqa commands
2019-10-05 20:02:51 -04:00
Abigail Gold 96d251fe47
convert urllib code to aiohttp 2019-10-05 19:59:19 -04:00
Abigail Gold 1e0b5f7b34
to grid or un to grid, that is the question 2019-10-05 19:54:04 -04:00
Abigail Gold 6ffcd7e9ed
add qcode, phonetics, utc 2019-10-05 19:36:45 -04:00
Abigail Gold 6497c5a0e6
added cog for cmds that retreive images 2019-10-05 19:13:24 -04:00
Abigail Gold 640ad9f8e3
but Maaaaa, I don't wanna study! 2019-10-05 18:53:23 -04:00
0x5c 454ca51720
Merge pull request #6 from classabbyamp/copyright-fix
Fix copyright notices.
2019-10-05 02:48:11 -04:00
Abigail Gold b72add0d03
Fix copyright notices. 2019-10-05 02:23:11 -04:00
0x5c cb8d4347e0
Merge branch 'funcog'
- Local merge
2019-10-05 02:12:42 -04:00
0x5c 6e1f2983e4
Merge pull request #2 from classabbyamp/morsecog
Added CW Cog
2019-10-05 01:55:58 -04:00
0x5c f467f3aa07
Merge pull request #1 from classabbyamp/basecog
add shutdown and ping commands
2019-10-05 01:47:22 -04:00
0x5c bff1deac83
Updated the Makefile 2019-10-05 01:28:52 -04:00
Abigail Gold 59e4d05229
[a very serious commit message] 2019-10-04 20:19:31 -04:00
Abigail Gold 9ccca9860b
-. . .-- / -.-. --- --. / ..-. --- .-. / -.-. .-- 2019-10-04 20:07:58 -04:00
Abigail Gold 9f586242f7
whoops 2019-10-04 19:48:58 -04:00
Abigail Gold 067adb0252
Ping! Pong! The witch is dead 2019-10-04 19:45:59 -04:00
Abigail Gold 517a13b7c3
add shutdown command 2019-10-04 18:26:20 -04:00