Commit Graph

55 Commits

Author SHA1 Message Date
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
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 390cd715c4
Merge branch 'master' into gridcog 2019-10-07 05:47:51 -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
0x5c cd6fe1b7e8
Merge branch 'master' into imagecog 2019-10-05 20:08:14 -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
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
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 2baff301de
renamed infocog to basecog 2019-10-04 18:16:47 -04:00
Abigail Gold a6d6dd2c74 added copyright info 2019-10-04 18:07:50 -04:00
0x5c 5989f123e8
Added task to refresh the activity
- It's like `chron`, but in discord!
2019-10-04 14:17:45 -04:00