Will
64af7800dc
[V3 Config] Adjust functionality of get_attr ( #1342 )
...
* Intermediate commit
* Add defaulting stuff to config
* Remove set_attr in favor of set_raw
* Modify get_attr
* Fix issue with clearing data
2018-02-26 11:13:01 -09:00
palmtree5
c428982c00
[V3 Core] Add listlocales command ( #1351 )
...
* [V3] Add listlocales command + remove a hanging 2 letter translation
* Sort the locales list
* Doc info in set locale
2018-02-26 15:05:06 -05:00
Michael H
09ddfe4250
[V3] Re-allow using presence modifying commands without being in a guild ( #1345 )
...
Actually update on all shards (we need to do this even with autoshardedbot as base)
2018-02-25 21:10:59 -09:00
Will
e13de0950c
[V3 Config] Implement a true clear method ( #1344 )
...
* Add clear methods to drivers
* Update config clear methods, add to Value
* Add test
2018-02-25 21:07:28 -09:00
palmtree5
0593bb9c53
[V3 i18n] Update translations from Crowdin ( #1350 )
2018-02-25 21:57:14 -05:00
Will
93ca7abc1a
[V3 Core Commands] Limit status modifying commands to be run in guild only ( #1331 )
...
* Limit status modifying commands to be run in guild only
* JK let em run.
* Add a space
2018-02-23 02:44:06 +01:00
Will
d54c129c57
[V3 Config] Allow users to directly specify a cog name with config ( #1339 )
2018-02-22 19:42:30 -05:00
Will
7c848153f8
[V3 Config] Limit config objects to a single one per cog ( #1337 )
...
* Limit config objects to a single one per cog
* do it correctly
* Do nicer thing
* do it right...
* I will get this right eventually
2018-02-22 19:36:07 -05:00
Will
4e36c2f82d
[V3 Config] Add helper methods for advanced data access ( #1335 )
...
* Add get_raw/set_raw
* Add default to get_raw
* Add custom group method to the config object
* Add more methods for custom groups
* Add some docstrings
* Deepcopy the result of get_raw, throw TypeError if no value is passed to set_raw
* Do it right..
* Better way to require kwarg
2018-02-23 11:29:37 +11:00
Sebass13
b5c71bc59c
[V3 Mod/Filter] Fix #1202 ( #1327 )
...
* Fix #1326
Checks to see if `author` is a `valid_user` (of `Member` class) before checking to see if the bot `is_mod_or_superior` to the `author`.
* Fix #1202
Raises `TypeError` when `User` objects are passed into `is_mod_or_superior` or `is_admin_or_superior`, as only `Member` objects have a `guild` attribute.
* Fixes #1202
Checks to see if `author` is a `valid_user` (of `Member` class) before checking to see if the bot `is_mod_or_superior` to the `author`.
2018-02-21 18:36:13 -05:00
Will
f9d846a704
[V3 Config] Driver code initial cleanup ( #1315 )
...
* Remove get_driver
* Rename self.driver to self._driver
* Do not unnecessarily pass the cog identifier
* Remove unused import
* Fix type annotation
* Missed a keyword rename
* Modify signature of get/set methods in drivers
2018-02-18 18:30:32 -09:00
retke
3984cb8f48
load and reload command errors available with the [p]traceback command ( #1307 )
2018-02-19 04:18:56 +01:00
Bakersbakebread
a0327a62dd
move [p]cogs to embeds ( #1299 )
...
* move [p]cogs to embeds
Fancy embeds for the masses
* pagify
2018-02-18 18:03:27 -09:00
palmtree5
a388d07f30
[V3 Events] modify CommandInvokeError handler to use the vague message as a fallback if a cog doesn't provide its own __error function ( #1279 )
2018-02-19 03:59:46 +01:00
Will
b871241eac
[V3 Core] Add optional async setup function ( #1314 )
2018-02-18 21:12:58 -05:00
palmtree5
86b5932c8f
[V3] add a script for regenerating all strings ( #1318 )
...
* [V3] add a script for regenerating all strings
* Edits to the yml files
* Fix up deploy section
* Make generate_strings upload to Crowdin
2018-02-19 03:02:22 +01:00
William
263e94454c
[V3 Core] Adds listening and watching games. ( #1284 )
...
* Adds listening and watching games.
* Remove guild check
* Fix typos
* Fix more typos.
2018-02-14 16:55:18 -09:00
aikaterna
78615b5dc8
[V3 Core] Add timeout exceptions to [p]servers ( #1305 )
2018-02-14 16:21:51 -09:00
Haruki N. Grande
9f8a008442
[V3 CogManager] Fixed typo ( #1285 )
2018-02-14 15:57:17 -09:00
Will
6678b29396
[V3 Config] Fix async context manager bug and add test ( #1308 )
...
* Fix config bug and add test
* Fix the full bug
* Extra safeness
2018-02-14 19:12:13 -05:00
Michael H
de3a057e6e
[V3] Allow root to own data ( #1264 )
2018-01-28 18:41:01 -09:00
palmtree5
f36ed2f8c8
[V3 Core] add restart command ( #1272 )
2018-01-29 04:29:56 +01:00
palmtree5
1d1f2c9f12
[V3 Core] add uptime command ( #1273 )
2018-01-29 04:25:17 +01:00
Redjumpman
9feb7ad876
Config Fix ( #1267 )
...
Added helper function to fix all() method
2018-01-29 04:19:41 +01:00
Michael H
1b45397e67
[V3 Core] Mentionable prefix ( #1256 )
...
* allow mentioning the bot as a fallback to a prefix
* make this toggleable
2018-01-24 10:43:51 +11:00
Michael H
b80c327e35
For Linux service users, ( #1236 )
...
* For Linux service users,
use `appdirs.AppDirs().site_data_dir`
instead of `appdirs.AppDirs().user_config_dir
* somewhat important for this to be changed consistently
* need to import os to use it
* travis doesn't like how I was checking in config_dir had been set.
2018-01-15 05:35:33 +01:00
Tobotimus
73c08da037
[V3 Sentry] Allow toggling of Sentry logging ( #1214 )
...
* Refactor sentry to allow toggle
* Rename sentry module
* Protect sentry manager
* Fix tests
* Fix EOF newlines
* Add docstrings
2018-01-15 15:26:26 +11:00
Tobotimus
980e8eeb3e
[V3 Core] Catch errors when reloading ( #1225 )
2018-01-14 19:04:09 -09:00
Tobotimus
ffea55265d
[V3] Fix UnicodeEncodeError on startup ( #1248 )
...
Fixes case where encoder can't support border characters
2018-01-14 18:57:28 -09:00
Tobotimus
68800d28fc
[V3 Streams] Replace instances of ClientSession assignment with async context manager ( #1238 )
2018-01-14 18:43:06 -09:00
Tobotimus
05c5c58eaf
[V3 Utils] Improve bordered function and add tests ( #1206 )
2018-01-13 11:15:34 +11:00
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
Michael H
de1b135dec
[V3 Help Formatter] Fix help command's error handler ( #1237 )
2018-01-07 11:26:21 +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
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
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
Will
50c9e7767d
[V3 Dev] Fix mock command ( #1156 )
2017-12-09 19:44:34 -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
palmtree5
878d10a1e2
[V3 Core] allow set game to unset the game ( #1146 )
2017-12-07 16:17:47 +01: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
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