feat: update OAuth2 authorization options and add method warnings for deprecated functionality
This commit is contained in:
@@ -209,6 +209,9 @@ const Messages = {
|
||||
STREAM_CANNOT_JOIN: 'Cannot join a stream to itself',
|
||||
VOICE_USER_NOT_STREAMING: 'User is not streaming',
|
||||
POLL_ALREADY_EXPIRED: 'This poll has already expired.',
|
||||
INVALID_OAUTH_OPTIONS: 'Invalid options for authenticating with OAuth2.',
|
||||
METHOD_WARNING:
|
||||
'This method is flagged as it may lead to a temporary or permanent account ban. Do not use until further notice.',
|
||||
};
|
||||
|
||||
for (const [name, message] of Object.entries(Messages)) register(name, message);
|
||||
|
||||
Reference in New Issue
Block a user