Coder Social home page Coder Social logo

rolebot's Introduction

RoleBot

Automatically manage access to RealDeviceMap and PMSF maps based on members with Discord role(s) in Discord guild(s).

Installation

From the installation script: (Just need to fill out config and run)

wget https://raw.githubusercontent.com/versx/RoleBot/netcore/install.sh && chmod +x install.sh && ./install.sh && rm install.sh

Manually:

  • RoleBot
  1. wget https://dotnetwebsite.azurewebsites.net/download/dotnet-core/scripts/v1/dotnet-install.sh && chmod +x dotnet-install.sh && ./dotnet-install.sh && rm dotnet-install.sh
  2. git clone https://github.com/versx/RoleBot -b netcore
  3. cd RoleBot
  4. ~/.dotnet/dotnet build
  5. cp config.example.json bin/Debug/netcoreapp2.1/config.json
  6. cd bin/Debug/netcoreapp2.1
  7. nano config.json / vi config.json (Fill out config)
  8. ~/.dotnet/dotnet RoleBot.dll

Updating

  1. git pull
  2. ~/.dotnet/dotnet build
  3. cd bin/Debug/netcoreapp2.1
  4. ~/.dotnet/dotnet RoleBot.dll

If using PMSF: Replace discord-callback.php with the discord-callback.php file in this repository and change the RDM group_name column on line 35 to the group name in the config.json file.
This modified discord callback checks RDM user table if the user has their Discord account linked to their RDM map account and has the desired group name.

rolebot's People

Contributors

versx avatar

Stargazers

Crippe avatar

Watchers

James Cloos avatar  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.