nyx/events/typingStart.js

12 lines
508 B
JavaScript
Raw Normal View History

const client = require("..");
2021-09-21 01:51:56 +02:00
client.on("typingStart", async typing => {
if (!typing.user) return;
if (typing.user.bot) return;
if (!typing.channel) return;
if (typing.channel.type !== "DM") return;
typing.user.send({
content:
"```DMs is reserved for bug reports/suggestions/feedbacks/queries and is forwarded to the developers. Please refrain from using it as a clipboard or trying to run commands in here [by violating this condition, you agree to let us sell your data]```",
});
});