Commit Graph

25 Commits

Author SHA1 Message Date
0x5c
98b2f30dcc
Moved map/plan code to a single function
Also changed ?bandplan aliases

Fixes #189
2021-03-27 18:00:28 -04:00
0x5c
0241d1856a
Added and switched to the Resource Manager
- Added Resource Manager
- Migrated most exts to it
- Added config entry for the resources URL
- Added my ID to template
- Bumped copyright on edited files

Fixes #246
2021-03-18 09:17:30 -04:00
0x5c
ac183a3e7f
Fixed ?greyline caching (set date url param)
Fixed #318
2021-01-18 00:28:16 -05:00
0x5c
ad96b59b23
Changed the greyline colour theme
Fixes #316
2020-12-11 11:31:11 -05:00
0x5c
eba8eec5ac
Add nonce to greyline URL to force cache bypass
Fixes #308
2020-12-10 17:38:10 -05:00
0x5c
e660b1a8f5
Switch to sending an URL instead of fetching images
This only applies to images that were downloaded.
Images that are hosted in the bot are not affected.

Fixes #230
Fixes #295
2020-10-30 05:22:16 -04:00
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
9ef4864d15
Removed unused f-strings
- f"" -> ""

Element of #142
New year lint removal
2020-02-05 07:30:14 -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
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
0x5c
12886fad89
Fixed bad file/embed sending logic in multiple commands
-> image/*, weather/*
- Addressed #167 for those commands
- weather/greyline: moved gl_url to the class

Fixes #139
Touches #167
2020-01-20 03:17:50 -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
309f9f7ecb
F**ing delayed linter 2019-12-23 21:17:59 -05:00
0x5c
1b21583d41
Merge branch 'master' into 5c-metadata
Fix conflicts
2019-12-23 21:13:01 -05:00
0x5c
3ab8fae80a
Removed extraneous blank lines 2019-12-23 21:02:55 -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
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
12dc87ae9b
changed all references of qrmbot to qrm2. Fixes #96 2019-12-08 15:40:17 -05:00
Abigail Gold
fe39822dd5
remove ext from filenames 2019-12-08 03:10:30 -05:00