Git Product home page Git Product logo

dao-pairbot's Introduction

All Contributors

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. Contributors
  7. License
  8. Contact
  9. Acknowledgments

About The Project

The idea behind the bot is to help people collaborate, learn and in the end make new friends. Especially now in the beginning where everything feels chaotic and you don’t know where to begin. The idea is that you can use the bot to see what other people are busy building and if they are available you can join and help build something awesome together.

Built With

  • TypeScript
  • Discord.js
  • Supabase

Getting Started

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/Developer-DAO/DAO-pairbot.git
  1. Change directory and install NPM packages
cd DAO-pairbot && npm install
  1. Create a new Supabase project. We will need the Superbase Url and Anon Key to put in our .env file later.
  2. Copy the snippet from SQL-snippets and paste in the SQL Editor on Supabase and click run.
  3. Copy .env.example to .env We will fill it in with your details from Supabase details from before and your Discord details in the next few steps.
  4. In the discord desktop app, create your own discord server to use for testing.
  5. Enable Developer mode in your Discord desktop app by going to User Settings > Advanced > Enabled 'Developer Mode'
  6. Right click on the server name and click Copy ID. This is the Guild Id in .env
  7. Right click on the 'general' channel and click Copy ID. This is the Discord channel id in .env
  8. Finally we need to create a Discord app in the Discord developer area. Call it pairapp or something.
  9. Once you have created the app, get the Application Id. This is on the General information tab and can be used as Client ID in .env.
  10. Next, click the Bot tab on the left and add a new bot. In this tab there is a Copy and Regenerate button with a link above them to reveal a bot. Click that link and use the revealed token as DISCORD_TOKEN in .env
  11. Lastly click the OAuth tab and then the sub tab for URL Generator. Select 'bot' and 'application.commands' in the top perms and then a new box will appear, select 'Administrator' in the bottom box. Copy the url into your web browser and then navigate to it, selecting your test Discord server when prompted. This will add the bot to your test server.

Usage

These are the current commands the bot supports:

  • /add - Add yourself to the pairing database
  • /edit - Edit your profile on the pairing database
  • /edit others - Edit your profile's twitter/github/timezone on the pairing database
  • /edit experience - Edit your profile experience level on the pairing database
  • /edit skills - Edit your profile skills on the pairing database
  • /edit desired_skills - Edit your profile desired skills on the pairing database
  • /available - Set yourself as available
  • /unavailable - Set yourself as unavailable
  • /developers - List all developers in the paring database
  • /invite - Invite an available developer to pair up with
  • /invites - List all the invites people sent you
  • /remove - Remove yourself from the pairing database

Roadmap

  • Finish basic features
  • Add Projects
  • Add Website Interface
  • Add User analytics to Website
  • Add Project analytics to Website

Contributing

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Martin Buxmann

💻

Calvaz

💻 📖

Jim Cummins

📖

cachemon.eth

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

Contact

Acknowledgments

dao-pairbot's People

Contributors

mbuxmann avatar calvaz avatar allcontributors[bot] avatar jimthedev avatar gaslimitreached avatar

Stargazers

Roman 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.