Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 916 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 916 Bytes

get-discord-messages-feed

Fetch messages from your Discord channel to Atom Feed

Usage

Prerequisites

  • Install jq, bash, curl.
  • Get your Discord account auth_token (Guide).

How do I use this script?

Put your auth_token inside the script:

#!/bin/bash

auth_token=<your-token>

Print Atom feed to the console:

  • channel-id - channel id in your server (id after server id in URL).
  • title - voluntary title for your feed.
get-discord-messages-feed <channel-id> <title>

Redirect messages to an atom file:

get-discord-messages-feed <channel-id> <title> > /tmp/messages.atom

Fetch feed in RSS/Atom feed reader, for example, I use newsboat and I can get feed by this link:

file://tmp/messages.atom

Now you won't be distracted by needing to open Discord to check new messages!