11 lines
512 B
JavaScript
11 lines
512 B
JavaScript
const client = require("../bot");
|
|
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]```",
|
|
});
|
|
});
|