A Discord bot designed for the OSF (Open Source Force) community. The bot helps manage projects and gather user preferences efficiently.
A Discord bot designed for the OSF (Open Source Force) community. This bot facilitates project management and helps users find suitable projects to contribute to.
- Add Project Command: Allows users to add new projects to the database. Users can provide details such as project name, description, and relevant tags.
- Find Projects Command: Helps users discover projects to contribute to based on their interests and preferences. The bot can match projects with users using predefined tags or AI-based recommendations.
-
Clone the Repository
git clone https://github.com/opensource-force/osf-discord-bot.git
-
Navigate to the Project Directory
cd osf-discord-bot
-
create a .env file
create a .env file in the root directory of the project and add your discord bot token:
BOT_TOKEN=your_discord_bot_token_here CHANNEL_ID=the_id_of_the_channel_the_bot_should_operate_in
Note: You need to register for a bot in the Discord Developer Portal,the channel id can be easily accessed by right clicking on a channel and you can copy from there.
-
Install requirements.txt
Install the required Python packages using requirements.txt:
pip install -r requirements.txt
-
Run the bot
Start the bot using the following command():
python bot.py
Note: You need to invite the bot to your server. You can do this by going to OAuth in the Discord Developer Portal, generating an OAuth2 URL, and using it to add the bot to your server.