Coder Social home page Coder Social logo

algorizan / botmark Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 653 KB

Discord bot that bookmarks a message (sends it to your DMs) by selecting the message from the context menu.

License: GNU General Public License v3.0

JavaScript 99.92% Procfile 0.08%

botmark's Introduction

Botmark

Discord bot to bookmark messages by sending them to the user's Private Messages.

  • Users can Bookmark a message by right-clicking the message and in the context menu going to Apps -> Bookmark.
  • Alternatively, users can react to a message with the :bookmark: or :bookmark_tabs: emojis for the same effect. (This is necessary for mobile users, since the context menu button is inaccessible from the Discord mobile app)
  • Bookmarked messages are sent to the user's Private Messages in a nicely formatted embed, including any file or photo attachments or embeds from the original message. It also says who sent the message, when, on what server and channel, and links you to the original message (if you still have access to that channel & the message hasn't been deleted).

Note: to be able to use the Context Menu commands in a channel, Slash Commands must be enabled for that channel. And for reactions to trigger a bookmark, the bot must have access to that channel.



Demo

1. Right-click a message and select Botmark's button from the Context Menu:

Example bookmarked message.


2. If the Bookmark was successful, you will see an ephemeral message that only you can see:

Example bookmarked message.


3. You will receive a private message from Botmark with the bookmarked message.

  • For a message that looks like this:

    Example bookmarked message.

  • The corresponding Bookmark will look like this:

    Example bookmarked message.


4. Any time in the future, you can delete the Bookmark by pressing the red Delete Bookmark button. After doing that, you will receive an ephemeral message giving you a chance to recover the bookmark by pressing an Undo button:

Example bookmarked message.

However, after 1 minute, the Undo button will expire and the Bookmark will have been deleted forever:

Example bookmarked message.



botmark's People

Contributors

algorizan avatar

Stargazers

Patrick Le avatar Gregory Hlavac avatar

Watchers

 avatar

Forkers

anoushk1234

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.