feat(GuildMember): Support edit guild Avatar, Banner, Bio

This commit is contained in:
March 7th
2022-08-04 19:26:16 +07:00
parent 710cb59e48
commit 54e1dbb6b0
6 changed files with 85 additions and 12 deletions

View File

@@ -197,6 +197,10 @@ const Messages = {
INVALID_REMOTE_AUTH_URL: 'Invalid remote auth URL (https://discord.com/ra/{hash})',
INVALID_URL: url =>
`Invalid URL: ${url}.\nMake sure you are using a valid URL (https://discord.com/oauth2/authorize?...)`,
NITRO_REQUIRED: 'This feature is only available for Nitro users.',
NITRO_BOOST_REQUIRED: feature => `This feature (${feature}) is only available for Nitro Boost users.`,
ONLY_ME: 'This feature is only available for self.',
};
for (const [name, message] of Object.entries(Messages)) register(name, message);