Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command: container for all of the stuff the bot needs.
- owner: an IUser contained in an object grabbed from the IMessage author.
- reacted: an IUser contained in an object grabbed from the Reaction add event.
- if (!command.guild.config.autoArtPinning) {
- if (owner.longID == reacted.longID) {
- response = "> **" + reacted.displayName + "** Has pinned their art by reacting with the \uD83D\uDCCC emoji.";
- } else {
- response = "> **" + reacted.displayName + "** Has pinned **" + owner.displayName + "'s** art by reacting with the \uD83D\uDCCC emoji.";
- }
- } else {
- response = "> I have pinned **" + owner + "'s** art.";
- }
- if (command.guild.config.likeArt && command.guild.config.modulePixels) {
- response += "\n You can now react with a \u2764 emoji to give the user some pixels.";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement