Coder Social home page Coder Social logo

wiimmfi-discord's Introduction

wiimmfi-discord

Last Commit Commits since last release MIT Licence Forks Stars Open Issues Using PyPresence Max-used language

Python 3.6+ rich presence client by Sam Carson for the Wiimmfi servers. Please reference their wiki page for extra information.

How to use

Using this is as simple as cloning the repo or heading over to the releases section and downloading it. Run python3 main.py in a terminal and after the first use it will probably say that the config contains default values. That will be covered in the next section:

Configuration

There are two config files, friend_codes.py and status.py (they are in py format so loading is as simple as importing)

friend_codes.py

data = [
    {
        "game": "XXXX",
        "friend_code": "XXXX-XXXX-XXXX-XXXX"
    }
]

To edit:

  • change game to any ID from this huge list
  • change friend_code to the 16 digit code you have in the specified game.

Extended functionality is supported for Mario Kart Wii (such as showing current track and amount of players in the room), its code is RMCJ. Only hyphens and digits are supported in the friend code.

status.py

data = {
    "0": "User offline",
    "1": "In the menus",
    "2": "In a room",
    "3": "Searching for opponents",
    "4": "Connecting to private room",
    "5": "Hosting a room",
    "6": "Special brawling"
}

To edit:

  • keep the key names, such as "1" the same, but the messages can be edited; these are the default values.

Status 6 is specific for Super Smash Bros Brawl for an unknown reason

Roadmap

In the future, I plan on re-writing this to make it clearer and faster to use. No need, already efficient.

wiimmfi-discord's People

Contributors

samcarsonx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.