2245 Commits

Author SHA1 Message Date
Will
5cfa7b6ed1 [V3 DataManager] Add some helper methods for interacting with bootstrapping configuration (#1029)
* Some helpers

* Add dunder all
2017-10-17 22:05:49 -04:00
Tobotimus
c80684a129 [V3] NumPy Docstrings (#1032)
* ALL THE DOCSTRINGS

* Remove imports in drivers package

* Fixed build warnings
2017-10-17 22:01:59 -04:00
Will
684004d614 [V3] Add sharding (#1027)
* EZ PZ sharding

* Add this little nugget
2017-10-16 19:54:55 -04:00
Aioxas
4d7f065b10 [Alias V3] Corrected functions & spelling (#1023)
As discussed with Will in Discord.
2017-10-16 18:27:02 -04:00
Kowlin
d1d8711f60 Updated Codeowners (#1026)
* Updated Codeowners

* Added new cogs to Codeowners
2017-10-16 14:14:15 -08:00
Nick Rodriguez
f0821776a9 Fix #936 (#1022) 2017-10-16 14:03:27 -08:00
Kowlin
5c7361b95f Attempt at fixing build errors. (#1025) 2017-10-16 11:27:27 -08:00
Tobotimus
980a1a452c [V3 Dev] Various fixes and improvements to Dev (#981)
* Include discord in [p]debug env

* Typecast eval output to string

* Use globals instead of locals for debug

* Fix up storing last result and non-string results

* Cleanup code and better help messages
2017-10-15 22:45:09 -04:00
palmtree5
4993c5a675 [V3 Docs] Add install guides to the documentation (#1005)
* [Docs] add install guides to the documentation

* formatting changes
2017-10-15 22:40:57 -04:00
Tobotimus
86b18c702c [V3] Custom context class (#988)
* Create custom context class

* Documentation

* Remove old help method, replace with new

* Update from rebase
2017-10-15 21:02:50 -04:00
palmtree5
36b3fbd5bc [V3 CustomCom] Initial V3 implementation (#1003) 2017-10-15 20:50:55 -04:00
Will
d9a63b45d4 [Docs] Fix imports in Config (#1015) 2017-10-15 20:13:25 -04:00
Will
4ddd576315 [V3 Admin] Rewrite of Squid-Plugins Admin cog (#825)
* Add/remove roles

* Announcement

* Edit role stuff

A bit of refactoring

* Selfrole stuff

* Add announce ignore capabilities

* announce configurations

Announcement fixes

* Serverlock initial commit

* Add some admin tests

better test

* Update for new config

* Add user hierarchy checks

* Fix tests

* Update from rebase

* Fix config getter

* Fix async getters/selfrole
2017-10-14 18:05:08 -04:00
palmtree5
fc36dae54f [V3] Add voice install option and instructions in README (#979)
* [V3] add voice option to setup.py + instructions in readme

* Fix typo
2017-10-01 13:25:32 -04:00
Tobotimus
31395d9efc [V3 Core] Fix reload of core cogs (#980)
* Fix reload of core cogs

* Remove trailing whitespace
2017-10-01 13:20:21 -04:00
Will
ea4aaf61c1 [Cog Manager] Fix cog manager paths command (#976) 2017-09-27 22:01:35 -04:00
Will
cf77eb2e47 [Core] Fix loading of cogs on initial startup (#971) 2017-09-09 15:27:05 -04:00
Will
5ae6fe2dda Potential docs fix #2 (#970) 2017-09-08 19:45:40 -08:00
Will
7c3b2673a5 [Docs] Fix docs post pip install refactor (#969)
* Fix downloader

* Fix bank

* Fix cog manager

* Fix config

* Fix readme

* Add docs/test link to readme

* Add docs codeowners
2017-09-08 23:31:32 -04:00
Will
d69fd63da7 [V3 Everything] Package bot and write setup scripts (#964)
Ya'll are gonna hate me.

* Initial modifications

* Add initial setup.py

* working setup py help

* Modify setup file to package stuff

* Move a bunch of shit and fix imports

* Fix or skip tests

* Must add init files for find_packages to work

* Move main to scripts folder and rename

* Add shebangs

* Copy over translation files

* WORKING PIP INSTALL

* add dependency information

* Hardcoded version for now, will need to figure out a better way to do this

* OKAY ITS FINALLY FUCKING WORKING

* Add this guy

* Fix stuff

* Change readme to rst

* Remove double sentry opt in

* Oopsie

* Fix this thing

* Aaaand fix test

* Aaaand fix test

* Fix core cog importing and default cog install path

* Adjust readme

* change instance name from optional to required

* Ayyy let's do more dependency injection
2017-09-08 23:14:32 -04:00
Tobotimus
6b1fc786ee [Dev V3] mockmsg command (#928) 2017-09-04 01:49:49 -04:00
palmtree5
48e36d3ca1 [V3 docs] Add a tutorial for Config and fix Bank docs (#959)
* [V3 docs] Add a tutorial for Config

* fix missing colon

* Add some links to the actual methods

* Fix bank docs
2017-09-04 01:13:33 -04:00
Will
ff1864779a [i18n] Make locale switching permanent (#962)
* remove unused import

* Make set locale permanent

* Add codeowner
2017-09-03 20:36:01 -08:00
Will
73643f84ae Logic error (#960) 2017-09-03 19:12:28 -08:00
Pier-Angelo Gaetani
51fe1411cd [i18n] Spanish translation (#949)
* [i18n] Initial spanish translations.

* [i18n] Minor correction.

* [i18n] Character corrupted fix.

* [i18n] File info filled, author name corrected.

* [i18n] Economy corrections.

* [i18n] General, corrupted character and question/exclamation mark corrections.

* [i18n] Economy, question/exclamation mark corrections.

* [i18n] Core translations added.

* [i18n] One too many newlines.
2017-09-01 23:38:36 -04:00
Kowlin
409ac569b2 Update Crowdin configuration file 2017-08-30 18:18:32 +02:00
Will
118df46630 [i18n] Basic Implementation (#948)
* Initial commit

* Beginning of working i18n

* Add some translation files

* Add more strings to translate

* Update and add some more translations

* Update spanish translation

* Update french translation

* Add alias translation templates

* Add bank translations

* Add economy translations

* Add general translations

* Add image translations

* Add core translations
2017-08-26 18:54:51 -04:00
Will
3d76f3a787 [Core V3] Make the bot data path configurable (#879)
* Initial commit

* Fix sentry

* Make cog manager install path work relative to the bot's dir

* Fix downloader to save data relative to the defined data folder

* Fix sentry test

* Fix downloader tests

* Change logfile location

* Add another line to codeowners

* Basic tests

* Fix versioning

* Add in FutureWarning for config file changes

* Add reference to issue
2017-08-20 15:49:51 -04:00
Jori van Ee
b7f1d9ed1a Update main.py (#934)
* Update main.py

Move discord import to the beginning of file, aswell as the version check, if the version wasn't atleast major_version 1 it would give an exception in the core imports (bot.Guilds isn't defined)!

* Move sys import up
2017-08-19 11:09:28 -08:00
aikaterna
cd32932b75 Added await to set for currency name (#935) 2017-08-19 10:36:11 -08:00
Tobotimus
2700a005d4 [Core V3] Fix reload (#927) 2017-08-15 19:46:31 -08:00
Tobotimus
115418d323 [Core V3] Fix checks (#924)
* Fix global checks

* Fix bank's checks

Predicates for decorators return true or false, they don't return other decorators

* Async getters in core checks
2017-08-15 14:09:57 -08:00
zephyrkul
2a19f151fc [Core V3] Fix pagify bug (#920)
* Let's try this again...

* accidentally a colon
2017-08-15 00:42:48 -04:00
Will
fa5a1f9c19 [Docs] Config fix (#921) 2017-08-14 14:53:11 -08:00
Will
da28630644 [Config] Modify config's all methods to provide default values (#916)
* Add in functionality for Tobotimus

* Cover all_guilds

* Make it obvious

* Fix auto rename of docstrings

* Fix downloader docs warning
2017-08-14 11:56:53 -08:00
Will
248d2baa2a [Config] Fix get_attr with awaited getters (#912) 2017-08-13 19:02:38 -04:00
Will
c6762234e6 [Docs] Update downloader framework docs (#914)
* Update installable

* Update Repo manager
2017-08-13 19:00:10 -04:00
palmtree5
0ba6d9a5af [Image] Rewrite for V3 (#768)
* [Core] add imgurpython to requirements

* [Image] v3 rewrites

* remove imgurpython from requirements

* [Image] switch to Config, add in instructions for getting imgur client id

* Add default register
2017-08-13 16:14:45 -04:00
palmtree5
680a44c4b4 [Core] Add shutdown command (#911) 2017-08-12 16:41:25 -08:00
Will
f78c33445c [Docs] Cog Manager (#901)
* Cog manager docs

* Oops, kinda need this
2017-08-12 14:03:28 -08:00
Will
85b0f34395 This is actually awesome! (#909) 2017-08-11 19:53:05 -08:00
Will
f6cbe82848 Damnit (#908) 2017-08-11 18:55:35 -08:00
palmtree5
fd684bdb58 [Docs] Add bank docs (#900)
* Add bank docs

* [Docs] fix bank docstrings for formatting

* [Docs] add bank to toctree

* rename and make bank rst use members

* Formatting changes

* Add account to dunder all
2017-08-11 21:59:27 -04:00
Will
96a93e00aa Fix Edit on Github button (#904) 2017-08-11 17:51:17 -08:00
Will
de912a3cfb [Config] Asynchronous getters (#907)
* Make config get async

* Asyncify alias

* Asyncify bank

* Asyncify cog manager

* IT BOOTS

* Asyncify core commands

* Asyncify repo manager

* Asyncify downloader

* Asyncify economy

* Asyncify alias TESTS

* Asyncify economy TESTS

* Asyncify downloader TESTS

* Asyncify config TESTS

* A bank thing

* Asyncify Bank cog

* Warning message in docs

* Update docs with await syntax

* Update docs with await syntax
2017-08-11 21:43:21 -04:00
Will
cf8e11238c [Docs] Copy over config docs from red-api-docs (#899)
* Update config.Config docs

* Set group docstrings

* Update Value docs
2017-08-11 01:39:43 -04:00
Will
7e05903c61 [Docs] The beginning of the reign of autodoc (#898)
* Update gitignore

* Add docs basic config

* Add config options for rtd and autodoc

* Add requirements.txt and update conf to support coros

* Add downloader cog docs

* Add downloader reference docs

* Add config, apparently invalid rst syntax breaks a lot of shit
2017-08-11 00:14:42 -04:00
Will
13cabfbad7 [Core] Add multiple/external cog paths support (#853)
* WIP cog path manager

* Initial working state

* Get real reloading working

* Type error thingy

* And fix the tests

* Start UI shit

* path reordering

* Add install path getter/setter and fix config syntax

* Determine bot directory at runtime

* Add UI commands for install path

* Update downloader to use install path

* Add sane install path default

* Make evaluation of cog install path lazy

* Some typing fixes

* Add another line to codeowners

* Conditionally put install path in paths

* Always put install path first

* Dont allow people to add the installdir as an additional path, guarantee install dir isn't shown with paths command

* Make shit update loaded cogs

* Add tests

* Another one
2017-08-10 23:09:49 -04:00
Will
0651a6ddc3 [Bank/Economy] Fix leaderboard bug due to previous config PR (#894) 2017-08-09 22:00:30 -04:00
Twentysix
9a1064c81d [Core] Added [p]contact and [p]dm (#875)
* [Core] Added [p]contact and a way to DM users through Red

* Turned reply feature into [p]dm command

* Better docstring
2017-08-09 21:48:50 -04:00