Git Product home page Git Product logo

rsscript's Introduction

Rsscript

EST TOUJOURS EN COURS DE DEVELOPEMENT !!!

est un project opensource de bot discord qui à pour but de lire les flux RSS est de les trensmetre dans un salon discord specifique

Prérequis

  • Python
  • discord.py
  • feedparser
  • python-dotenv

Installation

Expliquez comment installer et configurer le projet sur la machine de l'utilisateur. Utilisez le contenu de votre fichier requirements.txt :

pip install -r requirements.txt

Configuration

Configuration du Token Discord :

Créez un fichier nommé token.env à la racine du projet.

Ajoutez votre token Discord au fichier token.env de la manière suivante :

TOKEN=VotreTokenDiscordIci

dans commmande/rss.py

à la ligne 7 " news_channel = bot.get_channel(IDCHANEL) # Remplacer avec l'ID du salon souhaité " remplacer IDCHANEL par id du channel ou vous souaitez que le flux rss s'affiche

Utilisation

Ajout de flux RSS :

Ouvrez le fichier commande/flux.json .

Ajoutez vos flux RSS avec le nom du flux en tant que clé et l'URL du flux en tant que valeur.

{
    "NomDuFlux1": "URLDuFlux1",
    "NomDuFlux2": "URLDuFlux2",
    ...
}

exemple

{
    "IT-Connect": "https://www.it-connect.fr/feed/",
    "NomDuFlux2": "URLDuFlux2"
}

Démarrage du Bot :

Exécutez le fichier main.py pour démarrer le bot Discord :

python main.py

Contributions

Si vous acceptez des contributions, expliquez comment les autres personnes peuvent contribuer au projet.

Licence

Ce projet est sous licence [MIT].

rsscript's People

Contributors

quentin-d31 avatar

Stargazers

 avatar

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.