GithubHelp home page GithubHelp logo

ranrinc / di-clan-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from folgrim/di-clan-helper

0.0 0.0 0.0 90 KB

Python discord bot that can help you manage your clan

License: MIT License

Python 100.00%

di-clan-helper's Introduction

Python discord bot that helps with events and clan management

There are five main areas where this bot can help you run your server

  1. CR tracker. Members can use !cr/!res/!name commands to update their info. Bot also keeps track of active members with "home role" assigned

  2. Role sync. There is an ability to sync member roles between multiple servers in a mesh form and update them on join or leave events. When member from server1:role1 joins server2 member autoreceives role2 and name prefix

  3. Kions tracker. Users with manage_roles permissions can create events for other officers to sign up

  4. ROE groups manager. Assign people to groups. People can use commands like !mygroup or !whogroup to find their teammates

  5. DI events tracker. AutoPosts Daily Diablo Immortal Events digest and 15 minutes update prior the event

If you have any questions reach out to hobz#8445 on discord

Bot-as-a-service

https://discord.com/api/oauth2/authorize?client_id=415370939711356928&permissions=8&scope=applications.commands%20bot

Self-hosted Installation and pre-requisites

pip3 install -r requirements.txt

local .env file with the following information

env="PROD"
DISCORD_TOKEN_PROD=""
OWNER_DISCORD_ID=""
MYSQL_HOST=""
MYSQL_USER=""
MYSQL_PASSWORD=""
MYSQL_DB=""

SQL Schema and Events is included in the resourcers/ folder

Run with

  python3 main.py

Bot Configuration Reference

ALLOW_CLAN_DATA: Allow viewing clan data on specified server ID

EVENT_ANNOUNCE_CHANNEL: Channel ID to announce game events

GUILD_HOME_ROLE: Role ID that will be used to check if user is in clan during the cross server sync

GUILD_NAME: Guild name that will be displayed on !top/!whois commands

ROLE_SYNC: Value field is a column separated string with source_guild_id:source_guild_role:target_guild_role:prefix

TIME_CHANNEL: Voice channel that will be used to set current game time

KION_CHANNEL: Channel ID to announce kion events

Demo

cr_tools

kions

di_events

role_sync_in_action

di-clan-helper's People

Contributors

folgrim avatar mrhobby 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.