mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Fix DMs breaking
This commit is contained in:
@@ -69,7 +69,7 @@ exports.Errors = {
|
||||
BAD_LOGIN: new Error('incorrect login details were provided'),
|
||||
};
|
||||
|
||||
const API = 'https://discordapp.com/api';
|
||||
const API = `https://discordapp.com/api/v${exports.DefaultOptions.protocol_version}`;
|
||||
|
||||
const Endpoints = exports.Endpoints = {
|
||||
// general endpoints
|
||||
|
||||
Reference in New Issue
Block a user