Change domain to discord.com (#4160)

This commit is contained in:
Phineas
2020-06-19 10:46:59 +01:00
committed by GitHub
parent 9a1c56c5b9
commit ea19faa411
21 changed files with 32 additions and 32 deletions

View File

@@ -33,7 +33,7 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');
```
@@ -68,7 +68,7 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');
```
@@ -105,7 +105,7 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');
```
@@ -154,7 +154,7 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');
```

View File

@@ -27,5 +27,5 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');

View File

@@ -36,5 +36,5 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');

View File

@@ -28,5 +28,5 @@ client.on('guildMemberAdd', member => {
channel.send(`Welcome to the server, ${member}`);
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');

View File

@@ -66,7 +66,7 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');
```
@@ -142,7 +142,7 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');
```

View File

@@ -27,5 +27,5 @@ client.on('message', message => {
}
});
// Log our bot in using the token from https://discordapp.com/developers/applications/me
// Log our bot in using the token from https://discord.com/developers/applications/me
client.login('your token here');

View File

@@ -8,10 +8,10 @@
const Discord = require('discord.js');
/*
* Create a new webhook
* The Webbooks ID and token can be found in the URL, when you request that URL, or in the response body.
* https://discordapp.com/api/webhooks/12345678910/T0kEn0fw3Bh00K
* ^^^^^^^^^^ ^^^^^^^^^^^^
* Webhook ID Webhook Token
* The Webhooks ID and token can be found in the URL, when you request that URL, or in the response body.
* https://discord.com/api/webhooks/12345678910/T0kEn0fw3Bh00K
* ^^^^^^^^^^ ^^^^^^^^^^^^
* Webhook ID Webhook Token
*/
const hook = new Discord.WebhookClient('webhook id', 'webhook token');

View File

@@ -5,7 +5,7 @@
</p>
<br />
<p>
<a href="https://discord.gg/bRCvFy9"><img src="https://discordapp.com/api/guilds/222078108977594368/embed.png" alt="Discord server" /></a>
<a href="https://discord.gg/bRCvFy9"><img src="https://discord.com/api/guilds/222078108977594368/embed.png" alt="Discord server" /></a>
<a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/v/discord.js.svg?maxAge=3600" alt="NPM version" /></a>
<a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/dt/discord.js.svg?maxAge=3600" alt="NPM downloads" /></a>
<a href="https://travis-ci.org/discordjs/discord.js"><img src="https://travis-ci.org/discordjs/discord.js.svg" alt="Build status" /></a>
@@ -24,7 +24,7 @@ Welcome to the discord.js v12 documentation.
## About
discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to easily interact with the
[Discord API](https://discordapp.com/developers/docs/intro).
[Discord API](https://discord.com/developers/docs/intro).
- Object-oriented
- Predictable abstractions