[WIP] Meet Koshiro! Our official Discord Bot, Open Source and Community builded. 🛸

Overview

KISHIRO BANNER GitHub license

Koshiro

Meet Koshiro! Our official Discord Bot, Open Source and Community builded. 🛸

Getting Started

  1. Clone the repository
git clone https://github.com/WebXDAO/Koshiro/; cd Koshiro
  1. Install nestjs dependencies
npm install
  1. Create a Discord Bot Token and a .development.env file:
DISCORD_BOT_TOKEN=<mandatory>
  1. Start up Koshiro 💮 !
npm run start:dev

How to create a Discord Bot Token

TODO: write tuts

Stacks

Comments
  • feat: getAllContributors from WebXDAO GitHub org

    feat: getAllContributors from WebXDAO GitHub org

    Related Issue

    • Information about the related issue

    Closes: #7

    Describe the changes you've made

    This command will return all contributors of the WebXDAO organization provided by the GitHub API.

    • Using octokit, official js wrapper for gh api.

    🚧 WIP: the API is limited to 60 requests per hour... So we need to cache the result/save it into a DB.

    • TODO: Allowing the user to fetch one time per hour. And save the response into the DB with a Date.now() timestamp.
      • => If already present for the current hour, return the cached response from the DB.

    Type of change

    What sort of change have you made:

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] Documentation update.
    • [ ] This change requires a documentation update

    Code of Conduct

    enhancement 
    opened by mkubdev 0
  • [FEATURE] Command: GetAllContributors

    [FEATURE] Command: GetAllContributors

    Detailed description

    Build a getAllContributors function that fetches the GitHub API.

    Context

    Just display a fancy card with discordjs on the server.

    Possible implementation

    Using a cronjob strategy or a direct call strategy. Check #8

    Additional information

    No response

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    enhancement feature 
    opened by mkubdev 1
  • [FEATURE] Create the Github Org reporter

    [FEATURE] Create the Github Org reporter

    Detailed description

    Description

    Build a function that will run with a cronjob once a day, and display a quick recap of available PRs of the WebXDAO org.

    How to?

    • To build a CRON function in a nestjs application, we can use Task Scheduling technique from nestjs.

    Task scheduling allows you to schedule arbitrary code (methods/functions) to execute at a fixed date/time, at recurring intervals, or once after a specified interval. In the Linux world, this is often handled by packages like cron at the OS level.

    • Use the GitHub API to fetch the organization repository data :
    https://api.github.com/orgs/WebXDAO/repos
    

    Context

    To increase interactivity in the community, we want to build a cron function to display one time per day, a recap of our GitHub organization stats from every repository:

    • Last 5 issues
    • New opened issues last day
    • How many PRs open
    • How many PRs awaiting merge

    Possible implementation

    No response

    Additional information

    No response

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    enhancement feature 
    opened by mkubdev 0
  • [FEATURE] Connect Koshiro to a database

    [FEATURE] Connect Koshiro to a database

    Detailed description

    We want to connect this bot to a database.

    We have multiple choices and this needs to be discussed here.

    I think the best is to create a dockerized env, so adding the database into a docker-compose file seems a good idea to me. So that we able to run and debug the bot locally.

    I like NoSQL, especially MongoDB. But we can use other databases.

    Context

    For future feature implementations, we need a database.

    Possible implementation

    We can use MongoDB and Prisma as ORM.

    Additional information

    No response

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    enhancement feature 
    opened by mkubdev 0
  • [FEATURE] Create a Dockerfile to deploy the bot

    [FEATURE] Create a Dockerfile to deploy the bot

    Detailed description

    The bot should be dockerized with a Dockerfile or a docker-compose file (for futur database implementation).

    Context

    The Dockerfile need to build and run the application from the source.

    Possible implementation

    No response

    Additional information

    No response

    Code of Conduct

    • [X] I agree to follow this project's Code of Conduct
    enhancement feature 
    opened by mkubdev 0
Owner
WebX DAO
Build with us, the future of web. ⚡
WebX DAO
A community Discord bot testnet faucet for thirdweb community. 💻🌏

Thirdweb Faucet (Discord Bot) ?? Nominate (@WarenGonzaga) as GitHub Star. If you appreciate his hardwork and dedication to open source. A dedicated Di

Waren Gonzaga 4 Aug 6, 2022
An open source community powered Discord bot to stop and remove the trash from the SW workshop.

SW Anti Reuploads & Trash Discord bot An open source community powered Discord bot to stop and remove the trash from the SW workshop. SW Discord · Cre

SIMPLE MARK 4 Jun 20, 2022
Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot that handles all your server needs.

Welcome to Co-Pilot Bot repo! ?? ?? Co-Pilot (All-in-one Discord Bot) Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot

YMafalha 19 Nov 11, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.

Public Bot and Support Server! Invite the Public Version of this Bot so you don't need to host it by yourself or join my Discord server to get a custo

Tomato6966 472 Dec 25, 2022
A bot to report repositories that do not meet Hacktoberfest guidelines and standards.

Set up a bot application Invite the bot to your server via an oauth2 invite link Find your Guild (server) ID Create a file named .env in the root dire

nick-w-nick 2 Oct 12, 2021
This bot can raise your mood. This bot send joke often our channel for users. Sometimes bot don't work because we have not server for this project...)

Hi, welcome to send-joke-bot telegram bot project ?? What can do this bot ? This bot can raise your mood. This bot send joke often our channel for use

Muhammadamin 5 Sep 26, 2022
The Discord Bot for the AvdanOS Community Discord server.

Tinan The Discord Bot for the AvdanOS Community Discord server, made using discord.js v13.8. How to contribute Forking Step 1: Make a contribution for

AvdanOS 11 Dec 1, 2022
An open-source Discord bot built with Discord.JS & TypeScript

?? Hans - Discord Bot Discord Bot build with Discord.JS, TypeScript, and lots of ❤️ Invite hans to your server You can invite the bot here ?? . It's u

Sorin 9 Nov 15, 2022
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022
Create custom would you rather questions for our discord bot using this simple ui tool!

Json Generator How to run the project Install the VSCode Live Server Extention. Navigate to the html file. Start the Live Server. Want to contribute?

Would You Bot 7 Dec 15, 2022
A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.

Suggestions A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff. St

Suggestions 4 Dec 24, 2022
The official bot for Lewis Menelaws (TectTok). The bot is made by using Typescript. Feel free to contribute!

lewis-bot Prerequisites Create an application in Discord's developer portal. You need to add all the Intents and permissions. Then create a link in OA

Luka Hietala 2 Aug 11, 2022
This is discord bot specifically made for Community Classroom

Classroom Monitor Bot This bot provides functionalities for 'Community Classroom' discord server. Community Classroom is an initiative 'for the studen

Kaiwalya Koparkar 0 Apr 10, 2022
A configurable Discord Community server nuking bot with a small twist.

Quby Bot A configurable Discord Community server nuking bot with a small twist. The bot will perform these actions in the following order: When the bo

Oliver B 3 Sep 7, 2022
Discord community bot for genicsblog.com

genics-bot Source code of discord bot for the genicsblog.com community. Local setup Clone the repo and cd: git clone https://github.com/genicsblog/gen

Genics Blog 5 Oct 3, 2022
OpenAI Discord Community's GPT-3 powered DALL·E 2 support bot

DALL·E Discord Bot OpenAI Discord Community's GPT-3 powered DALL·E 2 support bot This repository hosts the code for the OpenAI Discord Community's GPT

OpenAI 31 Nov 16, 2022
A Discord Bot For Open Source Guidance & Resources

OSC-Bot A Discord Bot For Open Source Guidance & Resources OSC Bot is an open-source discord bot created using discord.js for providing guidance and r

Aakash Jha 12 Oct 26, 2022