476 Commits

Author SHA1 Message Date
Twentysix
31426ca7c6 [Mod] Prevent users from expelling themselves 2017-03-09 02:16:18 +01:00
Twentysix
a0aa69e083 [Mod] Show name and discrim in mod-log 2017-03-05 17:47:08 +01:00
Twentysix
72bc7182b0 [Audio] Check channel's user limit before joining it 2017-03-03 16:26:32 +01:00
Twentysix
c25c5629ea [Mod] Paginate [p]filter output 2017-03-03 14:53:23 +01:00
Twentysix
fb632ef54f [Streams] Handle no avatar set for beam.pro 2017-02-26 05:26:16 +01:00
Chovin
acc86d08db [Streams] Fetch APIs with utf-8 encoding (#642) 2017-02-26 05:14:12 +01:00
Caleb Johnson
343fc80406 [Mod] Enhanced mod-log (#491)
Case management:
    - Centralize formatting code
    - Store raw action type
    - Centralize pretty-print (emoji) representation of actions
    - Store creation and update timestamps
    - Allow edits from admin or bot owner
    - Enable or disable case creation on a per-action basis
    - Preliminary support for action durations
Mute:
    - Add case creation (on by default for server, not channel)
    - Show channel member was muted in in modlog entry
2017-02-22 19:39:52 +01:00
Twentysix
a3c72516d5 [Owner] [p]contact: Added a 60 seconds cooldown per user 2017-02-21 21:23:19 +01:00
Twentysix
c5090d6eb7 No more star imports 2017-02-21 03:16:33 +01:00
Twentysix
39bd467f80 [General] [p]urban: Encode URL before fetching
Fixes #409
2017-02-21 03:01:49 +01:00
Caleb Johnson
036c94a091 [Owner] [p]version: Replace git@ URLs with https:// (#627)
Fixes #626
2017-02-20 22:14:38 +01:00
PaddoInWonderland
73ef66e8f8 [General] Use .display_name in [p]hug, https in [p]lmgtfy (#625) 2017-02-20 22:03:44 +01:00
Twentysix
dcffab186c [Economy] Slot machine: fixed check for 2 consecutive symbols 2017-02-20 20:26:05 +01:00
Twentysix
08496d0793 [Downloader] Delete repo folder on repo removal 2017-02-17 17:21:50 +01:00
Twentysix
dad6929843 [Owner] Enhanced [p]version
Implemented part of #561's changes
Handles non-git installations and non-default remotes
Links to branch
Chained commands for better peformances (theorically)
2017-02-11 01:13:15 +01:00
Patrik Luoto
eb67e83d64 [Streams] Twitch: handle empty game / status / logo (#608) 2017-02-10 14:21:11 +01:00
Will
b8b5572b07 [Audio] Timeout voice connection + cooldown after fail (#556) 2017-02-09 15:19:40 +01:00
Thomas Mercurio
ae1244668e [Streams] Embed colors (#605) 2017-02-09 00:08:26 +01:00
Twentysix
b69b5b3005 [Streams] Added embeds and toggleable mass mentions 2017-02-08 19:03:05 +01:00
Twentysix
74f686aa5f Updated invite URLs 2017-02-04 05:51:08 +01:00
Twentysix
146d9df460 [Downloader] Reworded disclaimer, show only once every session 2017-01-31 15:54:40 +01:00
Twentysix
14dbff6dd4 [Mod] Ignore embeds in repetition filter
Fixes #590
2017-01-25 23:44:09 +01:00
Twentysix
143d41f2f2 [Audio] Better URL checking, strip enclosing tags 2017-01-24 19:34:56 +01:00
Twentysix
ede821c911 [Downloader] No more default repo 2017-01-15 04:40:01 +01:00
Twentysix
7e96e5ad69 [Downloader] Fast-forward only on git pull 2017-01-14 14:48:59 +01:00
Seenko
438d9f5f60 [Streams] Handle both channel names and URLs (#575) 2017-01-13 14:23:39 +01:00
palmtree5
416e168d2b [Economy] Added [p]bank reset (#570) 2017-01-13 13:57:13 +01:00
palmtree5
422c9191bd [Owner] Added [p]set default[admin/mod]role (#563) 2017-01-07 17:28:18 +01:00
Twentysix
102977664e [Downloader] Allow branches to be specified on repo add
Example URL:
`https://github.com/Author/Repo@branch`
2017-01-07 17:15:56 +01:00
Twentysix
2a8818393e [Downloader] Handle no info.json
Fixes #562
2017-01-05 18:00:30 +01:00
Twentysix
c987a89e9c Red's launcher / Downloader reqs autoinstall (#552) 2017-01-05 02:19:54 +01:00
Kowlin
abad4b311e Consume rest for [p]modset modrole/adminrole (#551) 2016-12-30 15:14:43 +01:00
Twentysix
4fcf0924f3 [Owner, Economy] Use UTC in the timestamps 2016-12-30 13:00:24 +01:00
Caleb Johnson
abd154861d [Settings] Add constructor parameter to skip argparse (#550) 2016-12-29 17:17:10 +01:00
Twentysix
0330e4f221 [Economy] Refactored slot machine, fixed [p]bank register (#538) 2016-12-28 16:51:57 +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
Chovin
1942f15576 [Audio] Permissions checks for [p]playlist remove (#506) 2016-12-22 14:53:10 +01:00
Twentysix
08541e419f [General] Refactored [p]rps 2016-12-21 18:11:04 +01:00
Twentysix
e319ea4762 [Audio] Hotfix 2016-12-20 19:40:29 +01:00
Twentysix
af9b4d7cec [Audio] Pagify playlists' lists 2016-12-20 18:51:17 +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
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