MysteryPancake / Discord-Reposter

Bot for reposting Discord messages (work in progress)
MIT License
92 stars 121 forks source link

Is it possible to repost just a single message? #28

Open Plynko-Plinko opened 4 years ago

Plynko-Plinko commented 4 years ago

Is it possible to repost just a single message, or certain individual messages?

At first glance it looks like the command "/repost {CHANNEL}" would do that but the description of the bot says it's designed to repost all messages from one channel to another.

Quick background of what we are looking for: Gaming clan with several channels to organize different group activities. Admins ask that we create 'rosters' to show what members of the clan are participating with one another. However, it's very time-consuming for admins to search through a dozen different channels to find those rosters. Would like to have each individual roster message (and only the roster messages) copy to a singular #Rosters channel.

Example post:


Plynko-Plinko: FLAWLESS RAID TEACHING RUN FRIDAY 28TH - 23.00 GMT | 18.00 EST | 17.00 CST | 15.00 PST

  1. RaidGawd (Sherpa)
  2. Larry
  3. Moe
  4. Curly
  5. Alfalfa
  6. NoobMan69 (Learner)

/repost #Rosters


Would be ideal if something like that repost command could copy that post, and only that post, to the separate #Rosters channel. So, any activity roster created in other channels would include the same command and copy to the #Rosters channel.

Not asking you to customize code to do this, just wondering if the existing code/bot can do this already.

Edit: I noticed 'Issue #21' was asking for a similar feature, but I don't have a clue how to adapt the sample code you provided there to our needs. Also, the edit/update feature request in 'Issue #18' would be phenomenal as well.