mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Prepare examples for v12 (#1382)
This commit is contained in:
@@ -9,4 +9,4 @@ const Discord = require('discord.js');
|
||||
const hook = new Discord.WebhookClient('webhook id', 'webhook token');
|
||||
|
||||
// send a message using the webhook
|
||||
hook.sendMessage('I am now alive!');
|
||||
hook.send('I am now alive!');
|
||||
|
||||
Reference in New Issue
Block a user