49 Commits

Author SHA1 Message Date
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
Will
d4da9edb3e [Config] Fix 'all' handling to match docs (#889)
* Fix some stuff to match docs

* For Palm__ <3
2017-08-09 21:39:19 -04:00
palmtree5
4923ffe98a [Economy] [WIP] rewrite (#781)
* [Economy][Bank] redo branch

* WIP

WIP

* Implement all current bank commands API calls

* Set dunder all and put into bot

* make core change to economy

* Add is_global method to bank

WIP

* Add extra bank API commands

* Update bank UI

Update some imports

Remove bank UI errors file

Typing thing

* Update bank get_global_accounts and touch up economy some more

Do some more economy updates

* Remove bank from bot

* Another passing test

FINALLY

* Fixy type things

Last fixes for now

Fix arg to toggle global

RJM

Invalid bid amount handler

cooldown msg

currency name fix

Fix fun bug

ANother bug

And payday limit

* PEP8 stuff

* Docstring change

* Fix this thing

* [Economy][Bank] redo branch

* [Economy][Bank] modify guild owner or bot owner check, add admin or bot owner check for global vs local bank

* [Economy] apply admin or bot owner check to [p]economyset

* Make some public things private

* [Economy] lots of refactoring for conditional permission checks and guild checks + supporting global economy

* And working stuff

* Fix Kowlin's bug

* Fix slot bugs
2017-08-09 17:23:41 -08:00
Will
99bfb2fc7a [Config] Rewrite (#869) 2017-07-31 01:40:31 +02:00
Kowlin
5c2be25dfc [Sentry] Cleared out websocket breadcrumbs (#870)
This adds additional protections to make sure no sensitive information gets caught in our Sentry error logger.
2017-07-28 00:24:09 -04:00
Twentysix
b1601b1bf0 [Dev] server -> guild in dev commands 2017-07-27 01:33:40 +02:00
Twentysix
be5c7f4592 [Core] Co-owners cli flag only, implemented owner cli flag
After giving it further thought, I don't believe co-owners really need to be a command, as it is unlikely that co-owners will need to be changed often enough.
Furthermore, this gives a further layer of protection to people who like to gloss over warnings.
2017-07-25 01:48:13 +02:00
Will
2fa5792f69 [GitHub] Contributing guidelines (#864)
Add `CONTRIBUTING.md` to the project.
2017-07-22 22:55:47 -04:00
Twentysix26
74910a490b [Core] Fixed [p]set owner 2017-07-19 11:30:40 +02:00
Will
19c69aaca6 Added CODEOWNERS file (#848) 2017-07-15 14:59:51 +02:00
Will
d8710f0c7d [Downloader] [p]findcog: Find a cog from a command (#855) 2017-07-12 23:41:22 +02:00
Kowlin
150de9ed6f Revert "Added Dev_commands to the Sentry logger (#826)" (#831)
This reverts commit b483e24e3365e757bcf6068c605597b155f80802.
2017-06-30 17:03:09 +02:00
Kowlin
b483e24e33 Added Dev_commands to the Sentry logger (#826) 2017-06-30 16:55:30 +02:00
Twentysix
2d02dcf682 [Dev] Cast repl output to str before sending 2017-06-24 20:41:02 +02:00
Will
8fa967cb91 Added Alias cog (#780) 2017-06-21 22:59:26 +02:00
Will
80756ba490 [Core] Add dynamic versioning based on git tag (#790) 2017-06-18 02:18:08 +02:00
Twentysix
03791b9fbc [Downloader] Cleaned up commands' docstrings, del -> delete 2017-06-18 01:50:41 +02:00
Twentysix
feffb56847 Fill out license info 2017-06-18 01:32:51 +02:00
Will
53810b2262 Added Downloader cog (#786) 2017-06-18 01:31:32 +02:00
Twentysix
b12a41cd77 [Dev] Fixed [p]repl, sanitize [p]eval output 2017-06-17 19:12:53 +02:00
Will
9b4581a781 [Core] Fixed [p]set owner and [p]set avatar (#817) 2017-06-17 17:31:44 +02:00
Will
7b91bc0633 [Dev] Added [p]repl and [p]eval (#814) 2017-06-16 21:00:32 +02:00
Will
94cfd23c00 [Core] Add Sentry logger for core cogs data gathering only (#813) 2017-06-16 20:48:00 +02:00
Will
422bbba7f6 [Config] Fix get() functionality (#815) 2017-06-16 20:35:32 +02:00
Will
68bc6e3325 [Core] Check for correct discord.py version at boot (#799)
Fixes #798
2017-06-09 19:22:36 +02:00
Twentysix
c5ab97ce0d [Core] Fixed owner request's author not showing up 2017-06-04 19:53:12 +02:00
Twentysix
35c88084ba [Core] Ported [p]set commands, added [p]set coowners 2017-06-04 19:37:39 +02:00
Twentysix
0fc4939a07 [Utils] Fixed pagify 2017-06-03 05:34:48 +02:00
Will
82d9457647 Sentry error logging (#784) 2017-05-29 22:43:00 +02:00
Twentysix
e469ee201b Added .tmp and .data to .gitignore 2017-05-28 23:26:52 +02:00
Will
3988fbbc09 [Core] Replaced JsonDB with Config (#770) 2017-05-28 04:28:59 +02:00
palmtree5
a8745297dc [General] Initial porting (#757)
Polls have been removed for now and they will be remade in the future (maybe even as a separate cog)
2017-05-14 17:12:32 +02:00
Twentysix
311339240f [Core] Added separate dev cog
This is enabled with the cli flag --dev
2017-05-14 03:20:54 +02:00
Twentysix
cf2925978b [Core] Interactive configuration 2017-05-13 23:55:14 +02:00
Twentysix
592751884e [Core] Reworked intro and added oauth url 2017-05-01 03:23:05 +02:00
Twentysix
51ce2d82d6 [Core] Added relative_path parameter to json helpers
Since these helpers will mostly be used by packages, it's important to make sure that the data they create stays contained inside them. This also brings the additional benefit of being able to manipulate data inside a package without knowing the name of the package's folder itself
2017-04-30 05:12:00 +02:00
Twentysix
ba9d4b7f0f [Core] Implemented missing checks, extended DB
The DB has been extended and now covers the functionality of the old Settings class of the previous version
2017-04-30 00:28:56 +02:00
Twentysix
9fc4e54ece [Core] Removed flusher, helpers now save on changes
After some considerations, while the flusher was an interesting experiment, it doesn't seem to be reliable enough. It's been removed in favor of the helpers autosaving on any change in a threadsafe way.
2017-04-29 19:26:34 +02:00
Twentysix
bd341f1875 [Core] Properly end tasks and process flusher's queue on quit 2017-04-28 18:13:02 +02:00
Twentysix
b113a94c52 Added requirements.txt and LICENSE, removed duplicate file 2017-04-28 09:16:10 +02:00
Twentysix
294adf270f [Core] Save package status and restore it on boot
Also better error handling on package loading
2017-04-28 09:16:10 +02:00
Twentysix
1d3b541e8f [Core] Handle connection errors, fetch token from env var / db
Also reimplemented the old status codes
2017-04-28 09:16:10 +02:00
Twentysix
cc1d7b2b59 [Core] Check for coowners in the db 2017-04-28 09:16:10 +02:00
Twentysix
36b19de9da [Core] Moved checks.py to main core package 2017-04-28 09:16:10 +02:00
Twentysix
2063decbe7 First commit 2017-04-28 09:16:10 +02:00
Twentysix
6251c585e4 Empty commit 2017-04-28 09:15:36 +02:00