mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Change domain to discord.com (#4160)
This commit is contained in:
@@ -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');
|
||||
```
|
||||
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
```
|
||||
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user