Commit Graph

78 Commits

Author SHA1 Message Date
classabbyamp
750fe65fcd
0x5c did an oopsie (#329) 2021-01-17 23:13:14 -05:00
classabbyamp
d6e381efec
add reactions intent (#313)
fixes #312
2020-12-10 09:07:30 -05:00
0x5c
5dab93b7d3
Changed the intents and member cache
- Now only intents GUILDS, GUILD_MESSAGES, DIRECT_MESSAGES.
- Member cache now from intents.

Fixes #296
2020-10-30 06:14:14 -04:00
0x5c
19952396f2
Fixed numerous small potential bugs
- Most are typing related

Fixes #289
2020-10-28 23:22:28 -04:00
0x5c
00f9929deb
Made bot work with new Intents system + only cache needed things
- all in one
- Bumped discord.py to 1.5.0

Fixes #267
Fixes #268
2020-10-06 18:56:45 -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
Abigail Gold
8ca4911072
make commands case-insensitive (#210)
Fixes #209
2020-03-28 19:07:23 -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
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