Git Product home page Git Product logo

automudae's Introduction

AutoMudae

Introduction

Auto Rolling, Claiming and Reacting.

This script make it possible to use the Mudae Discord Bot 24/7 without any human input. Claim Mudae's waifus/husbandos or react to kakeras every hour automatically.

Features

  • Auto roll every hour with the command you want
  • Auto Claim cards that belong to the series you like
  • Auto React only to the kakera you prefer
  • Repeat all the functionalities above each hour the minute you prefer
  • BONUS - Uses always slash commands in order to benefit from the native slash boosts (10% extra Kakera)

Files

This repository contains 3 different files:

File Name File Purpose File Purpose
Vars.py Where the variables that you need to change are stored Edit it
Bot.py The bot is launched from here Execute it
Function.py Contains the function and code for the bot to work Nothing

Requirements

This bot requires the following libraries in order to work correctly. Make sure you have them all installed. Discum for message management. Schedule in order to be permanently executed at an exact minute of an hour.

pip install discum schedule

Installation

Pakages

To use this bot you just need to set up a few things. Make sure python 3 is installed along with the 2 required libraries (Discum and Schedule). If you don't know how to do it, read How to install a Python package.

Variables (Vars)

Time to open Vars.py. Here you decide what settings the bot will have. In this section we will see what each variable does and what are the possibilities to fill them out.

You also choose what Discord account you want to execute the code in and on what guild channel you want the bot to execute the Mudae commands. These two decision will be reflected in these two variables.

Mandatory variables

Note

You will have to fill them in if you want the bot to work.

Optional variables

Note

These are already filled by default, but you can change them if you want (specialy the desiredSeries one).

  • rollCommand - Choose what command (only one) will the bot use to roll (mx, ma, mg, wx, wg, wa, hx, ha or hg)
  • desiredKakeras - Case-sensitive - Array of kakera types between single quotes separated by comas (see example below)
  • desiredSeries - Case-sensitive - Array of series between single quotes separated by comas (see example below)
  • pokeRoll - If you want to also roll the Mudae's Pokeslot (True or False)
  • repeatMinute - You can choose what exact minute of the hour will the Bot roll (value between 00 and 59, will be set to 25 by default)

Example

Note

Depending on the variable type (boolean, string, int or array), the data might be between quotes or not. Please pay attention to it.

In the example, the token, channelId and serverdId are invented fields.

token = 'MTE4MDIyNzU4NTUzNjQzNDMxNw.GDXjNH.YqGhIq7GwyVHSk9sf9zod3AACAffJeZiynTexc' 
channelId = '1182144443902599230'                 
serverId = '816317249082097684'                  
rollCommand= 'wa'
desiredKakeras= ['kakeraP','kakeraY','kakeraO','kakeraR','kakeraW','kakeraL']
desiredSeries = ['One Piece','Dragon Ball Z','Death Note']
pokeRoll = True
repeatMinute = '25'

Execution

image

Once you have completed all the previous steps, you will be able to safely execute Bot.py This will open the file and start the Bot, logging all the rolls and actions made. The console should look like the image (note that if you set the minute to 25, the bot won't roll until it's that time every hour)

  • Red heart -> already claimed cards
  • White heart -> not claimed yet cards

Possible Errors

  • Mudae has no access/write/read permission to the channel you decided
  • Your Discord Token may have changed
  • Your Mudae settings always have a button on each character roll
  • Series and Characters are case-sensitive
  • Your account must have a DM (at any time) with the mudae bot (try $help to make sure)

Advanced Bot

Note

These are not added but will be in the future.

  • ALL the previous features
  • Desired Characters: AutoClaim the exact characters when they appear with priority over all!
  • Optimized Kakera react: The bot will use an algorithm to prioritize higher Kakera values without losing any efficiency
  • Optimized claiming: In order to not losing the claim, it will get the max value card in case it doesn't match any desired series or cards
  • Optimized $dk use: The bot will perfectly use and take into account the DK command to get even more effective kakera reactions
  • Optimized $rt use: In case of not having an available claim, the Bot will use the $rt command to be able to claim
  • Optimized $daily use: Use the daily command each time it is available
  • Optimized $rolls use: Use the rolls command to get better claims or kakera reactions
  • Multi-Bot: Add as many Discord Accounts as you want to do everything menctioned above to multiply your profits

automudae's People

Contributors

guillediazfentanes avatar rahaaatul 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.