Commit Graph

507 Commits

Author SHA1 Message Date
Utrechter 5f49e19214 [Trivia] Corrected various lists (#530) 2016-12-20 17:59:16 +01:00
Twentysix 2ab7ada87d [Core] Fixed faulty logic in retrieving the owner 2016-12-20 11:03:39 +01:00
palmtree5 8145b41097 [General] Add member # to [p]userinfo (#528) 2016-12-18 03:20:58 +01:00
Will 8593c08f77 [Mod] Bots can delete own messages w/ [p]cleanup user (#461)
Bulk delete endpoint needs `manage_messages`
2016-12-18 02:34:12 +01:00
Twentysix ae6756c637 [Economy] Improved [p]bank set
Can now accept positive/negative values to add and remove credits
2016-12-18 02:17:35 +01:00
Twentysix 74fd56e81f [Core] Improved [p]uptime 2016-12-17 04:16:16 +01:00
Twentysix 0d6bc2caf7 [Trivia] Updated leagueults / leaguefacts lists 2016-12-15 18:11:30 +01:00
Twentysix d0fcce809d [Core] Hotfix 2016-12-12 14:54:47 +01:00
Twentysix 64ab3ac948 [Core] Added --no-cogs
Skips initial cog loading
2016-12-12 13:22:46 +01:00
Caleb Johnson 1c70185a53 [mod] Fix checks on mute subcommands (#525)
Security fix
2016-12-12 01:26:09 -05:00
palmtree5 09e26b04bf [Audio] Add server owner check for [p]stop (#523)
Fixes #522
2016-12-11 22:55:25 +01:00
Twentysix 27bdce7f32 [Core] CLI flags, env vars login, revamped setup, in. selfbot support, etc (#513)
Startup flags: can be started and configured without ever doing the interactive setup
Changed default settings format so that all unset values are None
Removed new cogs prompt
Removed `LOGIN_TYPE` from settings.json. It now defaults to token and fallbacks to email/password
Smarter initial setup: only asks for the settings that are actually missing
For the first installation all default cogs are loaded
Startup flag that allows settings to be memory-only
Initial selfbot support
Only reset login credentials (on confirmation) instead of deleting the whole file in case of login failure
Revamped main screen
Made sure that nothing blows up when you run Red on Windows without `chcp 65001`
Possibility of setting credentials in the environment variables `RED_TOKEN` / `RED_EMAIL` `RED_PASSWORD`. They will take priority over the configuration stored on disk.
2016-12-11 00:16:20 +01:00
Kowlin 8d83a5ae3a [Economy] Eco hotfix for PR #475 (#519) 2016-12-09 04:24:25 -05:00
Will 8a7be3b812 [Economy] Leaderboard pagify (#475)
* Some PEP8 stuff

* pagify leaderboard
2016-12-09 01:38:32 -05:00
Twentysix d349a0cab7 [Audio] Replace settings.json in case of corruption 2016-12-09 02:11:14 +01:00
FrostTheFox 4b032e48b9 [Audio] Added [p]audioset emptydisconnect (#497)
Toggles autoleave when Red is left alone while playing music
2016-12-07 00:52:38 +01:00
Twentysix 75b7925d05 [Downloader] Ignore empty install messages 2016-12-06 23:00:46 +01:00
Twentysix 59979933e0 [Trivia] Properly deal with trivia lists' encoding
Probably.
2016-12-03 04:19:57 +01:00
Twentysix c6fcdd3449 [Mod] Handle DM commands in on_command 2016-12-01 16:20:29 +01:00
Twentysix d628bacef5 [Core] Server based prefixes (#492)
Added `[p]set serverprefix`
`Bot.command_prefix` is now a callable that returns the prefixes set for the server. If none are set, it returns the global ones.
2016-12-01 02:30:51 +01:00
Caleb Johnson 8b7ba988f4 [Utils] Handle empty permissions, more checks (#387) 2016-12-01 02:10:59 +01:00
Thomas Mercurio 310e3af009 [Trivia] Fix answer in harrypotter list (#496) 2016-11-30 18:18:21 +01:00
palmtree5 c23cadda44 [Economy] Added [p]economyset registercredits (#472)
Allows to set initial credits for new bank accounts
2016-11-30 18:13:41 +01:00
Caleb Johnson 5ae98a046e [Mod] Removed pointless .keys() call for better performances (#499) 2016-11-29 21:21:13 +01:00
Will c34bf36dee [Mod] Added [p]modset deletedelay (#445)
Deletes issued command after X seconds
2016-11-29 02:40:40 +01:00
Twentysix 67de9a45fe [Owner] Show [p]debug result in blocks of 4 messages 2016-11-27 00:42:42 +01:00
Twentysix 9fa2776bda [Downloader] [p]cog repo add error handling, invalid repos cleanup 2016-11-26 17:53:48 +01:00
Will 84ce5c3a8b [Core] Settings as Bot class attribute (#486)
And pep8
2016-11-22 23:10:42 +01:00
Twentysix aef46f3820 [Downloader] Fix patch notes error
Fixes #481
2016-11-21 17:45:51 +01:00
Sentry fba3a079dd [Audio] Fix [p]stop error when user is not in the channel (#480) 2016-11-20 21:30:48 +01:00
aikaterna 5acf2f8ec7 [Owner] Pagify [p]cogs (#482) 2016-11-20 17:56:53 +01:00
Twentysix 570e0d1b0d [Owner] Added [p]cogs command for listing of cogs 2016-11-20 05:26:00 +01:00
Will 630bee8cb6 [Audio] Fix [p]song with local tracks (#479) 2016-11-19 16:49:05 +01:00
Twentysix 59d4604462 [Core] Hotfix
send_message wasn't returning the message object
2016-11-19 16:33:14 +01:00
Twentysix 90272b378a [Core] Message modifiers (#477)
Message modifiers offer an easy way for cogs to edit outcoming messages without resorting to hacky methods
2016-11-19 14:47:46 +01:00
Caleb Johnson dd9fc4f7c2 [Mod] Include trigger message in cleanup self for selfbots (#468) 2016-11-18 23:28:12 +01:00
Twentysix 458d23c4be [General, Owner] Added more info and stylistic changes to r. embeds cmds 2016-11-18 05:42:23 +01:00
Twentysix 49567bc1a3 [General, Owner] Properly catch perm exceptions for embeds 2016-11-18 01:57:29 +01:00
Twentysix b740bcae2e [General] Added thumbnails to [p]user/serverinfo 2016-11-17 21:24:05 +01:00
Twentysix d11d2a5867 [Owner] Rich embed for [p]version 2016-11-17 19:14:37 +01:00
Twentysix 7fe0126a79 [Core] Subclassing of Bot class, Python version check
`send_cmd_help` and `user_allowed` are now part of Bot
2016-11-17 15:03:14 +01:00
Lunar Dust 58f1558f00 [General] Rich embeds for user/serverinfo (#469) 2016-11-17 12:28:58 +01:00
Caleb Johnson b62108c56a [Downloader] Hotfix, better git error handling, tweak edit timer (#471)
Handles error exit codes from git calls
Tweaked edit timer to not ratelimit on very fast updates
Restored old behavior of initializing community repo on first run
2016-11-17 09:26:17 +01:00
Twentysix ce5e810e33 [Owner] Rich embed for [p]info 2016-11-16 17:34:02 +01:00
Caleb Johnson e18f9e6982 [Downloader] Smarter updates, patch notes (#450)
Parallel repo updates with progress indicator
`git reset --hard` instead of `git stash`
Displaying of added, removed, and updated cogs
Smart reload of only updated cogs
Patch notes for updated cogs using `git log` (RJM)
2016-11-15 14:35:14 +01:00
Twentysix 26ab7f2c45 [Mod] Added [p]cleanup bot, [p]cleanup self (#466)
`[p]cleanup bot` deletes user's command messages and bot's messages
`[p]cleanup self` deletes bot's messages
2016-11-14 15:10:36 +01:00
Twentysix faa672b78f Removed examples in command group 2016-11-14 15:06:15 +01:00
Twentysix 26404ebced [Owner] Refactoring 2016-11-14 14:40:28 +01:00
Caleb Johnson 5a7da3540e [mod] Add cleanup bot command, pep8 2016-11-13 20:53:48 -06:00
Caleb Johnson dfc4c833f5 [mod] Add cleanup self command, no delete delay 2016-11-13 20:53:37 -06:00