Abigail
4b122518f5
migrate classabbyamp/discord-qrm2 to miaowware/qrm2
2020-02-15 06:27:48 -05:00
0x5c
af136c3d3e
Cleaned up description of commands
...
- Formatting and wording
Element of #142
New year lint removal
2020-02-15 04:59:25 -05:00
0x5c
6803b058d5
Reordered imports
...
- stdlib
- 3rd-party (pip)
- discord
- local (common, info, utils, & resources)
- data
Element of #142
New year lint removal
2020-02-05 07:09:08 -05:00
0x5c
fdfc8cce06
Copyright headers cleanup
...
Element of #142
New year lint removal
2020-01-31 06:50:50 -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
Abigail
6c32dcbead
fix can_run logic, re-hide xd, remove unnecessary checks
2020-01-28 22:45:10 -05:00
0x5c
74327378b9
Merge pull request #183 from classabbyamp/5c-errhandling
...
Improved error handling in commands
2020-01-28 05:51:12 -05:00
Abigail Gold
c1d3c63503
Merge branch 'master' into help-checks
2020-01-28 01:23:51 -05:00
Abigail
6768a1e01d
Merge branch 'help-checks' of github.com:classabbyamp/discord-qrm2 into help-checks
2020-01-28 01:21:40 -05:00
Abigail
ea508d2a59
remove unnecessary categories
2020-01-28 01:19:21 -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
0b4204dc13
add aliases to restart and shutdown commands
...
Fixes #179
2020-01-24 20:15:28 -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
0x5c
925a05aafb
Mini-fix: extraneous warning emoji reaction on messages starting with "??"
...
- also taken care of: "?!"
2020-01-20 03:49:03 -05:00
0x5c
8db13755bc
Added aliases for extctl and subcommands
...
Fixes #164
2020-01-08 03:47:00 -05:00
0x5c
60764cd733
Merge pull request #163 from classabbyamp/async-session
...
[FIX] aiohttp DeprecationWarning
2020-01-07 15:39:36 -05:00
0x5c
8bfaaf4af6
[FIX] aiohttp DeprecationWarning
...
- Passing a connector to Bot()
- Using that connector for sessions in extensions
Fixes #141
2020-01-07 05:36:09 -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
f7aaa467b5
>_> pep8
2019-12-23 18:10:36 -05:00
Abigail
f1993c85b2
combine all aiohttp operations into a single session
...
Fixes #49
2019-12-23 17:54:20 -05:00
Abigail
28eb6d45c1
updates from review
2019-12-23 15:57:57 -05:00
Abigail Gold
951dc38992
Update main.py
...
Co-Authored-By: 0x5c <0x5c.dev@gmail.com>
2019-12-23 15:56:25 -05:00
Abigail
4d763c2fc1
sigh
2019-12-23 14:08:05 -05:00
Abigail
b25b5a95ff
refactor to allow for fixed, random, or by time statuses
2019-12-23 14:06:42 -05:00
Abigail
9e79eececc
remove print statement
2019-12-23 13:34:56 -05:00
Abigail
f649d15890
modify playing status so it changes based on time of day
...
Fixes #57
2019-12-23 13:29:04 -05:00
Abigail
c48a4069cb
add reactions on keywords functionality
...
Fixes #52
2019-12-23 11:32:02 -05:00
Abigail
51cd182c57
PEP8, my nemesis, we meet again! (removed unused imports)
2019-12-16 03:59:14 -05:00
Abigail
7a9d64465e
convert all embed creation to embed_factory
2019-12-16 03:49:34 -05:00
Abigail Gold
6ffe5efb72
Merge pull request #100 from classabbyamp/qrm2
...
changed all references of qrmbot to qrm2
2019-12-09 02:03:52 -05:00
Abigail Gold
9bbe71a67d
add shutdown/restart console messages. Fixes #89
2019-12-08 16:02:09 -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
Abigail Gold
51a396e049
a little fucky-wucky
2019-12-08 03:26:04 -05:00
Abigail Gold
cc7e95caff
oopsie whoopsie
2019-12-08 03:24:14 -05:00
Abigail Gold
725172f341
Merge branch 'master' into cog-to-ext
2019-12-08 03:16:08 -05:00
Abigail Gold
7f169ad3eb
rename "cogs" to extensions (more accurate!)
2019-12-07 17:26:55 -05:00
Abigail Gold
521c99a614
fix imports. Fixes #85
2019-12-07 17:13:06 -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
Abigail Gold
4743a2524f
i'm a dummy
2019-11-03 10:43:43 -05:00
Abigail
824af34cbf
move keys.py and options.py to the data directory
2019-11-02 16:56:03 -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
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
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