[Release] Github Discord Bot

Discussion in '3DS - Homebrew Development and Emulators' started by Quantumcat, Aug 13, 2017.

  1. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Update!!

    No more RSS feeds needed! I used a Java Github API to do the information-gathering on the bot itself! This means you can query ANY github repository for the latest commit or release. To use:

    .r author project (this will give you the latest release)
    .c author project (this will give you the latest commit)
    .help will give a list of commands.

    I left the other commands as-is as a shortcut.

    Since all the code is in one place I uploaded to a repo so you can check it out: https://github.com/quantumcat1/GithubDiscordBot

    To invite the bot to your server:
    https://discordapp.com/api/oauth2/authorize?client_id=344712690989531146&scope=bot&permissions=0
    @sks316's and @Giodude's servers already have it. If you think this would be useful for the homebrew discord let @ihaveamac know (hint, hint). The previous version couldn't be there because of the reliance on the RSS feeds. But now that all the code is in one place it should be allowed now.

    old post
     
    Last edited by Quantumcat, Aug 15, 2017
    sks316, LeoIeiri, ihaveamac and 4 others like this.
  2. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Added Luma3DS (command: "luma") and boot9strap (command: "b9s")
    Edit: and ReiNAND (command: "reinand"), and NTRBoot flasher (command: "ntrboot")
     
    Last edited by Quantumcat, Aug 13, 2017
    KunoichiZ likes this.
  3. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Added FBI (command: "fbi") and Luma Updater (command: "lumaupdater"). Also made it so that the bot ONLY replies to you in a private conversation. This makes it useful to add to your own server, so your users can ask it privately about homebrew updates without getting in the way of conversation.
     
  4. KunoichiZ

    KunoichiZ GBAtemp Guru

    Member
    7,845
    3,118
    Mar 16, 2012
    United States
    If it's not already, can you make the Luma Updater command be for releases and not for new commits?
     
  5. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Yep it's for releases. Only the guide has commits since releases doesn't make sense for it. I'll add commits for the others as well, separately, but if you don't want Luma Updater to have commits that's fine!
     
    KunoichiZ likes this.
  6. Giodude

    Giodude Ruler of Italy

    Member
    GBAtemp Patron
    Giodude is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,741
    1,078
    May 17, 2015
    United States
    New York
    Thanks man, i added it to the ctgp-7 discord i run. Only one gripe though, and that's that it has no command before it. Is it possible so that it could work like !gm9 or ?gm9 or +gm9?
     
    Last edited by Giodude, Aug 14, 2017
    Quantumcat and TLOZmaster like this.
  7. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Sure, I'll make it "." like the 3DS homebrew assistance server.
     
  8. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Update! No more RSS feeds. See OP.
     
  9. Giodude

    Giodude Ruler of Italy

    Member
    GBAtemp Patron
    Giodude is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,741
    1,078
    May 17, 2015
    United States
    New York
    Does it still only work through PM's?
     
  10. Quantumcat
    OP

    Quantumcat Dead and alive

    Member
    10,405
    5,490
    Nov 23, 2014
    Australia
    Canberra, Australia
    Yes. OK, I'll remove this restriction!
    Edit: done
     
    Last edited by Quantumcat, Aug 15, 2017
    Giodude likes this.