Commit Graph

88 Commits

Author SHA1 Message Date
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
0x5c 0d7dc3853c
*COGS COGS COGS COG COGS COGS*
- Added GlobalSettings cog to allow extensions to access "global" settings
- Moved _info() to a separate cog
- added default on_ready() stuff
2019-10-04 13:10:27 -04:00
0x5c c8c2e80099
Uniformised module docstrings 2019-10-04 11:39:12 -04:00
0x5c a66dcb64e2
Added the info command
- Now you can't say that you don't know where is the source >:(
2019-10-04 08:53:05 -04:00
0x5c eaace87517
main.py: added error handling for the bot task
- no mo traceback 4 me
2019-10-03 23:08:08 -04:00
0x5c a1da6a32e0
*And thus, a new bot was born.*
No but seriously, the bot works, yay!
- Even got a nice makefile to automagically setup everything. *majiks!*
2019-10-03 22:17:36 -04:00