Skip to content

Commit ccd5018

Browse files
authored
add: cross post command (#465)
* add: cross post command * update: description text
1 parent e8f5d42 commit ccd5018

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/features/commands.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,23 @@ const commandsList: Command[] = [
7373
});
7474
},
7575
},
76+
{
77+
words: [`!crosspost`],
78+
help: `provides a no cross-post message`,
79+
category: "Communication",
80+
handleMessage: (msg) => {
81+
msg.channel.send({
82+
embeds: [
83+
{
84+
title: "Please Avoid Cross-Posting",
85+
type: EmbedType.Rich,
86+
description: "Just a friendly reminder: please avoid posting the same message in multiple channels. Choose the channel that best fits your question and allow some time for a response. If you don’t hear back after a while, feel free to bump your message.",
87+
color: EMBED_COLOR,
88+
},
89+
],
90+
});
91+
},
92+
},
7693
{
7794
words: [`!promotion`],
7895
help: `informs user's of self-promotion guidelines`,

0 commit comments

Comments
 (0)