2939 Commits

Author SHA1 Message Date
Redjumpman
1c504f681e [V3 Config] Fixed raised Attribute Error Message (#1247)
Added space in raised Attribute Error message
2018-01-13 10:57:37 +11:00
Redjumpman
5bd7a23864 [V3 Bank] Fix can_spend and withdraw_credits (#1234)
* Fixed equality operator

can_spend function should be using a >= instead > so that you can spend all of your currency.

* Update bank.py

Fix for withdraw using the wrong equality operator.

* Revert withdraw_credits

Reverted withdraw_credits back to original operator.
2018-01-11 20:26:34 +01:00
William
7aa829fa8c [V3] Update year in license (#1242) 2018-01-09 16:20:05 -09:00
Michael H
de1b135dec [V3 Help Formatter] Fix help command's error handler (#1237) 2018-01-07 11:26:21 +11:00
Tobotimus
d83f14d1b6
[V3 Streams] Fix preceding comma in streamalert messages (#1224)
* Refactor getting mentions for streamalerts

* Add missing await

Fixes #1192
2018-01-01 18:24:36 +11:00
Kowlin
0a705071c2 [Core] QoL for argparser (#1217)
* Made Argparser more QoL

* Edited the usage command.
2017-12-31 14:19:56 +11:00
Tobotimus
80d68684fb
[V3 Context] Fix ctx.send_interactive in DM (#1221)
Fixes #1220
2017-12-31 11:29:07 +11:00
palmtree5
c737785114
Bump version to 3.0.0b5 (#1189) 2017-12-17 19:12:50 -09:00
Tobotimus
76ae62cb84 [V3 Streams] Improve command responses and help, rename modules (#1194)
* Command response improvements for streams

Fix #1182

Fix #1183

Various other command response improvements

* Rename main to streams, streams to streamtypes

* Raise errors for communities
2017-12-17 18:56:17 -09:00
palmtree5
103f79eca5 [V3 Mod] Fix helpers compatibility with User objects (#1185) 2017-12-17 22:23:54 -05:00
Will
0979231435
[V3 Sentry] Modify error logging cases (#1193)
* Fix duplicate on_

* Make better use of sentry error handler
2017-12-17 21:21:41 -05:00
palmtree5
f3da10ec98 [V3 Utils] add embed utils with a random_colour function (#1164)
* [V3 Utils] add embed utils with a random_colour function

* [V3 Utils] random_colour -> randomize_colour + make it take an embed

* [V3 Utils] decomplicate the random color selection
2017-12-17 20:45:08 -05:00
Will
0debc0a4d3 [V3 Core] Add blacklist/whitelist commands (#1160)
* Add blacklist/whitelist

* Don't let owners add themselves to the blacklist
2017-12-18 12:41:11 +11:00
Will
bc8b9d32db [V3 Launcher] Use existing logic, fix bugs (#1168) 2017-12-18 12:31:05 +11:00
palmtree5
73d68e926d [V3 Mod] fix error with [p]names (#1188)
* [V3 Mod] fix error with [p]names

* [V3 Mod] add null cleaner to names command
2017-12-17 20:23:35 -05:00
palmtree5
ba5b18dfe8 [V3 Filter] Fix typo (#1186) 2017-12-17 20:10:36 -05:00
Will
be591d7c65
[V3 Sentry] Fix sentry logging (#1169) 2017-12-12 22:34:34 -05:00
Will
b34a58e521 [V3 Dev] Fix REPL output (#1170) 2017-12-13 14:30:13 +11:00
palmtree5
4f0043b805 [V3 Mod] fix some issues relating to ignore (#1166)
* [V3 Mod] remove unnecessary decos from ignore/unignore

* [V3 Core] fix is_mod and is_admin so they don't return True if the mod/admin roles aren't set
2017-12-12 20:31:12 -05:00
aikaterna
0a0f2a9dcc [V3 CustomCom] Update cc list for V3 (#1149)
Fix for #1087.
2017-12-09 19:55:09 -05:00
Will
50c9e7767d
[V3 Dev] Fix mock command (#1156) 2017-12-09 19:44:34 -05:00
retke
a53f284c88 [V3] Fix typo in launcher menu (#1153) 2017-12-09 19:03:40 -05:00
Vicente Rivera
ee0d1d269c [V3 Streams] Fix race issue on init (#1135)
* Fix for #1132

Fixes `self.streams` being a `Task` object instead of a list. 
Also replicated for `self.communities`, since the issue is the same 
(although untested, it can be inferred).

* Implement sub-method to avoid init errors

The new method waits for `streams` and `communities` to be initialized
before running the `_stream_alerts` method, avoiding possible errors
due to lists being uninitialized

* Fix streams and communities loading

* Delete IDE config file
2017-12-09 18:58:01 -05:00
Will
6d1d699059
[V3] Actually add compatibility with 3.5.1 (#1155)
* Fix 3.5.1 issue with TYPE_CHECKING

* I hate you

* Smarter...
2017-12-09 18:51:35 -05:00
Will
02d7193a92
[V3 Downloader] Fix non relative data path (#1150) 2017-12-08 20:09:23 -05:00
Tobotimus
ef7216722f [V3] Clean up shutdown exceptions (#1141) 2017-12-08 19:24:57 -05:00
palmtree5
878d10a1e2 [V3 Core] allow set game to unset the game (#1146) 2017-12-07 16:17:47 +01:00
Kowlin
d8bb18c07d [V3 Docs] Removal of Static CSS to fix Sphinx theme (#1144) 2017-12-06 08:45:20 -05:00
palmtree5
18853d0c86
[V3] bump version to 3.0.0b4 (#1139) 2017-12-03 22:11:30 -09:00
palmtree5
648a1a1893
[V3 Launcher] add launcher (#1110)
* [V3 Launcher] add launcher

* [V3 Launcher] move extras selection to its own function

* Add distro to requirements

* [V3 Launcher] platform.linux_distribution -> distro.linux_distribution

* [V3 Launcher] add methods of setting cli flags to be passed

* [V3 Launcher] pass remaining args not known to launcher's argument parser to redbot

* [V3 Launcher] handle KeyboardInterrupt in launcher

* [V3 Launcher] undo something that would break stuff

* [V3 Launcher] remove co-owners from interactive mode redbot cli flag selection

* [V3 Launcher] clarify the disable console interaction option
2017-12-03 22:09:22 -09:00
palmtree5
52f264dae6
[V3 Streams] Update picarto stream thumbnail URIs for new load-balanced thumbnails (#1130) 2017-12-03 22:04:42 -09:00
Tobotimus
9dbf56f942 [Config] Retrieve/save values with async context manager (#1131)
* [Config] Retrieve/save values with async context manager

* Add a little docstring

* Documentation

* Implement async with syntax in existing modules
2017-12-03 18:07:34 -09:00
Tobotimus
9b1018fa96 [V3 JSON Driver] Don't save json if it exists (#1133) 2017-12-03 17:54:24 -09:00
palmtree5
5ebde77747
[V3 Core] add traceback, invite, leave, and servers commands (#1125)
* [V3 Core] add traceback, join, leave, and servers commands

* [V3 Core] rename join to invite
2017-12-03 17:42:00 -09:00
renebulous
66d8ded924 Fixed cleanup pulling more logs than required. (#1128)
Added conditional statement to break loop once number of messages to be deleted has been reached.
2017-12-03 17:30:41 -09:00
palmtree5
183572f312
[V3 Mod&Filter] add tempbans and filtering names/nicknames (#1123)
* [V3 Mod] add tempban command

* [V3 Filter] add name filtering

* [V3 Mod] Modify invite finding to have a max_age param

* [V3 Mod and Filter] regen messages.pot

* [V3 Mod] fill in formatting on tban invite

* [V3 Filter] add on_member_join + refactor logic on_member_update
2017-12-03 17:27:48 -09:00
Kowlin
de09a8b7ca [Sentry] Changed logging URL (#1138)
* [Sentry] Changed logging URL

* [Sentry] Updated URL (again, but without a free submodule)
2017-12-03 15:29:06 -09:00
Will
9a98d5aa8f
[V3 Help] Fix help for unknown commands (#1137) 2017-12-03 18:02:03 -05:00
palmtree5
e6086bb7b3 [V3 Core] add info command (#1124) 2017-12-03 17:31:20 -05:00
Will
064e9b6bd0
[V3 Help] Convert help command to support embeds (#1106)
* Replace built in help with embedded help

* Make embeds pagify

* Fix thingy

* Fix missing embed permissions
2017-11-26 20:04:26 -05:00
Tobotimus
09ed5e67a6 Handle inability do delete others' messages (#1111) 2017-11-22 21:21:53 -09:00
Tobotimus
2c96844209 Make audit_type optional in casetypes (#1119) 2017-11-22 21:17:42 -09:00
palmtree5
acbb5b1720
Bump version to 3.0.0b3 (#1105) 2017-11-19 14:55:29 -09:00
palmtree5
9bfa390d0c
[V3 Filter] handle exception when registering case type (#1108) 2017-11-19 14:49:37 -09:00
palmtree5
69c50591b2 [V3 Mod] Fix unban and case numbering problems (#1101)
* [ModLog] fix case numbering issue

* [Mod] fix unban command
2017-11-19 18:47:30 -05:00
Will
02d3aec33e [V3 Dependencies] Fix travis/gh 429s (#1109)
* Fix travis/gh 429s

* JK this fixes it

* Keep pip updated

* Ok lets just use pip

* ONE...MORE...
2017-11-19 14:43:35 -09:00
Will
e983e1cefb Fix shutdown issue with streams (#1107) 2017-11-19 14:32:00 -09:00
Tobotimus
b94bad38e7 [V3 Context] Interactive sending of multiple messages (#1081)
* Interactive pages method for context

* Use new methods in dev

* Undo code formatting

* Rename method to be more generalised

* More general arg
2017-11-19 14:21:40 -09:00
palmtree5
8dcace4bfd
[Core V3] add instance listing cli flag (#1079)
* [Core] add instance listing cli flag

* Alphabetically sort instance names
2017-11-19 14:17:01 -09:00
Tobotimus
1b6065bb46 [V3 Economy] Update from config changes (#1084) 2017-11-19 18:01:09 -05:00