Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennethnym/programming-news-bot
A discord bot that aggregates programming news articles and blogs found on Reddit and Hacker News
https://github.com/kennethnym/programming-news-bot
discord discord-bot discord-js discordjs nodejs typescript
Last synced: about 2 months ago
JSON representation
A discord bot that aggregates programming news articles and blogs found on Reddit and Hacker News
- Host: GitHub
- URL: https://github.com/kennethnym/programming-news-bot
- Owner: kennethnym
- License: mit
- Created: 2020-09-24T21:52:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T10:13:41.000Z (over 4 years ago)
- Last Synced: 2024-10-15T18:41:11.209Z (4 months ago)
- Topics: discord, discord-bot, discord-js, discordjs, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# programming-news-bot
A discord bot that aggregates programming articles from Reddit
and hackernews, and post them on Discord.### Adding this bot to your own server
0. Clone this repo and then run `yarn`
1. Create an application in [Discord application portal](https://discord.com/developers/applications).
2. Add a bot to your application
3. Create an environment variables DISCORD_API_SECRET and set the value
to the secret of the bot you just created
4. Give appropriate permissions to your bot
5. Invite your bot to your server by going to the link generated
6. In `src/constants.ts`, change `CHANNEL_ID` to the ID of the text channel
you want this bot to send links to. There are plenty of tutorials
on how to get the ID of a text channel.
7. To start locally, run `yarn start:dev`.