Skip to content

Delphi-Community/Delphi-Community-Bot

Repository files navigation

delphi-community.com

Welcome to the Delphi Community – your central hub for Delphi and Pascal programming enthusiasts on Discord!

About

Delphi-Community.com is a vibrant Discord community focused on the Pascal and Delphi programming languages. We aim to provide a collaborative and inclusive space where both beginners and experienced programmers can share ideas, seek advice, and discuss various aspects of Delphi and Pascal programming.

Contributing

Contributions from community members are the backbone of our server. Whether you’re sharing knowledge, providing feedback, or contributing to discussions, your input is invaluable.

Bot

Installation

Install node modules

npm install

Set environement vars on your system or copy create .env file. Check out .env.sample.

Invite the bot: https://discord.com/api/oauth2/authorize?client_id=APP_ID&permissions=8&scope=bot+applications.commands

Register SlashCommands

node .\deploy-commands.js

Run bot

node .

Features

  • RSS cronjob (Tracks RSS feeds and notifys a channel (forum) every 10 minutes, admins only)
  • Telegram bridge both directions

Commands

  • ping
  • format (converts a message to a pascal code block)
  • rss list
  • rss add [url] [channel]
  • rss remove [id] (get the id from rss list)
  • rss runcronjob

Message commands

@bot code somecode (converts a message to a pascal code block)

NodeJS Modules

  • sqlite3: Data storage
  • discord.js: Discord integration
  • dotenv: Environment variables management
  • node-cron: Task scheduling
  • rss-parser: RSS feed parsing
  • winston: Logging
  • winston-daily-rotate-file: Log file rotation
  • winston-transport-discord: Log file mirror for discord
  • node-telegram-bot-api: Used for telegram bridge

Join us on Discord to be a part of our growing Delphi and Pascal programming community!

About

Discord bot for Delphi Community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •