#🧩-plugin-development
1 messages · Page 44 of 1
eh, if no one wants it, that's fine, just made it for myself
that's not at all what i said
lol
its good to have nonetheless
could just be an option which is disabled by default
im certain some ppl would unironically use that
I just wish you could grab and place oneko wherever and click to activate follow rodent mode
trying to figure out how to add options into vencord plugins, then I'll do a new pr with it as an option
hi ! i'm interesting in doing my own vencord plugin, but i didnt quite understood how to patch discord automatically at each plugin code update, i get the Ctrl+R part to reload discord, but not the part of telling vencord "hey you should automatically rebuild and reinstall at each modification"
just run pnpm watch, and it'll automatically rebuild vencord every time you save a file
then you can reload discord and it works
yes but how to replace standard vencord install with my own
can someone help me pls
I feel like I'm doing this wrong lol, this does work when toggled, but requires a client reload
I wish I could read your mind so I could
real
this is where inlining it i feel would be benificial, because you could restructure the code for both modes instead of... this
(vee didn't seem to agree though)
yo, do y'all think there would be a way to create a vencord plugin that adds a custom badge to your profile? I made one but what it does is replace your boost badge instead of making a new one and it doesn't work with custom image links, only with official Discord assets
oh i forgot about donor badges
everything i said was wrong, i'm having a 3am brain and it's not 3am
hey im doing aoc late and i cant figure out wtf is wrong
the example works but the actual one doesnt
use crate::clap::{Args, InputType};
static EXAMPLE_INPUT: &str = include_str!("../../../inputs/1/example.txt");
static REAL_INPUT: &str = include_str!("../../../inputs/1/input.txt");
fn get_input(args: &Args) -> &'static str {
match args.input {
InputType::Example => EXAMPLE_INPUT,
InputType::Final => REAL_INPUT,
}
}
const NUMS: [&str; 9] = [
"one", "two", "three", "four", "five", "six", "seven", "eight", "nine",
];
fn replace(line: &str) -> String {
let mut new_line = String::from("");
let chars: Vec<&str> = line.split("").collect();
for _char in chars.iter() {
new_line = new_line + _char;
for (i, el) in NUMS.iter().enumerate() {
new_line = new_line.replace(el, &(i + 1).to_string())
}
}
return new_line.to_owned();
}
fn num(line: String) -> i32 {
let chars: Vec<&str> = line.split("").collect();
let digits: Vec<i32> = chars.iter().filter_map(|c| c.parse::<i32>().ok()).collect();
let mut num = 0;
for (i, digit) in digits.iter().enumerate() {
if i == 0 || i == digits.len() - 1 {
num = (num * 10) + digit;
}
}
return num;
}
pub fn day1(args: &Args) -> String {
let contents = get_input(&args);
let mut number = 0;
for line in contents.lines() {
println!("{}", line);
let new_line = replace(line);
println!("{}", new_line);
let temp_number = num(new_line);
println!("{}", temp_number);
number += temp_number;
}
return number.to_string();
}
281 is the right example output
i printed all the steps and it looks like its doing everything correctly
i tried this in december and im pretty sure thats the same output i got before, even tho i rewrote it
https://aoc.fornwall.net/ says i should be getting 54649
Advent of Code solver
what day
1?
how r u alr struggling on day 1...
i see the issue
parse the numbers in this example: 91ajkstwoneksla
yes
do you see the issue?
im getting just the left and right number
?
twone
parsing from left to right
oh wait is it right to left after i get the lefthand digit
help ohw do i fix this memory leak
TheKodeTode
wha ore you?
so should i just kms now or
Yeah
:3
you lovew
day 3 was cozy imo
surrounding 8 squares is pretty simple tbh..
do two nested for loops
**solution.rb: **Lines 24-25
for i in start-1.._end do
for j in idx-1..idx+1 do

@balmy sky tell me theres a better way to do this
document.querySelector("#\\:r6a\\:").click()
i know its wrong, i just dont know how to write it properly
blawg
yea its over for me
yup
LOOK I WAS TRYING TO SHOW EXAMPLE OF WHAT I WANTED IT TO DO
actual black magic fuckery what the hell
ik how hilariously wrong it is
im doomed
bro did same exact thing as me
how make own plugin where resources
on god
are you like
allergic to full sentences
few word do trick
Thank
welcome
ctrl shift f for spotify got me good results
might wanna look if ur smarter than me
inspect search regex support when
on goddd
use patcher
i havent done like anything with patches
i help
tell me what u want edited
ill write the regex and replace
we got this teamwork
doesnt onChange define a function?
i got it
yes thats wat im doin
thats the whole point of the patches system
no function neede
its just regex
replace the text
its all built in to the patch system
its great
can patches embed values into the patch though?
i thought it was just static patched at the boot
@vital path
wat
idk im fucking stupid lmao
sexy, but i was thinking just have it as a toggle in the disable game activity settings
anyways, i think i cooked
let me test this real quick
pnpm build time baby
wat plugin is that
one i made 
sexy
i just reskinned vencord toolbox because i wanted to customize it lmao
well, either im the failure or ur the failure
import definePlugin, { OptionType } from "@utils/types";
export default definePlugin({
name: "Toggle Spotify",
description: "bleh :P",
authors: [{
name: "Aydyn",
id: 712799889544970310n
}],
patches: [
{
find: "W.default.Messages.DISPLAY_ON_PROFILE",
replacement: [{
// toggle spotify off hopefully
match: /value: 1 === O/g,
replace: 'value: Vencord.Settings.plugins["Toggle Spotify"].spotify?true:O'
}]
}
],
options: {
spotify: {
description: "Toggle spotify on or off",
type: OptionType.BOOLEAN,
default: false,
}
}
});```
wat am i doin wrong
doesnt
nop
this disables the listening to spotify activity?
no, it doesnt
hold on im gonna check if its patching correctly
(im trying to do this with no idea of how the patch system works internally)
that would probably help
Why are there spaces in the match
i only know a bit of python so if ur a failure im an enormous failure
dawg i literally have no idea how the patch system works PERIOD

???
u know how regex works, right?
or maybe im dumb and dont know how the patch system works
oh
oh
ohhhh
Yes
A regex containing spaces will only match if the haystack contains spaces
yea uno momento
and i shall enjoy the fruits of your labour 🗿
OOOOOOOOOOOOH
not yours
whjich is super easy to fix
u found the code for display on profile, not show spotify as status
i fix!
makes sense
the shiggy sure indeed is shigging
i pnpm watch, how do I open the discord
ask them i have no idea https://cdn.discordapp.com/emojis/977879042705489970.webp?size=64&name=SkullCry&quality=lossless
this is hard
do you want me to find the code?
No.
maybe potentially
bros gonna steal my shi.
tessie w

dawg what
im jp

the betrayal?
heres the one that worked, but toggled the wrong switch
import definePlugin, { OptionType } from "@utils/types";
export default definePlugin({
name: "Toggle Spotify",
description: "bleh :P",
authors: [{
name: "Aydyn",
id: 712799889544970310n
}],
patches: [
{
find: "W.default.Messages.DISPLAY_ON_PROFILE",
replacement: [{
// toggle spotify off hopefully
match: /value:1===O/g,
replace: 'value:Vencord.Settings.plugins["Toggle Spotify"].spotify?true:O'
}]
}
],
options: {
spotify: {
description: "Toggle spotify on or off",
type: OptionType.BOOLEAN,
default: false,
}
}
});```
oo
alr im gonna get the toggling working first, then swap out the settings
do i replace with name: "Aydyn",
id: 712799889544970310n with mine if i want to use it?

LOOOLL
kill me.
if ur asking that ill take it u have 0 idea on how to install it in the first place
but no, that would be stealing
and stealing is bad
correct!!

wtf you have to take the mouse off of the button for the changes to apply
fuck it i dont care lmao
alright, let me know when u find the right one and ill lint it and make the pr
help a nob, I made plugin now how do I run
sigh
first off, u dont need it inside a folder, second, u dont run plugins
how do I run the discord to see the plugin
pnpm build WHEN UR CD INTO THE USERPLUGIN FOLDER, refresh, and ur plugin will be where all ur other vencord plugins r
run the discord
did yew find the good code yet
nu :(
wasnt tlaking to u
not yet
oki :)
my bad
YIPPPEEE IT WORKS
ok you can now toggle display on profile via the button
now i just gotta update the patch
ill do it
um guys
gonna pr
just paste the patches block into ur code
whats pr?
thats the response id expect when u have 0 clue what that is
O smarter than i thought
fr
i just take code and compile it on my pc, wanna see a sript that i made that downloads yt videos?
send ur code with the button now
with a link\
WAIT AYDYN
with pytube
CHECK MY PROFILE RN YEAH
"take code" and "script that i made" do not belong in the same sentence
IS IT TOGGLING
nobody will ever use a vencord plugin that needs python to run
toggle off rq
ik but still i had to compile it
kms
oh wait we're fucking stupid
its just patching the value lmao
i was right in the first place
ight hold on
ðŸ˜
u do realize that the context of that screenshot is the code NOT working, right?
yes that was wat i found
o, ill leave in shame now
please do

}), o, r, i]
something to do with this
at the end of the spotify display on profile div
@vital path
oh thanks
ill set a breakpoint and see what the values r

sigh
guys help how do I open the discord to see my plugin sex
wtf
sigh x2
🗿
/neko

hey retard, i already told u
hey thats not nice
scroll up cause im not saying it again
not talking to u "retard"
u got a beautiful mouth dont let it get wasted by those words
aydyn, wanna go in dms? i cant be bothered with these single celled organisms
maybe if you can convey an actual problem, or give a little more details about where ur plugin is, what version of vencord u have installed, and any other things that could be wrong
sure

because all ur asking me is how to open ur discord to see ur plugin sex
want the real answer to that?
double click the icon thats sitting on ur desktop
the one that says "Discord"
mhmm
I do not see my plugin sex
I will provide you with more information in a sec good sir
and please do not call me the r word again or I will call the discord mods
call them, they will ban u for wasting everybodys time
:O
sorry ill go back to my cave
whens the next ven update?
same :(
ye
blud
verse me on leetcode contest next time bro
I called in by your opps
bro had to call in his fellow gang members
just watch when i up ur block, lil bro
every opp shot
how many points u have on leetcode
Sleep stole my coding
turn this into regex .3
function match(string) {
if (string[0] != "S") return false;
if (string.substr(1, 3).split('').some(character => character.toUpperCase() == character.toLowerCase())) return false;
return true;
}
ask ai 
Looks like ^S(?!.{0,2}\W) to me
why the (?!
To negate
oh
If any of the three characters after the S is non-word, return false
anyone who have fixed the issue with discord py on_message sending messages multiple times?
bc ive been trying to make lots of check to filter it but i still havent succeded
did u forget to check if the author is your bot
no
this is a very bad way to ask
its looking for exact messages not just any
show a screenshot of what's happening, show the relevant code
nice code
also most obvious reason: make sure you're not running multiple instances at once
here is what i have now for check:
last_text, last_embed = self.last_dm[ping_number], self.last_dm[ping_number+3]
if ((embed is not None and last_embed is not embed and last_text is not text) and int(now_time)+2 > int(time.time())) or self.dm_ping_startup[ping_number]:
await user.send(text, embed=embed)
self.last_dm[ping_number], self.last_dm[ping_number+3] = [text, embed]
self.dm_ping_startup[ping_number] = [False]
nope
it sends even more after time passes
the drops are bc i restarted the bot
bc the latency became 800 seconds
is this in your on message handler
yes. its inside an on_message and then this is inside the function that sends the message
that code smells a lot like race condition
wdym
await user.send()
self.last_dm = thing
it won't update state until you dm the user
update state first then send message
so if a new message comes while you're still sending the message, it will still use old state
i will check back later. have to wait till it replicates in my cpu usage
does anyone knows how to issue a call to discord api from a patch ?
RestAPI in common
is there any doc somewhere ?
No
Well, I guess the rest api itself is documented somewhere, I hope
Check what other plugins do, or discord itself
just tried restapi, but my issue is that the authorization header is not set, so i get a 401 from discord
let result = await RestAPI.get({
url: "https://discord.com/api/v9/channels/"+y.channel_id+"/messages?limit=1&around="+y.id,
});
the request is quite simple 
try removing the api part
just /channels/:id
i think restapi removes headers for external requests
also look for guildmessagesstore and fetch messages that way
dont reimpliment utility functions
let result = await RestAPI.get({
url: "https://discord.com/api/v9/channels/"+y.channel_id,
});
still dont have authorization
mmh, i'll look into that
Don't include the https://discord.com/api/v9/
But yes, there's very few reasons to use RestAPI directly
Discord has functions for almost all of them
any tips to find interesting functions like those ? are they listed somewhere ?
i think we have typedefs for guildchannelstore
lemme check
no we do not
just draft and emoji stores
i can find the method when i get home in ~45m
oh nvm
that's for getting cached messages
import MessageActions and use fetchMessages
first argument is an obj with these values
very poor advice
my bad haha, the fact is that don't have any idea on how to do what i'm currently trying to do the right way (adding a reaction filter to discord search to get only messages with some reaction)
I dont think that's quite possible
reactions are only fetched when you look at the message
which isnt doable at all
well, i got something working but yes i have to fetch every result of the search request one by one and i got rate limited :D
imagine having to fetch all messages in a channel to search through them
i know how to do that, i got a job at discord's, then i implement it, and i leave them
yep
i wanted to search by reactions to allow me marking some messages as "to read later" or things like that. could i keep in my computer's memory somewhere this kind of reactions like "if i react with this reaction, store this message somewhere"? would it be viable to store persistent informations ? and is there any mechanism like this in vencord or shall i do it myself ?
this means you are going to do that soon or it means it's an interesting idea and that i should keep going on ?
im gonna try doing it later when i get home but u can too
well, not right now because i don't have much time, but maybe later ! :D
animated stztus when frfr
apparently the issue was something completely different. changing the order did not fix it, but then i looked at my server reports and found out that the writing on the ssd showed the same increase, so i assumed that i fucked up a json save somewher and yea. conclusion: Do not try to edit a 7million line long json file every second or less.

tessie w

how do i make plugins for vencord ong
look at pins in #1032200195582197831 to get started
someone?
why do you wanna do that\
nvm
???
most sane interaction on veecord
i feel like they had bad intentions
ye i felt that when i read the message initiallyx
ffs something stole my shit
shift*
lmao
i cant shift help
yeah thats why i asked them
stuck on day 3 part 2, the example is correct
im storing every star's coordinates, filtering for entries that are duplicated
@stray imp help
i checked a few values in my input and they look fine
hm, apparently this is all counted as together
(checked for stars with 3 numbers)
wait i was dumb i never reset a boolean
adorable
Usually you don't reset booleans but just let them go out of scope and declare it anew in the next iteration
Neat trick if you want to patch an object literal (or other arbitrary value) somewhere but don't want to regex the end of the expression: ```js
let L = ({set (v){console.log(v)}}). = { ... };
I don't understand what that does
this is cursed, I love it a
the fixAll on save in this repository pisses me off
then... turn it off?
i did
i thought it was an extension at first but then I realized none of my other repos do this
must be nice for the 1%
whar
just curious: how does it piss you off
i cant live without it
- It's too aggressive, it doesnt align with my coding style and intentions, I format on save to make it more visually comforting but I dont need it deleting anything
- Not enough customization, it fits all my needs but does even more which ends up doing more hurt
- Understanding lost, I lose my understanding of what just changed, what If I was planning on using that later on, now its gone, addressing one issue at a time is better for transparency and accountability
it does change it sometimes but it never removes it
if you have an unused import
cause im planning it out
why are you manually adding imports
there are 2 solutions for this
- dont save when you put an import in
- just auto import it
do not
if you're manually adding imports you're doing it wrong and wasting your time
just type the name of the thing you want to use and hit tab to accept the auto completion
vscode will automatically insert the correct import
and the lint on save will automatically remove unused imports again and sort them nicely
makes everything nice and cozy and you don't have to ever change imports
what if you didnt memorize the methods of the import
you dont need to?
just find the function/whatever you want, type it and let vscode import it
tf since when
if I want to say use LS and get an item
its gonna tell me the name of the method magically
you know what I think im just confused have a lovely day yall
<3 xoxox
ill just continue with my habits with the setting on false
GUYS LOOK I CONTRIBUTED TO VENCORD YIPIEE!!!
he is pregnant
With hogs
You guys reckon it'd be possible to make a plugin that splits large files into smaller parts so you can send larger files on discord?
The other persons would have to have a plugin to piece it back together also, so seems pretty limited in usefulness
Also, since you're on desktop anyway, setup ShareX to speedily upload files and get link instead
its called multipart archive files
not if you are cool like me and use multipart 7z
yea you can but i doubt its worth making it as a plugin...
like you would have to make it with a custom extension or other identifier
and not even that but you'd have to do sh^t ton of checks and the errors are
just gonna be a pain in the ass... if vencord accepted filterscripts then i would tell you...
sure try it... but yea for now just dont and use 7z archive splitting.
i have a question for yall
is it possible to make a "listening to apple music" rich precense for the apple music windows app and get it workin
we had it for cider but the cider app is poo poo and it also got removed bcs cider devs bad
How can I emulate a gateway event on the client? I want to emit an event locally
this code doesn't leave any errors but also doesn't work
do i need a timestamp/nonce or smth?
in this case its channelId/userId not channel_id/user_id
i'm working on a plugin called ClydeGPT which brings back old Clyde and want to emit a typing event
let me try that, thanks for helping!
is that even possible?
i can add my plugin for official vencord if yall want
yeah? why wouldnt it

i've just been running it on a forked version
alr met me rebuild and see if typing works
@Clyde hi
nope
oh wait i didnt do it properly
@Clyde hi
let's fucking go
thank you so much
now i'm going to emulate a MESSAGE_CREATE by the actual Clyde account instead of ephemeral
currently, Clyde is pingable in DMs/Group DMs but not in servers. I'll also make it pingable in servers
can someone please give me all the fields required for MESSAGE_CREATE?
client side i assume?
yee
but it shows up for vencord users
or at least the fork i wrote
also works when other ppl ping clyde
why not keep it as an ephemeral response
not like you can send the clyde message to other people

in theory all I have to do is emulate a MESSAGE_CREATE
with Clyde's user id
1081004946872352958
userId, channelId, content
messageId? nonce? (does client care about nonce?) flags? (does client care?)
? but like, the actual real clyde? or just some other ai chatbot pretending to be chatgpt?
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'author') :(
does anyone know the structure for MESSAGE_CREATE?
yes
🥺
I missed Clyde so i'm emulating it with the openai gpt 3.5-turbo api
are the discord docs accurate?

accurate enough
like this is what the TYPING_START event looks like
on dapi docs
but apparently it's userId
not user_id
message create worked the last time I tried
dapi docs suck ass
yuh ofc
can i have a snippet please 🥺
how would I snippet that
how did you try and how is it complaining
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'author')
lol this doesnt mean anything
whats ur code
FluxDispatcher.dispatch({
type: "MESSAGE_CREATE",
not sure what's supposed to go here
});```
channelId, userId (or author), content, nonce?, messageId? (needed but dont know field name), flags? (probably not needed)
you only really need a user and a message object
{author: {id: clyde_id}, content: ..., ...}
"id" i guess?
again
you can just subscribe to message create and log 1 message
and then see what you need from the object you get
Vencord.Webpack.Common.FluxDispatcher.subscribe("MESSAGE_CREATE", e => console.log(e))

thanks
best part is that when MESSAGE_CREATE is emitted, the typing stops since same user id
I FOUND MUTEX FUCKERY
die
why are you
making lazy statics
and using static ref
wtf are you doing
**util.rs: **Lines 13-27
// :3
#[macro_export]
macro_rules! global {
($name:ident : $type:ty, $getter:ident) => {
pub static mut $name: Option<$type> = None;
#[inline]
pub fn $getter() -> &'static $type {
unsafe {
$name
.as_ref()
.expect(concat!(stringify!($name), " must be set before use"))
}
}
};
}
that code is 2 years old
oncecell wasnt real back then
okay github does not know math
it's not even 1 year old
point still stands it's older than oncecell
u should've invented it faster
but yeah onceceller looks like what I want
i went ahead and switched the ARGS ref to a mutex globally bc unit tests were killling eachother
is it possible to make a plugin that stops dashes from being changed to bullet points in messages? or is the formatting client side
textreplace - to \-, * to \* etc
wouldn't always work actually
but anyway if it is clientside (i assume it is) you can just escape it
or u can just do it manually 
Would unless ur in a codeblock
actually nvm ur right
for some reason i thought \-\-\- wouldnt work
dummy
---
idk why i didnt think of that lmao
yeah that works fine :3
:p glad to hear
if text replace is regex (I've never actually used it so idk) you could check if it's at line start and if there's a space after
hello
I made a userplugin, it's working fine for me when compiling myself
now I want to share it with my friend. how can I do that?
I tried sending him the files from my dist folder and have him replace his with mine, but the plugin didn't appear in plugin settings.
the correct way to add plugins is to build from source with the plugin source code included
or if your plugin is useful for the general public then you can open a pull request and have it added to mainline vencord
hey guys ive recently been messing around with themes and stuff and i noticed that the profile bar at the bottom for some reason has shortened and i cannot see the settings cog wheel? any idea on how to fix?
its like its not long enough or something? idk
theme is outdated
vf themefix
vs themefix
fuck
thought this was support
type that in bot commands or something
yeh im just trying to figure out what that specific ui element is called so i can just edit it
oh
any idea on how I can externally change user volumes (call/vc)?
???
as in
code
working on a program, thinking about using address locations but doubt that would be a constant due to the amount of people in call
why on earth would you do that when you can make a vencord plugin instead
addresses what
because what I'm making isn't a plugin???
memory
why not
that would be 10 billion times better
what I'm doing is not a plugin
yes, why not
that's like telling the guy who invented the plane "why not just make a car"
why are you complicating things
what I'm doing is completely unrelated
I would use an api if one existed for the application, but it doesn't
that's not how it works
because a plugin would simply not work for what I'm doing?
yes, that's why I'm here asking how to do it
yes... yes... it would
I said that's an assumption
idk have fun interacting with js in non-js code
so you're telling me with a vencord plugin I can:
- make a custom ui
- send http requests to a possibly dynamically changing ip (server)
- integrate with other applications
- etc.
it simply is not
man this community is fucked up
in this scenario x is changing user volume
y is setting the value in a memory address
I know how to do y
I am asking how to do x
and gave y as a suggestion
if you don't want to help you don't have to
asking you to explain your full problem and goal is not "fucked up"
i do want to help but i cannot help with cryptic problems
why do you need to send http requests to a dynamic ip?
why do you need to integrate with other apps?
I gave plenty info in my first message
neither of those two are related
I want to externally (not in a plugin) change user volume
yes. why. what is the goal.
e.g. send get http request, server sends a volume, application sets it
why.
because I'm working on a program that does that
tbh idk what that is
see why I don't bother explaining
explain what it would do
get game location, set user volume depending on location
proximity chat?
sure
okay so your solution is incredibly simple: run a websocket server inside your plugin and make the game send requests to the websocket
handle those requests in javascript and set volume or take other appropriate actions
if you don't wanna use a plugin you should be able to run js in discord from an external app
I can use discord's terminal from an external app?
e.g. the f11 one
yes but whether it would be easy is a different question
should be way better than trying to find vc volume in memory
I doubt it'd be any more difficult than a single command run in the console to change a user's volume
user id, volume, about it
yeah, that was just a guess to get the ball rolling
I mentioned it isn't possible due to it's location not being static
depending on the amount of people in vc
what vee suggested would be the simplest way to do it but then the users of your software would have to install an unofficial version of vencord with your plugin
I would do it all myself but voip is effort
plus this is just something I'm doing for fun/to gain knowledge instead of an actual program I'd be releasing
it's an idea that's been done to death countless times and probably in many better ways depending on platform
"changing the value in memory" is just not possible that's not how it works
it literally is ðŸ˜
it's simply a javascript function you call
you don't save the value of volume in storage
wonderful, that's all I've been asking for
i feel like it would work but it would be extremely tedious to do
but I hope you know the javascript function you're referring to would also change the value in memory
yeah, it's the most bare bones way to do it, rarely preferable
yes
all I asked from the start
how to change volume externally
went on a whole sidequest explaining my goal ðŸ˜
yes because you're asking terrible question
i can think of one way to do it but it would probably be super jank and could make antiviruses angry
you don't change the value in memory that makes no sense lol
😱
holy shit ban him already
I loved the positional audio in mumble (and mumble in general), hated when friends forced me to use discord instead
you call the javascript function to change volume. you communicate with discord via websocket
like I said, not a for-release project, as long as it works xd
you do though
memory holds information like volume
where else do you believe that data is stored
???
you're deliberately choosing to be an idiot 
in my position, I hate downloading external programs like mumble, and most of my friends already have discord, so it's the opposite for me lmao
mods ban!!11!!11
I don't see what you're not understanding
like I said, if you don't want to help me, you don't have to
firstly you cannot access memory outside of your process unless you use admin
you said it's as simple as a single javascript command, that's all I need
which is already horrible
you can on windows
without admin perms
ok nvm fuck windows
I can run my program with highest perms
forgot the name but it's the one most anticheats use
kernel?
dude
and now how the fuck are you going to find the volume
yeah, screw 95%+ of the population!
youre not running your shit from kernel
that's what I've been asking
SISJEKEJEKENENNDIWOWKSNDMDNSEOWKEOEJODDNOEJEOWJSNDKEKEJS
its too much junk
KERNEL MODULE FOR SETTING DISCORD VOLUME
if you forgot what kernel is then you're not using it
have you not heard the past 5 times I said this is a personal project not for release
bro chill
I forget words
so people made an honest suggestion of making it a plugin and communicating thru normal means
yeah but i can assure you you're not running your thing in the kernel
because that's what you're all experienced with
you are an idiot
this is a plugin server
when'd I do that
I'm saying it's a possibility
vban @sturdy arrow i really shouldn't have to deal with people this stubborn and stupid oh my god
whatever i don't care
if you really wanna avoid having to modify discord then you could inject a module to it that then executes js (this is very stupid but would work)
Done! 
LOL
well
doubt theyre able to do this anyway

new rule don't be stupid or get banned
he has no experience w plugins he will totally make a kernel module instead much much more easily

yeah let me find a single float value in memory with my kernel volume instead of just running a goddamn websocket and sending commands to it
true, have fun doing that without running js code
you know how cheat engine makes you "calibrate" the memory location of values by making you change it and input the new value multiple times until it only has one candidate left
yeah
and thats the even more fun part
to get started with my program first change their volume to 65% okay now do 21% okay almost there now do 37%
yupp that's the one
u could totally make something that doesnt require to do that but u would have to interact with a bunch of js internals and its just stupid and a waste of time lol
the variable will change location
u could externally run js code though its just that its silly
it's literally virtually impossible
i thought that was already a rule
:skullley
pretty much
just use the 2 lines of js to do it 😠ðŸ˜
yeah lol

new WebSocket("localhost:3030") bro i just built a car
me when FluxDispatcher.dispatch({ type: "SET_SELF_VOLUME", volume: 0.7 })
DiscordNative.app.relaunch() bro i just made malware
idk if that's actually the event but it's gonna be smth like that
I killed her
heresy
Long live the mogus
vbam @jagged sierra blasphemy; speaking poorly of our goddess shiggy
Done! 







