Commit Graph

33 Commits

Author SHA1 Message Date
Caleb Johnson abd154861d [Settings] Add constructor parameter to skip argparse (#550) 2016-12-29 17:17:10 +01:00
Twentysix c7284ffa2a [Core] Added --dry-run flag and Travis CI boot test
This should help testing the boot process right until login
2016-12-22 18:54:27 +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
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
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
Will 84ce5c3a8b [Core] Settings as Bot class attribute (#486)
And pep8
2016-11-22 23:10:42 +01:00
Will bf490d0db1 [Utils] Improved pagify (#439) 2016-11-10 19:08:47 +01:00
Aioxas c3a372c794 [Settings] fileIO -> dataIO conversion (#436) 2016-11-04 14:11:34 +01:00
Aioxas 01a379ad39 [Checks] Removal of unused imports (#416) 2016-10-23 02:44:42 +02:00
Twentysix 9c2246b9b2 [Utils] General escape function
Allows to escape formatting and mass mentions
2016-09-23 09:41:29 +02:00
Caleb Johnson eba80519fd [Utils] Added page length argument to pagify (#368) 2016-09-17 17:28:59 +02:00
Twentysix 60f4a16828 [DataIO] Atomically save json (#372)
Should put an end to the corruption issues
2016-09-13 00:33:37 +02:00
Thomas Mercurio 621b57d0e4 [Utils] Added question() to chat_formatting (#365) 2016-08-31 20:30:05 +02:00
Twentysix 372a8aaae4 [Utils] Fixed chat_formatting functions for mobile compatibility 2016-08-30 17:45:05 +02:00
Thomas Mercurio b4aacd28e7 Added error, warning and info formats to chat_formatting (#353) 2016-08-30 05:55:03 +02:00
Will f1bd9da184 Chat formatting additions and improvements (#315)
* Pagination, switch to format strings, give box a lang
* working pagination
2016-06-21 20:54:08 +02:00
Twentysix fc93b02639 Escape everyone/here mentions 2016-06-16 23:44:49 +02:00
Twentysix 0c3d4a104a Proper json save/load
Might fix json corruption issues
2016-05-26 00:37:02 +02:00
Twentysix 27ce0fc57a Revamped FileIO (#262)
Handles backups, way tidier with different functions, backwards compatible. Should fix the corrupted json issues.
2016-05-21 15:26:48 +02:00
Kowlin 4994c40bd3 Added support for Bot tokens (#138)
Added support for Bot tokens
2016-04-15 23:23:14 +02:00
Twentysix a58aebe218 Fix to !help failing in DM 2016-02-29 18:06:56 +01:00
Will Tekulve e794fb1c9a add serverowner check and make modset owner only 2016-02-28 20:24:26 -05:00
Will Tekulve 1d9888a456 fix PR-found issues with red"s settings and audio 2016-02-28 16:20:47 -05:00
Will Tekulve 4eed137aaa fix case sensitivity on mod checks 2016-02-28 01:29:53 -05:00
Will Tekulve 36c9650551 copy both dicts, not just default 2016-02-27 17:04:23 -05:00
Will Tekulve fc073343e4 add get_server for admin/mod settings for modset help 2016-02-27 04:17:01 -05:00
Will Tekulve 563d7bb395 initial working update 2016-02-27 04:02:32 -05:00
Will Tekulve d565849a35 started on multi server roles configuration 2016-02-26 23:47:30 -05:00
Twentysix bd66de2c98 Added !filter !leave, fixed CC permissions 2016-02-14 20:32:56 +01:00
James Seden Smith 37bbcb00d1 Fixed is_owner_check 2016-02-14 16:26:41 +00:00
Twentysix a3fcbe944d First commit 2016-02-07 18:47:24 +01:00