Skip to content

Discord bot for sending notifications about new posts in SCS Software blog

License

Notifications You must be signed in to change notification settings

CommanderCRM/SCSDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCSDiscordBot

Discord bot for sending notifications about new posts in SCS Software blog.

Major library dependencies

  • discord-py
  • beautifulsoup4

Features

  • HTML parsing - extraction of links inside tags
  • Local DB - putting links and checking if they already exist
  • Discord integration - sending messages with links to new blog posts

Setup

Register the Discord bot. Your bot should have server members intent to get user and send DM to them.

Set the following environment variables:

  • DISCORD_TOKEN - for Discord bot which sends messages
  • CHANNEL_ID - Discord channel where to send messages (currently it is being used multiple times, prefixed by server name)
  • ROLE_ID - Role to ping when new blog post arrives
  • USER_ID - User to send DM to if URL retrieval is unsuccessful

Host the code and run it as long as you want.

About

Discord bot for sending notifications about new posts in SCS Software blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages