Add discovery_splash to sql definitions for image uploading

This commit is contained in:
George Tsatsis 2020-03-31 03:35:00 +03:00
parent d786edffec
commit 45b4431c4c
No known key found for this signature in database
GPG Key ID: 71F5AD643ABD99A4
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,7 @@ def _gen_update_sql(scope: str) -> str:
"user": "avatar", "user": "avatar",
"guild": "icon", "guild": "icon",
"splash": "splash", "splash": "splash",
"discovery_splash": "discovery_splash",
"banner": "banner", "banner": "banner",
"channel-icons": "icon", "channel-icons": "icon",
}[scope] }[scope]
@ -189,6 +190,7 @@ def _gen_update_sql(scope: str) -> str:
"user": "users", "user": "users",
"guild": "guilds", "guild": "guilds",
"splash": "guilds", "splash": "guilds",
"discovery_splash": "guilds",
"banner": "guilds", "banner": "guilds",
"channel-icons": "group_dm_channels", "channel-icons": "group_dm_channels",
}[scope] }[scope]