Commit Graph

20 Commits

Author SHA1 Message Date
Abigail 4b122518f5 migrate classabbyamp/discord-qrm2 to miaowware/qrm2 2020-02-15 06:27:48 -05:00
0x5c fdfc8cce06
Copyright headers cleanup
Element of #142
New year lint removal
2020-01-31 06:50:50 -05:00
0x5c 56b74108eb
Block-style line continuations for data
Element of #142
New year lint removal
2020-01-30 06:55:11 -05:00
0x5c 29d0440d3d
Normalised string quote type
- "" instead of '', except for dictionary lookups in f-strings

Element of #142
New year lint removal
2020-01-30 06:15:42 -05:00
Abigail Gold 29e75c38e1
Merge pull request #178 from classabbyamp/help-checks
Verify checks in help commands
2020-01-28 22:49:53 -05:00
0x5c 976b3e8bf3
Improved error handling in commands
- Changed all "status != 200" to raise a custom exception
- Raise appropriate exceptions in 'grid'
- Removed command-specific error handling in 'extctl' commands

Fixes #146
2020-01-27 00:37:52 -05:00
Abigail Gold 8686b0ef96
Merge branch 'master' into help-checks 2020-01-21 22:34:59 -05:00
Abigail 831667ec10 helpcommand now verifies checks when displaying help
Additionally:
- added admin category
- removed hidden flag from commands
- added checks to all extctl commands

Fixes #109
2020-01-21 22:21:30 -05:00
Abigail Gold b6f6d0408c
WIP: answer hamstudy by reaction 2020-01-20 20:50:55 -05:00
0x5c 0608a74e6c
echo: New converters for arguemnts
- Created a GlobalChannelConverter
- Accepts Union[GlobalChannelConverter, UserConverter]

Fixes #145
2020-01-08 02:19:35 -05:00
Abigail Gold 8f15feab94
update copyright for nuevo ans
Fixes #150
2020-01-06 23:27:48 -05:00
0x5c 0615df0829
Better command error handling
- Added handling for all subclasses of CommandError
- Added more emojis
- Renamed some emojis
- debug_mode -> bot.qrm.debug_mode

Fixes #22

Co-authored-by: Abigail Gold <dev@kb6.ee>
2020-01-03 23:03:17 -05:00
0x5c 1b21583d41
Merge branch 'master' into 5c-metadata
Fix conflicts
2019-12-23 21:13:01 -05:00
0x5c 96b2a8f259
Metadata update!
- Added flag emojis to commands with countries.
- Added image attribution and description to "image" commands.
- Added file metadata to image resources.
- Added new key in options.py: pika.
- Added classes to deal with file metadata.
- Added common paths to common.py.
- Changed directory/file names of resources.
- Documented the new metadata format.

Fixes #83 - Metadata storage
Fixes #86 - Country flags
2019-12-23 20:51:31 -05:00
Abigail f1993c85b2 combine all aiohttp operations into a single session
Fixes #49
2019-12-23 17:54:20 -05:00
Abigail 7a9d64465e convert all embed creation to embed_factory 2019-12-16 03:49:34 -05:00
Abigail Gold 12dc87ae9b
changed all references of qrmbot to qrm2. Fixes #96 2019-12-08 15:40:17 -05:00
0x5c bb8cb1eff5
Moved checks and helpers to common.py
Fixes #87
2019-12-08 04:10:19 -05:00
0x5c 387355af7e
Extention control commands
- Extctl: live load/reload/unload/list of extensions.
- Added helper to create error embeds.
- Added status emojis to common.py.

Fixes #82
Fixes #88
2019-12-07 11:38:34 -05:00
Abigail Gold ad2c559a0f
Custom Help Command (#55)
* subclasses HelpCommand to implement a custom help command.

add cog names for display in the help command.

Globalsettings is no longer a cog. HelpCommand uses the custom attribute
category for grouping commands.

* PEP8 fixes

* improve variable names for help command clarity. Fixes #70

* improve help command formatting

add aliases for weather commands
add help text for ae7q call and qrz

* move global_settings to common

* rename import alias

* fix loading/unloading of help command

* fix info command

* fix options import

* changed canonical command names to be more descriptive

* remove cog names and revert map/bandplan error listing

* add link to hamstudy references
2019-12-06 01:19:42 -05:00