Tutorial: Hello World

Hello World

const DMC = require("dmc.wrap");
const Client = new DMC.Client(privkey);

Client.on("ready", () => {
	console.log("Ready.");
});

Client.on("newmsg", (message) => {
	if(message.content === "hello")
		message.reply("world!");
});