nyx/events/startTyping.js

11 lines
467 B
JavaScript
Raw Normal View History

2021-07-13 05:17:39 +02:00
const client = require("../bot");
client.on("typingStart", async (channel, user) => {
if (!user) return;
if (user.bot) return;
if (!channel) return;
if (channel.type != "dm") return;
user.send(
"```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]```"
);
});