GithubHelp home page GithubHelp logo

virtunat / pesterchum-discord Goto Github PK

View Code? Open in Web Editor NEW

This project forked from henry232323/pesterchum-discord

1.0 2.0 0.0 2.83 MB

A Discord client mimicking the Pesterchum chat client from Homestuck, Uses a lot of code from my Pesterchum Client

License: MIT License

Python 57.97% CSS 32.08% JavaScript 9.95%

pesterchum-discord's Introduction

Pesterchum-Discord

A Discord client mimicking the Pesterchum chat client from Homestuck, Uses a lot of code from my Pesterchum Client

If you have any questions either contact me the github or add me at Henry#6174 on Discord.

This app is NOT an all-in-one client! It is meant to enhance RP and anything else you wish to do with it, however it is recommended you still use regular Discord for technical functions.

Donate

If you like what I've made, consider buying me a coffee

Install

The release download is distributed as a .zip file. Unzip the file and inside will be a file called pesterchum.exe If there is an update, updater.exe will launch in a console. It doesn't install anywhere, its fairly portable. It is not yet for OSX/Linux, contact me if anyone is interested in supporting it.

If you are running an older version and would like to update (> v1.0.6) you can enable the auto updater by going into your cfg/options.json and changing the value "auto_update": false to "auto_update": true

Updating

Auto updating by default is disabled, but can be enabled in settings, if you would rather manually install the new update, copy and replace the following files and folders into the old installation discord, pesterchum.exe, updater.exe, python3.6.zip, python3.6.dll, asyncio, pywintypes36.dll If there are new themes or quirks, copy the relevant files / folders into the pyquirks folder and the themes folder

Tokens

The Discord API no longer allows use of credentials! Once you update to v1.3.0 or later you MUST use a token. All accounts have tokens, here's how to find yours:

  1. Open Discord
  2. Press Ctrl+Shift+i
  3. Click "Application" tab
  4. Expand Storage > Local Storage > https://discordapp.com
  5. Find "token" under "key"
  6. Copy the text in quotes on the same row

Starting soon (not yet) the app will ONLY accept tokens, however once tokens are mandatory, we will also get some cool new functionality.

Quirks

Pesterchum-Discord lets you do custom quirks using Regex! (Regular Expression) for help on quirks (they work identically) check out illuminatedWax's quirk info on the original Pesterchum. Misspeller has not yet been added. Works similarly to how its documented here, you do NOT need to add the function.command = "name"

Add custom quirk commands by going to the pyquirks folder and removing quirk_funcs.pyc and replacing it with your own quirk_funcs.py (if you want parts from the original just grab the source)

Bugs

Please report all bugs in the issues. If the application is not starting or crashes on startup, try starting it again, if that fails, delete cfg/auth, cfg/config.json, cfg/options.json (and if else fails try removing quirks.json too)

Themes

While I've made every theme available so far, they're easy (ish) for anyone to make. If you'd like me to add a theme, just send a pull request or message me. If you want to make a theme, best chance is to reverse engineer the already available (in the source) .ui files of an existing theme.

All themes have several main parts:

theme.json
{
 "name": "Pesterchum",
 "ui_path": "ui",
 "inherits": "Pesterchum 2.5",
 "css": "pesterchum.css"
}

This file is found in the theme folder. Name the folder whatever you'd like, that doesn't matter, for example this is in the themes/Pesterchum folder. In your folder there are several things.

  • A folder (designated in the theme.json) with your UI's in it, this one has its in themes/Pesterchum/ui as designated in the file "ui_path": "ui"
  • All your image files, look at the other themes for examples. These must be .png's, eventually I'll map out where every image is needed, for now its pretty easy to figure out.
  • Your css / styles, this is the file that is used to decorate your theme, just like a webpage, and is designated in your theme.json, in this one it is set to the path themes/Pesterchum/pesterchum.css with the line "css": "pesterchum.css" Look at example css to figure out how to use IDs and Classes in your css to match with the UIs, for example the main window can be targeted with .Gui or .QMainWindow

The theme.json will designate four things, like mentioned above

  • name The name of the theme (as displayed in the options)
  • ui_path The relative path in the folder to find the ui's
  • inherits Which theme's css it will inherit (for example Pesterchum inherits Pesterchum 2.5)
  • css The relative path to the css file with the themes styles

Make sure all relative paths do not start with a /

Another note, in order to designate the associated mood with the button, the mood button must be checkable and called moodButton# where # is a number between 0 and 22 designating to the position in this list minus 1

["chummy", "rancorous", "offline", "pleasant", "distraught",
"pranky", "smooth", "ecstatic", "relaxed", "discontent",
"devious", "sleek", "detestful", "mirthful", "manipulative",
"vigorous", "perky", "acceptant", "protective", "mystified",
"amazed", "insolent", "bemused"]

For example moodButton0 would be the button for "Chummy" or moodButton2 would reference Offline / Abscond. The text on the button will remain and does not matter.

Pesterchum 2.5

PesterchumPreview2

Trollian 2.5

TrollianPreview

Pesterchum

PesterchumPreview

Serious Business

DadPreview

sbahj

sbahjPreview

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.