0x5c
cd2503c953
Merge pull request #300 from miaowware/paths
...
Moved paths to pathlib
2020-10-30 08:58:16 -04:00
0x5c
77a5af73bc
Merge pull request #297 from miaowware/no-dl
...
Switch to sending an URL instead of fetching images
2020-10-30 08:57:44 -04:00
0x5c
d8fe3cfa02
Yes, this is a PR to remove a newline
...
Yes, I have OCD
Yes, I made an issue just for that too
Fixes #299
2020-10-30 07:18:58 -04:00
0x5c
ffc3be7e24
Moved paths to pathlib
...
Turns out most paths were already using pathlib, only remained
some in lookup.py and fun.py
Fixes #45
2020-10-30 07:07:56 -04: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
classabbyamp
77e14a109c
convert Unit into a dataclass, move parse to converter ( #257 )
...
fixes #256
2020-10-28 21:06:30 -04:00
classabbyamp
f26a7af928
fixed qsl/lotw status being incorrectly shown ( #278 )
...
fixes #277
2020-10-28 21:03:41 -04:00
classabbyamp
77b572eb3e
add a decibel conversion command ( #250 )
...
fixes #231
2020-09-27 17:52:52 -04:00
classabbyamp
488ae6cc98
fix displaying multiple prefixes, add option to display ?help in status ( #249 )
...
* fix displaying multiple prefixes, add option to display ?help in status
Fixes #229
Co-authored-by: 0x5c <dev@0x5c.io>
2020-09-27 16:36:39 -04:00
classabbyamp
756a15c4c5
added ?worksplit
command ( #247 )
...
fixes #233
2020-09-27 16:07:21 -04:00
classabbyamp
b462527211
add canadian callsign info, improve the prefix info data system
...
fixes #243
2020-09-24 19:02:12 -04:00
Abigail Gold
2cb4b03532
add phonetic weight command ( #215 )
...
Fixes #170
Co-authored-by: 0x5c <dev@0x5c.io>
2020-03-30 18:56:29 -04:00
Abigail Gold
bc93462c29
convert all OrderedDicts to dictionaries ( #214 )
...
Fixes #184
Co-authored-by: 0x5c <dev@0x5c.io>
2020-03-30 18:54:33 -04:00
Abigail Gold
6867c45c8c
add ?standards command for xkcd 927 ( #213 )
...
Fixes #187
2020-03-30 18:24:50 -04:00
Abigail Gold
8ca4911072
make commands case-insensitive ( #210 )
...
Fixes #209
2020-03-28 19:07:23 -04:00
0x5c
d650cbd6c1
Removed lint
2020-02-25 20:44:53 -05:00
0x5c
4d9f9d1b19
Added/fixed/removed typing managers
...
Fixes #167
2020-02-25 20:36:21 -05:00
0x5c
2049ca9fca
Fix HamStudy image error
...
- Fixed the image link
- Removed unused import (pytz)
- Added test pool file to dev-notes
Fixes #203
2020-02-25 19:45:32 -05:00
Abigail
c57056e586
fix offset-naive and offset-aware datetime conflict
...
Fixes #201
2020-02-20 01:32:17 -05:00
Abigail
4b122518f5
migrate classabbyamp/discord-qrm2 to miaowware/qrm2
2020-02-15 06:27:48 -05:00
Abigail
9471eaa3cb
remove extra comma in pfx invalid input handler
2020-02-15 05:58:57 -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
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
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 Gold
9113638b67
Merge pull request #177 from classabbyamp/hamstudy-refactor
...
Hamstudy refactor
2020-01-21 22:26:49 -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
b64c7ee39a
damn you flake8
2020-01-21 20:31:13 -05:00
Abigail
09c58f9ba2
removed hamstudyanswer command and replaced it with using reactions to
...
answer questions.
Fixes #169
2020-01-21 19:48:19 -05:00
Abigail Gold
61f0c9423e
WIP: help command checks
2020-01-20 20:52:22 -05:00
Abigail Gold
b6f6d0408c
WIP: answer hamstudy by reaction
2020-01-20 20:50:55 -05:00
0x5c
94f9865103
Merge pull request #175 from classabbyamp/5c-sendlogic
...
Fixed bad file/embed sending logic in multiple commands
2020-01-20 17:53:56 -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
Abigail Gold
ce107f5a82
Merge pull request #162 from classabbyamp/ae7q-refactor
...
refactor ae7q call, add other ae7q query types
2020-01-17 17:57:12 -05:00
Bruce Yang
671b0e9ee5
Fixed issue #172
2020-01-17 00:30:08 -05:00
Abigail Gold
776ff72581
add ability to use any pool for hamstudy command
...
Fixes #28
2020-01-13 14:06:26 -05:00
Abigail Gold
58c69f5aeb
add typing context to ae7q commands
2020-01-08 17:47:34 -05:00
Abigail Gold
04cbc920ce
add ae7q licensee command
...
Progress on #95
2020-01-08 17:07:02 -05:00
Abigail Gold
f5a9b0b780
Merge branch 'master' into ae7q-refactor
2020-01-08 16:33:07 -05:00
Abigail Gold
eb5e038624
add ae7q frn command
...
ae7q applications is WIP, and is commented out. There is also an
applications table on the FRN page, which could be used in the future
Progress on #95
2020-01-08 16:20:52 -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
eaa47fc724
add ae7q trustee command, add short aliases for ae7q subcommands, bugfixes in ae7q call
...
Progress on #95
Fixes #153
2020-01-07 15:49:48 -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
30455153ba
refactor ae7q call, add ae7q c alias
...
Process on #95
2020-01-07 04:28:51 -05:00
Abigail Gold
8f15feab94
update copyright for nuevo ans
...
Fixes #150
2020-01-06 23:27:48 -05:00
Abigail Gold
5e33a6aca6
add trustee field to qrz
...
Fixes #154
2020-01-04 17:14:41 -05:00
Abigail Gold
238cdf1c72
Merge branch 'master' into ae7q-bugfixes
2020-01-04 16:59:05 -05:00
Abigail Gold
f4f034abfe
Merge branch 'master' into clog-arg
2020-01-04 16:56:57 -05:00
Abigail Gold
ae673f7026
Merge pull request #155 from classabbyamp/qrz-link
...
add --link flag to only link the qrz page (rather than embed)
2020-01-04 16:56:02 -05:00
Abigail Gold
b94a8d42dd
update docstring for changelog command
2020-01-04 16:37:37 -05:00
Abigail Gold
60f8e80b82
Fixed issue where incorrect table was parsed in ae7q call
...
Fixes #152
2020-01-04 16:33:49 -05:00
Abigail Gold
9552a7f6d4
Fixed ditto marks appearing in ae7q call
...
Fixes #151
2020-01-04 15:40:40 -05:00
Abigail Gold
e7baca453c
changed changelog command to accept a version as argument
...
Fixed version numbering and typo in CHANGELOG
Fixes #116
2020-01-04 15:24:33 -05:00
Abigail Gold
673d154b94
add category to prefixes command
...
Fixes #148
2020-01-04 14:46:40 -05:00
Abigail Gold
118d5e0b63
add --link flag to only link the qrz page (rather than embed)
2020-01-04 14:40:08 -05:00
Abigail Gold
09323e54bc
add command to link to the issue tracker
2020-01-04 01:49:37 -05:00
Abigail Gold
f974bf1223
beep
2020-01-04 01:40:17 -05:00
0x5c
70505f10f6
Merge pull request #143 from classabbyamp/5c-fixclose
...
Fix unclosed files (BytesIO)
2019-12-31 03:34:36 -05:00
0x5c
807ef46379
Fix unclosed files (BytesIO)
...
Fixes #119
2019-12-31 03:18:30 -05:00
Abigail Gold
f32aa240ce
Merge pull request #138 from classabbyamp/continuations
...
correct some line continuations
2019-12-31 01:16:13 -05:00
Abigail
74558c7f27
fix regression in grid (continuations)
2019-12-31 01:13:45 -05:00
Abigail Gold
ea8c3a9045
in dent we trust
2019-12-25 02:52:14 -05:00
Abigail
b0072f779e
addressing the issue for once
2019-12-25 02:48:59 -05:00
Abigail
69d36fea7f
oop
2019-12-25 02:30:03 -05:00
Abigail Gold
5e250b5e3e
Merge pull request #137 from classabbyamp/phonetics
...
Phonetics refacAtor
2019-12-25 02:15:04 -05:00
Abigail
4368e0b603
correct some line continuations
...
Fixes #43
2019-12-25 01:42:04 -05:00
Abigail
0b292eda10
make phonetics cmd into funetics, create phonetics cmd, convert morse
...
and qcode json to python dicts
Fixes #122
Fixes #123
2019-12-25 00:42:54 -05:00
Abigail
3da67ad6a2
add official server to info command.
...
Fixes #134
2019-12-24 21:04:59 -05:00
Abigail Gold
02192a7ea9
Merge pull request #132 from classabbyamp/5c-metadata
...
Metadata update!
2019-12-24 10:32:32 -05:00
0x5c
3196aa6e40
Removed an unused f-string
2019-12-23 21:29:50 -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
e9d2274e64
remove print statement
2019-12-23 11:49:55 -05:00
Abigail
ae67498e75
qrz: handle addresses that are only whitespace
...
Fixes #124
2019-12-23 11:47:37 -05:00
Abigail Gold
e64c9ba2df
Merge pull request #125 from classabbyamp/embed-add-syntax
...
change embed = embed.add_field() to embed.add_field()
2019-12-23 10:41:37 -05:00
Abigail
ca224cc744
fix commands that do not use embeds
...
Fixes #50
2019-12-23 10:32:24 -05:00
Abigail
a93f6d7a03
>:-( PEP8
2019-12-23 09:57:05 -05:00
Abigail
d3fd36fb75
change embed = embed.add_field()
to embed.add_field()
. Fixes #106 .
2019-12-23 09:53:49 -05:00
Abigail Gold
e84ba201bd
Merge pull request #118 from classabbyamp/embed-factory
...
convert all embed creation to embed_factory
2019-12-18 10:35:15 -05:00
Abigail Gold
26765e86b6
Merge pull request #104 from classabbyamp/echo-cmd
...
add command to echo a message as the bot in a channel
2019-12-18 10:21:17 -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
7416596ac3
add yanked v1.0.0, update parser to handle yanked versions
2019-12-16 00:15:37 -05:00
Abigail
afa2054323
reorder changelog, add links, fix changelog parser
2019-12-16 00:02:21 -05:00
Abigail
d522389f9f
change changelog command to only display the most recent version
2019-12-15 19:10:03 -05:00
Abigail Gold
6cbf975593
add temporary cc command
2019-12-15 12:51:43 -05:00
Abigail Gold
eb449f0f48
remote lookup functions ( #10 )
...
* add dxcc lookup
* use new module `ctyparser` to simplify dxcc data management
* fix logic in dxcc command
* Fixes #21
2019-12-11 02:33:11 -05:00
Abigail
ba1b7e947f
add command to echo a message as the bot in a channel.
...
Command errors are not handled because that will be done in #22 . Fixes #77
2019-12-10 00:47:40 -05:00
Abigail Gold
12dc87ae9b
changed all references of qrmbot to qrm2. Fixes #96
2019-12-08 15:40:17 -05:00
Abigail Gold
725172f341
Merge branch 'master' into cog-to-ext
2019-12-08 03:16:08 -05:00
Abigail Gold
fe39822dd5
remove ext from filenames
2019-12-08 03:10:30 -05:00