#👾-core-development

1 messages · Page 24 of 1

spark cove
#

more bearable

swift fjord
#

bad

charred monolithBOT
limber skiff
charred monolithBOT
limber skiff
#

you will also merge this ven, trust my patches 😉

charred monolithBOT
charred monolithBOT
elfin dew
#

quickest issue ever

#

next vencord issue will take 5 months to resolve

charred monolithBOT
rigid venture
#

mrowt

charred monolithBOT
charred monolithBOT
rare escarp
#

omg when the githubbed

#

cantinho do sexo

#

NOOO I CAN’T POST ANYMORE

limber skiff
#

@austere talon yes

#

added some comments

limber skiff
#

I only now was able to see that #assets was hidden KEKW

charred monolithBOT
limber skiff
#

epic megu help

umbral hedge
limber skiff
#

is the rtc connecting issue too?

umbral hedge
#

yeah

#

its discord

limber skiff
#

dang

umbral hedge
#

this is annoying as shit

#

im disabling it

limber skiff
#

it's so strange it happens more with fakenitro

umbral hedge
#

coincidence

#

why is this even an announcement channel husk

#

we dont announce anything

austere talon
#

there's no correlation I tried with fake nitro on and off and managed to reproduce it both times

umbral hedge
#

yeah

#

its just a bunch of coincidences

limber skiff
#

yeah I never tested

umbral hedge
#

people jump to blame client mods

limber skiff
#

just noticed more people blaming it and figured it kinda happened to me too

solemn spoke
#

we will make a voice fix lol

charred monolithBOT
#

Thanks for the effort, but I'm not accepting any more specific text replace plugins! We already have too many and there's way too many use cases for wanting to replace text like this. Instead, someone should make a generic text replace plugin where users can manually add rules

Would you be open to merging this plugin with the existing FxTwitter plugin by renaming the plugin and adding each site as its own boolean setting? That way a user wouldn't need to create/find their own patterns.

charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
charred monolithBOT
#

i guess a separated git repo would be better to handle it instead of regex snippets on a discord channel. the plugin would fetch a list of regex matches from that repo, and then the user could choose which ones they want. the reason as this is better is because bad regex expressions could be sent by users, and without a good way to properly review them, maybe it could bring down user experience. other than that, the plugin could sort that list by popularity and by release, things not possible...

limber skiff
#

goodluck ven

charred monolithBOT
charred monolithBOT
limber skiff
#

for now we can keep that setting

#

and if you could just make completely sure message logger works for me you can merge it

#

I'm not on pc anymore

#

actually eh no need to test

#

there is no way it's not working

#

I'm using both moment and timestamp on showhiddenchannels

#

I just made message logger import them from common

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Unless I'm mistaken.
The installer puts the Vencord files on /root after requiring root privileges to access /opt . Then, when trying to launch discord, it craps itself because it does not have access to /root/.config/Vencord.
I also tried to set the VENCORD_USER_DATA_DIR variable, but nothing happened. I even put it inside install.sh script and still it didn't affect anything.
In the end I installed it to a /home/user/.config/Vencord folder and manually moved the app.asar folder to /opt...

limber skiff
#

so beautiful 😭

austere talon
#

noleeks

limber skiff
#

hmmm

#

discord does not like channels that you can't view but can connect

#

you can click this and it opens the window

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
limber skiff
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

I run it as a non privileged user.

[iliq@PC-50418 ~]$ sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"
Downloading Installer...
Wayland detected

Now running VencordInstaller
Do you want to run as root? [Y|n]
This is necessary if Discord is in a root owned location like /usr/share or /opt
> y
Running with sudo
VencordInstaller was run with root privileges, actual user is iliq
Looking up HOME of iliq
Actual HOME is /home/iliq
...
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

way less messy

#

i also wanna type everything in commons

umbral hedge
austere talon
#

god typing these is pain

umbral hedge
#

I can probably help with that xd

charred monolithBOT
austere talon
#

god i only now finished typing forms

#

so tedious

umbral hedge
austere talon
#

mmm

#

types dont seem correct

umbral hedge
#

wym

austere talon
#

l = mt(e, [
"type",
"className",
"disabled",
"selectable",
"children",
"style",
]),

#

what does this do

#

is this like propsExceptThoseKeys

umbral hedge
#

what component

austere talon
#

FormText

umbral hedge
#

looks like it's just a replacement for the spread operator?

const FormText = ({type, className, disabled, etc..., ...props}) => {}```
austere talon
#

are those passed down to Text or smth

umbral hedge
#

yeah

austere talon
#

husking

umbral hedge
#

it adds classname and style, and just {...props}

#

why not do /** @default {FormText.Types.DEFAULT} */

#

i think that works at least

austere talon
#

oh wait

#

was in wrong place

umbral hedge
#

xd

austere talon
#

needs to be inside ComponentType<>

charred monolithBOT
austere talon
#

okay fixed them

umbral hedge
austere talon
#

now gotta type all of the rest

umbral hedge
charred monolithBOT
umbral hedge
#

improb

austere talon
#

made a super simple waitFor wrapper

#

nicer in code and will throw good errors

umbral hedge
#

makeWaitFor

austere talon
#
- minified react error undefined isnt component type blah blah
+ Could not find Button
umbral hedge
#

ah

#

nice

#

I like that

austere talon
#

le simple

umbral hedge
austere talon
#

i found issue with that

umbral hedge
#

o?

austere talon
#

some components have props

umbral hedge
#

wdym
isn't the user supposed to provide the props anyways

austere talon
#

this should fix

austere talon
#

Button becomes LazyComponent which doesnt have SIzes prop

umbral hedge
#

ah

#

ButtonSizes is exported separately too

austere talon
umbral hedge
charred monolithBOT
umbral hedge
#

le epic fix moment

austere talon
#

yop u love

umbral hedge
#

love

austere talon
#

doesnt seem to make a performance difference

#

even though every component is wrapped in a function now

charred monolithBOT
umbral hedge
#

MORE

austere talon
#

did a funny

#
type FluxEvents = "MESSAGE_CREATE" | "ACTIVITY_INVITE_MODAL_OPEN" | "ACTIVITY_INVITE_MODAL_CLOSE" | "SHOW_KEYBOARD_SHORTCUTS" | "HIDE_KEYBOARD_SHORTCUTS" | "APPLICATION_COMMAND_SET_ACTIVE_COMMAND" | "CONNECTION_OPEN" | "CONNECTION_CLOSED" | "AUDIO_SET_MODE" | "PREMIUM_PAYMENT_MODAL_OPEN" | "PREMIUM_PAYMENT_MODAL_CLOSE" | "MESSAGE_LENGTH_UPSELL" | "POST_CONNECTION_OPEN" | "CHANNEL_SELECT" | "AGE_GATE_MODAL_OPEN" | "AGE_GATE_MODAL_CLOSE" | "AGE_GATE_SUCCESS_MODAL_OPEN" | "AGE_GATE_FAILURE_MODAL_OPEN" | "WINDOW_FOCUS" | "APP_STATE_UPDATE" | "LOGIN_SUCCESS" | "RTC_CONNECTION_VIDEO" | "AUDIO_SET_LOCAL_VIDEO_DISABLED" | "VOICE_CHANNEL_SELECT" | "CONNECTIONS_GRID_MODAL_SHOW" | "CONNECTIONS_GRID_MODAL_HIDE" | "LOGOUT" | "CHANNEL_DELETE" | "UNVERIFIED_GAME_UPDATE" | "GAME_ICON_UPDATE" | "CHECK_LAUNCHABLE_GAME" | "POGGERMODE_SETTINGS_UPDATE" | "POGGERMODE_TEMPORARILY_DISABLED" | "CHANNEL_CALL_POPOUT_WINDOW_OPEN" | "RTC_DEBUG_POPOUT_WINDOW_OPEN" | "PROFILE_CUSTOMIZATION_OPEN_PREVIEW_MODAL" | "MESSAGE_UPDATE" | "MESSAGE_DELETE" | "SPEAKING" | "GUILD_CREATE" | "CHANNEL_CREATE" | "RPC_NOTIFICATION_CREATE" | "ACTIVITY_JOIN" | "ACTIVITY_PIP_MODE_UPDATE" | "THERMAL_STATE_CHANGE" | "ACTIVITY_SCREEN_ORIENTATION_UPDATE" | "RELATIONSHIP_ADD" | "RELATIONSHIP_REMOVE" | "PRESENCE_UPDATES" | "PRESENCES_REPLACE" | "LOBBY_UPDATE" | "LOBBY_DELETE" | "LOBBY_MEMBER_CONNECT" | "LOBBY_MEMBER_UPDATE" | "LOBBY_MEMBER_DISCONNECT" | "LOBBY_MESSAGE" | "ENTITLEMENT_CREATE" | "ENTITLEMENT_DELETE" | "USER_ACHIEVEMENT_UPDATE" | "VOICE_CHANNEL_EFFECT_SEND" | "VOICE_STATE_UPDATES" | "SPEAK_TEXT" | "SPEAK_MESSAGE" | "STOP_SPEAKING" | "AUDIO_TOGGLE_SELF_DEAF" | "USER_SETTINGS_PROTO_UPDATE" | "USER_PROFILE_MODAL_OPEN" | "USER_PROFILE_MODAL_CLOSE" | "USER_REQUIRED_ACTION_UPDATE" | "CURRENT_USER_UPDATE" | "USER_SETTINGS_PROTO_ENQUEUE_UPDATE" | "USER_SETTINGS_PROTO_LOAD_IF_NECESSARY" | "IDLE" | "MESSAGE_REACTION_ADD" | "MESSAGE_REACTION_REMOVE" | "SIDEBAR_VIEW_CHANNEL" | "LAYER_PUSH" | "GUILD_FEED_ITEM_READ_ACK" | "STREAM_WATCH" | "STREAM_START" | "STREAM_CREATE" | "STREAM_UPDATE" | "STREAM_DELETE" | "STREAM_CLOSE" | "CALL_UPDATE" | "CHANNEL_UPDATES" | "MEDIA_ENGINE_VIDEO_STATE_CHANGED" | "RTC_CONNECTION_STATE" | "TYPING_STOP" | "TYPING_STOP_LOCAL" | "PREMIUM_REQUIRED_MODAL_OPEN" | "PREMIUM_REQUIRED_MODAL_CLOSE" | "OVERLAY_SET_INPUT_LOCKED" | "QUICKSWITCHER_SHOW" | "QUICKSWITCHER_HIDE" | "EMBEDDED_ACTIVITY_LAUNCH_FAIL" | "EMBEDDED_ACTIVITY_OPEN" | "EMBEDDED_ACTIVITY_CLOSE" | "EMBEDDED_ACTIVITY_INBOUND_UPDATE" | "EMBEDDED_ACTIVITY_DEFERRED_OPEN" | "RPC_APP_DISCONNECTED" | "STREAM_STOP" | "RUNNING_GAMES_CHANGE" | "MEDIA_ENGINE_SET_DESKTOP_SOURCE" | "MEDIA_ENGINE_PERMISSION" | "START_SESSION" | "CALL_CREATE" | "CALL_DELETE" | "AUDIO_TOGGLE_SELF_MUTE" | "AUDIO_TOGGLE_LOCAL_MUTE" | "PURCHASE_CONFIRMATION_MODAL_OPEN" | "PURCHASE_CONFIRMATION_MODAL_CLOSE" | "ANALYTICS_FEED_ITEM_SEEN" | "ANALYTICS_FEED_ITEM_UNSEEN" | "ANALYTICS_FEED_FLUSH" | "DRAWER_OPEN" | "DRAWER_CLOSE" | "EMBEDDED_ACTIVITY_FETCH_SHELF_SUCCESS" | "EMBEDDED_ACTIVITY_FETCH_SHELF_FAIL" | "INVITE_MODAL_OPEN" | "INVITE_MODAL_CLOSE" | "ACCESSIBILITY_SUPPORT_CHANGED" | "ACCESSIBILITY_COLORBLIND_TOGGLE" | "ACCESSIBILITY_SET_SATURATION";

umbral hedge
#

owo

austere talon
#

uh

#

doesnt work fully

umbral hedge
#

hm?

austere talon
#

wtf

#

46kb

umbral hedge
#

pain

austere talon
#

should i even add that

#

the insanity

umbral hedge
#

maybe we should map the string to a type (containing the data the event sends/receives)
and just get people to add them as they get used, rather than having lots of redundant ones

#

also jesus thats a lot

austere talon
#

i mean this is pretty useful

umbral hedge
#

true..

austere talon
#

and this

umbral hedge
#

i mean its not like it'll get compiled into prod so there isn't much harm

#

definitely put it in its own file though xdd

austere talon
#

i dont get one thing

umbral hedge
#

m?

austere talon
umbral hedge
#

i guess it treats "async" functions differently

charred monolithBOT
#
austere talon
#

whats wrong here

#

idgi

#

why is it missing that prop

#

i will porobably just not the type

#

it pointless

umbral hedge
#

whats the type of Dispatcher.subscribe

charred monolithBOT
umbral hedge
#

that

austere talon
#

i just typed the event as any

#

no point typing that it has type property

#

not really useful

umbral hedge
#

true

austere talon
#

Hmmmm im really curious why Discord performs so poorly

central event handler that sequentially handles 1400 different events: Clueless

umbral hedge
limber skiff
umbral hedge
#

nuckyz exploding prod

limber skiff
#

yes

charred monolithBOT
umbral hedge
#

moo

charred monolithBOT
charred monolithBOT
charred monolithBOT
austere talon
#

okay done i think

#

well besides

TODO: Type rest of components

#

if anyone wanst to help with that

charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
#

fixed in

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

charred monolithBOT
austere talon
#

everything typed now

#

discord insane

limber skiff
#

ultra poggers

charred monolithBOT
charred monolithBOT
charred monolithBOT
umbral hedge
#

exploding prod

#

(real)

limber skiff
#

we love

austere talon
#

u will love fully typed components

austere talon
#

i will review prs tmrw

charred monolithBOT
charred monolithBOT
solemn spoke
#

whats that branch about

limber skiff
#

among

umbral hedge
solemn spoke
#

lol

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

A green throbber appears in the white screen after some seconds before it crashes
Vencord version: 1.0.6 (1.0 according to app manager)
Operating system: Android 5.1.1, not flashed
Device model: SM-J105B (Samsung J1 Mini)
Encryption enabled (whole device and SD card). Giving this information because I had some issues that made apps not work properly

Workarounds attempted:

  1. Disabling I2P and VPN.
  2. Disabling and changing Wi-Fi network. Disabling it, the throbber spins infinitely (t...
austere talon
#

ANDROID 5

#

hop off immediately

charred monolithBOT
crude hearth
#

same thing was causing my aliucord authorization thingy to crash

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

very likely you don't have a working webview or it's very outdated.

Imgur videos and specific types of videos - which probably requires some type of codec I think (?) - won't play. I didn't look further on which types of videos won't play. These videos don't work in my integrated video viewer but work in something like VLC (which I'm looking for a smaller alternative). According to the app manager, "Android System WebView" is in version 95.0.4638.74 and the (app) size is 112MB for refere...

charred monolithBOT
charred monolithBOT
verbal pumice
#

Update README.md has to be the best feature added

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
fair mantle
#

bruh

charred monolithBOT
woeful sable
#

co-authored-by fail

limber skiff
#

you gotta remove this from the end

woeful sable
#

oh guh

#

patch still worked so I didn't notice lol

limber skiff
#

oh yeah cuz the match is actually null lol

#

$& ended up inserting nothing

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
pure ledge
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
swift fjord
#

doesn't discord store the size of gifs

#

like in the picker and messages

somber ginkgo
rustic nova
somber ginkgo
#

@austere talon merge 460 im dying

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

None

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
woeful sable
charred monolithBOT
limber skiff
#

@dapper tiger you will make it use friend nicknames on dms too

dapper tiger
#

how

#

also i didnt even know friend nicknames were a feature

#

i thought they were just abandoned experiment

limber skiff
#

they released it

#

I can help you test it if you need

#

add me, set a friend nickname for me and I will type for you

dapper tiger
#

ive gotta finish some hw

#

if i have time later then ill see

limber skiff
#

aight

dapper tiger
#

@austere talon whats !

limber skiff
#

non null assertion

dapper tiger
#

guildId could be null though

#

wouldnt it be better to not perform getNick when its null

limber skiff
#

yeah but I guess it will return undefined in that case

#

so you can just ignore it

#

idk that's ven suggestion

dapper tiger
#

guhh

charred monolithBOT
dapper tiger
austere talon
#

it covers the case that guild id is null

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
umbral hedge
golden gulch
#

why in the world

verbal pumice
#

what the fuck why

cunning bobcat
#

that is the worst idea ever

charred monolithBOT
charred monolithBOT
charred monolithBOT
dapper tiger
#

@austere talon i make plugin that uploads to file host

#

would you love

#

oh my god quit playing ow

#

addiction

dapper tiger
#

why

austere talon
#

someone already made

#

and bad

#

image hosts so bad

dapper tiger
#

try having no nitro for 48 years

austere talon
#

hop on sharex

dapper tiger
#

no

#

sharex bad

somber ginkgo
dapper tiger
#

nop

somber ginkgo
#

hop on THIS

limber skiff
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

Failed to load resource: the server responded with a status of 404 ()

#
Bad Patches

ReverseImageSearch (had no effect):
ID: 386239
Match: /(?<props>.).onHeightUpdate.{0,200}(.)=(.)=.\.url;.+?\(null!=\3\?\3:\2[^)]+/

MessagePopoverAPI (had no effect):
ID: 415342
Match: /\?(?<makeButton>[A-Za-z_$][\w$]*)\(.{1,35}\.Messages\.CONFIGURE.+?message:(?<message>[A-Za-z_$][\w$]*).+?children:\[/

Bad Starts

None

Discord Errors
Failed to load resource: the server responded with a status of 404 () ```
limber skiff
#

EW AGAIN

dapper tiger
#

love

austere talon
#

wasnt moment literally made for this

limber skiff
#

It doesn't work

#

I spent an hour trying to do it with moment

#

No matter what settings I tried to apply it kept making 5 seconds turn into a few seconds

#

which is not what I want

austere talon
limber skiff
#

I don't want time like that

austere talon
#

what format do u want

#

moment can likely do it

limber skiff
#

I want it to be 47 minutes and 18 seconds

limber skiff
#

and I as I said it refused to work the way I wanted

austere talon
#

u can still use moment tho

limber skiff
#

I still need to add commas and the "and"

#

like if something isn't exact it's gonna be for example 2 years, 4 months, 1 day, 5 hours, 7 minutes and 8 seconds

austere talon
#

ur function is so broken what

#

the latter is ur function

limber skiff
#

whatt

#

😭

austere talon
#
var dur = wp.Common.moment.duration(182810281)
var didFunny = false;
console.log(["years", "months", "weeks", "days", "hours", "minutes", "seconds"].reduce((full, unit, i, arr) => {
    const x = dur[unit]();
    if (x > 0 || didFunny) {
        if (didFunny)
            full += unit === "seconds" ? ", and " : ", ";
        full += `${x} ${unit}`;
        didFunny = true;
    }
    return full;
}, ""))
#

just use this

#

2 days, 2 hours, 46 minutes, and 50 seconds

#

result

limber skiff
#

uhh to be honest I made chat gpt make it

#

I was lazy

#

ok hold on I will switch to it

austere talon
#

actually u dont need the didFunny

limber skiff
#

grr you aren't supposed to only add the and after seconds

austere talon
#
function formatTime(ms: number) {
  const dur = moment.duration(ms);
  return ["years", "months", "weeks", "days", "hours", "minutes", "seconds"].reduce((res, unit) => {
    const x = dur[unit]();
    if (x > 0 || res.length) {
        if (res.length)
            res+= unit === "seconds" ? ", and " : ", ";
        res+= `${x} ${unit}`;
        didFunny = true;
    }
    return res;
  }, "")
}
limber skiff
#

it's supposed to always end with end

austere talon
#

wdym

umbral hedge
#

so stupid

limber skiff
#

2 hours and 1 minute

umbral hedge
#

wp.Common.moment().fromNow()

limber skiff
austere talon
#

use the function i sent

limber skiff
#

let me turn on my pc

austere talon
#

316893383144 years love

limber skiff
#

do a time that would output exactly 2 hours and 1 minute

austere talon
limber skiff
#

🤨

austere talon
#

if u dont want the 0 seconds u can just alter it

#

but it feels weird to have gaps

#

like 2 weeks and 3 minutes would feel weird imo

#

i prefer 2 weeks, 0 days, and 3 minutes

limber skiff
#

aight

austere talon
#

but if u want to skip zeroes

#

u can just remove the || res.length

limber skiff
#

I will make one simple change to only add s if it's different than 1

austere talon
#

why 1

#

1 second

#

oh

#

i see

#

1 hours

limber skiff
#

yeah

#

eh can you do it for me and change on my branch

#

it's probably faster than me doing it

austere talon
#
function formatTime(ms: number) {
  const dur = moment.duration(ms);
  return ["years", "months", "weeks", "days", "hours", "minutes", "seconds"].reduce((res, unit) => {
    const x = dur[unit]();
    if (x > 0 || res.length) {
        if (res.length)
            res+= unit === "seconds" ? ", and " : ", ";
        res+= `${x} ${x === 1 ? unit.slice(0, -1) : unit}`;
        didFunny = true;
    }
    return res;
  }, "")
}
#

ok sure

limber skiff
#

then merge it

#

thanks

umbral hedge
limber skiff
umbral hedge
austere talon
#
.replace(/(\b0 \w)+$/, "")
#

trolley

#

@limber skiff

#

fixed

umbral hedge
#
function(props) {
  const { x, y, z } = props;
}```
limber skiff
umbral hedge
#

0

limber skiff
#

not the 0

umbral hedge
#

the 0

limber skiff
#

😰

umbral hedge
limber skiff
#

I sometimes do not understand myself

austere talon
#

im fixing rn

#
const { foo: { bar } = {} } = {}
#

jumpscare

#

it dosnt work for voice channels

#

@limber skiff

umbral hedge
limber skiff
#

that's intended

#

I didn't make it for voice channels

umbral hedge
austere talon
#

bro i cant find a channel to test formatDuration

limber skiff
#

set one manually

#

wp.Common.ChannelStore.getChannel("blabla").blabla = blabla

austere talon
#

okay pushed changes

#

check @limber skiff

limber skiff
#

why was this needed?

austere talon
#

because you're misusing react

#

you should never call react components as plain functions

#

it will break hooks and other things

limber skiff
austere talon
#

always use React.createElement or jsx

limber skiff
#

I see

#

Aight I approve

austere talon
#

btw the asset url is safe to use

#

the path is just md5 hash of the file

#

so stable

umbral hedge
limber skiff
#

It did change once

umbral hedge
#

it wont get deleted

#

but it wont get updated either

limber skiff
#

that's why I kept a comment saying exactly where it is found

austere talon
#

not pretty but not worth it to make it look better

#

I removed the noop

limber skiff
#

aight

austere talon
#

cause error info is more useful than nothing rendered

limber skiff
#

true

austere talon
#

I would only noop if it's either not very relevant (not in the foreground, like a button in the chat bar) or very small so having a codeblock would be ugly

limber skiff
#

👍

charred monolithBOT
#

no???

On Tue, 31 Jan 2023 at 20:14, SimaoFonseca1 @.***>
wrote:

So i can assume this type of plugin won't be implemented ?


Reply to this email directly, view it on GitHub
https://github.com/Vendicated/Vencord/discussions/464#discussioncomment-4833270,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJJ7XQQ55FEBNCSPKJITCRLWVFQC5ANCNFSM6AAAAAAUMW6UJI
.
You are receiving this because you commented.Message ID:
@.***>

cunning bobcat
#

github mail trolls again

golden gulch
#

if only discord was decent and supported multi level blockquotes

cunning bobcat
#

you say that, as if anything with discord is decent

charred monolithBOT
limber skiff
#

ain't no way

#

I swear why does when I test it everything works correctly

#

what I changed about it shouldn't have changed the functionality

#

@austere talon I will cry discord does not like to show me the issues when I test

#

I didn't touch the path?

#

🤨

#

lmao I don't know how that happened

austere talon
#

u will fix

austere talon
#

it looks good mostly

#

but testing that kinda pain

charred monolithBOT
limber skiff
#

thanks

charred monolithBOT
frail skyBOT
#
Bad Patches

ReverseImageSearch (had no effect):
ID: 386239
Match: /(?<props>.).onHeightUpdate.{0,200}(.)=(.)=.\.url;.+?\(null!=\3\?\3:\2[^)]+/

MessagePopoverAPI (had no effect):
ID: 415342
Match: /\?(?<makeButton>[A-Za-z_$][\w$]*)\(.{1,35}\.Messages\.CONFIGURE.+?message:(?<message>[A-Za-z_$][\w$]*).+?children:\[/

Bad Starts

None

Discord Errors

#
Bad Patches

ReverseImageSearch (had no effect):
ID: 386239
Match: /(?<props>.).onHeightUpdate.{0,200}(.)=(.)=.\.url;.+?\(null!=\3\?\3:\2[^)]+/

MessagePopoverAPI (had no effect):
ID: 415342
Match: /\?(?<makeButton>[A-Za-z_$][\w$]*)\(.{1,35}\.Messages\.CONFIGURE.+?message:(?<message>[A-Za-z_$][\w$]*).+?children:\[/

Bad Starts

None

Discord Errors

austere talon
#

bad

somber ginkgo
limber skiff
austere talon
#

mm

#

u will fix

#

why didn't it cut off hours and minutes

#

epic regex fail

#

Also wtf is 1 week 7 days lmao

limber skiff
#

it's all broken KEKW

charred monolithBOT
charred monolithBOT
somber ginkgo
austere talon
#

github needs to stop doing this man

spark cove
#

github needs to 502 internally so that *** turns into real token

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

seems to work pretty well but the top banners are a really bad way to notify for this imo since they lack pfp capabilities and it's just ugly. I've been planning to implement neat in-app notifications for a while now

i agree it would be nice to have an in-app notification system but the main reason i chose top banners was because people often miss in-app notifications if they have discord open on one screen while doing something else. top banners will stay on the screen until dismissed o...

pure ledge
#

please speedrun merge 🙏

austere talon
#

see pr i just opened for what it will look like approximately

pure ledge
#

looks hot

#

ill add it

austere talon
#

well its not done yet

pure ledge
#

when its done then

charred monolithBOT
solemn spoke
#

i wonder why a notification API if discord has a toast api

solemn spoke
austere talon
#

it sucks

solemn spoke
#

hm, understandable

#

btw, do the notifs stack?

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

austere talon
#

green

austere talon
#

WDYM IT STILL FAILED

charred monolithBOT
woeful sable
#

1

#

oh wait thats line number

charred monolithBOT
spark cove
charred monolithBOT
charred monolithBOT
umbral hedge
charred monolithBOT
woeful sable
#

vap so good

#

spotimbed will be merged immediately

woeful sable
#

Your mom

spark cove
#

your moth

#

er

woeful sable
#

my moth

#

(bug)

spark cove
woeful sable
#

/* eslint-disable consistent-return */

#

smh

spark cove
#

not neede

spark cove
#

if i merge

#

cus ven sent that rule to oblivion

woeful sable
#

lerp

#

whati s lerp

umbral hedge
#

lerp

spark cove
#

linear interpolation

#

oh yea i did lerp

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

umbral hedge
#

hmmies

#

1

#

truly a 1 moment

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

charred monolithBOT
charred monolithBOT
solemn spoke
# charred monolith

ig he meant which installed version of discord he should install Vencord to

solemn spoke
#

what

#

why the hell is this here

charred monolithBOT
austere talon
solemn spoke
#

yes

#

why aliucord stuff if we're on vencord lol

austere talon
#

cause this is my server

#

i just linked a bunch of my stuff

#

cause convenient

jagged cloak
#

users when they forget this is venchOrd server first and Vencord second

solemn spoke
#

sure

charred monolithBOT
cunning bobcat
umbral hedge
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

because u have to specify a market in the requests for song relinking to work, basically if you send an old spotify link from your saves theres a somewhat noticeable change that the label has reuploaded it and it has a different ID now, it wont redirect u to the new one unless u give it a market, i guess i could make a request to some ip for the default value but that sounds weird

charred monolithBOT
#

Giving admin rights to a program that is not designed to work with admin rights could lead to the loss of important files.

For example when running cmd as admin the current directory is usually C:/Windows/System32 (for whatever fucked up reason microsoft decided to do that), running programs with that as the current directory is dangerous and reckless.
In this case that isn't an issue, but you should never mess with system files.

Also, the installer downloads some files off github,...

charred monolithBOT
solemn spoke
#

anyways, heres my planned answer: its not "why you can run with sudo", it is "why you HAVE to run with sudo". discord and other programs (and flatpaks installed without the --user flag) are stored in a folder on the root of the directory, that needs sudo to access, meaning that no apps can be installed, edited or removed without sudo. on windows it is stored in AppData _(mostly)_, a place inside the user's directory.

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

charred monolithBOT
charred monolithBOT
charred monolithBOT
limber skiff
#

I'll just change it to use plural

#

eh or just the single letter whatever

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

spark cove
#

TRUEE

solemn spoke
#

why does that webhook (i assume)

#

sends daily reports

#

instead of just doing their reports in github or smth

#

and doing when a commit is sent

#

so it doesn't spam this channel

spark cove
#

so that it catches discord updates

solemn spoke
#

oh

#

so it is synced to when discord updates?

woeful sable
#

no it does that every so often to see if there are any updates needed

solemn spoke
#

ah

#

wait what?

#

wdym by updates?

#

like if it does an check at a specific time to see if the patches are still working on the latest changes to discord

limber skiff
#

changes to discord code that broke our plugins

solemn spoke
grave mangoBOT
solemn spoke
#

ah

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

This plugin addition adds additional capabilities to our music app Cider by allowing it to use the "Listening" activity type, more will likely be added down the road as Discord matures or we deem more RPC features suitable.

This does not interfere with other plugins/apps outside of potentially Cider Rich Presence when combined with other global modifiers.

Cider
GitHub

It was fun collaborating with you all in the Discord server...

limber skiff
#

what if we make richerCider depend on timebarallcomponents

#

so it applies that patch too

#

maybe turn that into an api thinkLul

frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Starts

None

Discord Errors

#
Bad Patches

None

Bad Starts

None

Discord Errors

charred monolithBOT
woeful sable
#

@austere talon what if I supersede that PR by a plugin that lets u change activity types or names of any activity

#

cuz I literally use the latter already

austere talon
#

sounds good

#

@pure nexus what do u think

charred monolithBOT
pure nexus
#

We have animated artwork being worked on for RPC so that'll make the cut in there for example, we also want to add our own similar “Spotify Embed” and playback controls down the road.

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Will there be the ability in the future for the message logger to be able to permanently log messages? Like if I restart the app, all the logged messages disappear but it would be very beneficial if they still stayed.

charred monolithBOT