Skip to content

Commit

Permalink
Add !crosspost/!crossposting command
Browse files Browse the repository at this point in the history
This is an interim solution to something more automated like #17.
  • Loading branch information
nickserv authored Jan 31, 2020
1 parent 8031c79 commit d9b5b5d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions features/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,20 @@ Here's an article explaining the difference between the two: https://goshakkk.na

fetchMsg.delete();
}
},
{
words: [`!crosspost`, `!crossposting`],
help: `explains why and how to avoid crossposting`,
handleMessage: msg => {
msg.channel.send({
embed: {
title: "Crossposting",
type: "rich",
description: `Do not crosspost messages by copying and pasting them into multiple channels. This makes it harder to help you as discussions may be broken up into multiple channels, and takes more space from other users asking questions. Instead, post your message once to the channel you think is most relevant.`,
color: 7506394
}
});
}
}
],
handleMessage: ({ msg, user }) => {
Expand Down

0 comments on commit d9b5b5d

Please sign in to comment.