#development

1 messages · Page 28 of 1

sharp geyser
#

or you could use the interaction create event and not use collectors :p

#

thats also an option

rigid maple
#

I'm making a drawing on canvas, but I'm adjusting the dimensions of this text with the dynamic box on the website. When I set it with the dynamic box, the font size remains constant, get me with 2 changing values ​​(scaleX, scaleY). Can i find the font size by Font Size * scaleX ?

quartz kindle
#

you want to auto resize horizontally?

#

you have to use measureText

rigid maple
sharp geyser
#

ofc you can

ancient nova
#

didn't work

#

m.createMessageComponentCollector is not a function

#

😭

#

okay I fixed that

#

but how do I get the value wtf 😭

#
            // And now we can create our collectors.
            const filter = (interaction) => interaction.user.id === message.author.id;
            const collector = message.createMessageComponentCollector({ filter, time: 30000 });
            
            // And now we collect.
            collector.on("collect", async i => {
                if (i.customId === "main_settings") { 
#

how do I get the freaking value

#

customId doesn't work for this

#

how do I get the value of the thing

sharp geyser
#

Is this a select menu?

ancient nova
#

wtf

sharp geyser
#

nice

#

Okay so that is a select menu

#

then just do i.values

#

ez

ancient nova
#

oh bet

#

i.values.includes("current_value")?

sharp geyser
#

It helps reading something called documentation

ancient nova
sharp geyser
#

opened does not mean reading

ancient nova
#

shows nothing useful about that tho

sharp geyser
#

Cause you've never read documentation before so you have 0 clue on how to find what you want

ancient nova
proven escarp
sharp geyser
#

I found it in a matter of seconds

sharp geyser
ancient nova
#

what does i.values return

sharp geyser
ancient nova
#

ok so how do I know which value was clicked?

uneven tartan
#

collect it

proven escarp
ancient nova
#

I literally have that freaking open

sharp geyser
#

The reason it is an array is because a select menu can support multi select

ancient nova
uneven tartan
#

all button interactions and context menu interactions require a collector after slash command initialization

sharp geyser
#

so you can either filter through the array or get it based on index

ancient nova
#

ok but how the hell do I get the value which was pressed?

uneven tartan
#

actually im wrong on that but dont yell at me

sharp geyser
#

loom and wass

#

neither of you are actually helping

proven escarp
sharp geyser
#

please shut up

proven escarp
ancient nova
#

I AM

uneven tartan
#

misty you are reverse tall

ancient nova
#

READING IT

#

IT DOESN'T HELP

sharp geyser
#

If you aren't going to offer help fuck off

uneven tartan
#

read it harder

#

it tells you how to do it step by step

proven escarp
#

Interaction collectors is how you want to do it I think...

uneven tartan
#

^^

ancient nova
sharp geyser
# ancient nova READING IT

Also, to be fair you are reading the wrong part of the documentation. That just shows you how to make the collector. But you gotta think of what you are actually collecting. Since you are collecting a select menu response you wanna look for SelectMenuInteraction

ancient nova
#

it talked about arrays, which I already know

proven escarp
# ancient nova it talked about arrays, which I already know
const { ComponentType } = require('discord.js');

const filter = i => {
    i.deferUpdate();
    return i.user.id === interaction.user.id;
};

message.awaitMessageComponent({ filter, componentType: ComponentType.SelectMenu, time: 60000 })
    .then(interaction => interaction.editReply(`You selected ${interaction.values.join(', ')}!`))
    .catch(err => console.log(`No interactions were collected.`));```
uneven tartan
#

SPOONFEEDING BAN

sharp geyser
#

if you were collecting a button it would be ButtonInteraction

proven escarp
#

No but for real learn how to read a documentation @ancient nova

sharp geyser
#

as they aren't using awaitMessageComponent

ancient nova
#

here freaking read it first

uneven tartan
#

does it matter if they are or not?

sharp geyser
#

It matters if they don't want to use it yes

uneven tartan
#

thats why you dont copy paste code

#

💀

proven escarp
#

Then this @ancient nova ```ts
const { ComponentType } = require('discord.js');

const collector = message.createMessageComponentCollector({ componentType: ComponentType.Button, time: 15000 });

collector.on('collect', i => {
if (i.user.id === interaction.user.id) {
i.reply(${i.user.id} clicked on the ${i.customId} button.);
} else {
i.reply({ content: These buttons aren't for you!, ephemeral: true });
}
});

collector.on('end', collected => {
console.log(Collected ${collected.size} interactions.);
});```

#

This would be for a button

uneven tartan
#

where

#

oh

#

ok

proven escarp
#

but would work for a select menu as well

#

if you change a few things up

ancient nova
uneven tartan
#

its just component type

ancient nova
#

I want to get the ID of the value inside the selection menu, OK?

proven escarp
proven escarp
sharp geyser
#

djs only returns the values from the select menu, not the ids

ancient nova
#

wtf then how do poeple make these selection menus even work xdddddd

uneven tartan
#

just check against the values...?

ancient nova
#

if I don't know which selection menu was even pressed xddd

uneven tartan
#

then check against the values???

ancient nova
sharp geyser
#

It seems I misunderstood what you were sayying when you put those two in the same sentence

uneven tartan
#

use VALUE instead of ID which is NONEXISTANT

ancient nova
uneven tartan
#

its a STRING

#

learn JS

ancient nova
#

value of the ID returns the id of the whole ass action row

sharp geyser
#

Okay instead of 3 people telling him what to do, lets calm down for a sec

#

If all three of us try and respond it will only confuse him,

uneven tartan
#

i have absolutely no words

ancient nova
proven escarp
# uneven tartan learn JS

Let's calm down. Clearly they don't understand and getting upset is not going to help.
@ancient nova please read the discord.js documentation. There are tons of examples on how to get information from select menus and other things like that.

sharp geyser
#

Okay lets forget about reading the docs for a sec

uneven tartan
# ancient nova bro

do you or do you not see value inside the option section? check against that

#

config_row is just your action row id

ancient nova
#

and I want this, OK??? when I press the button I wanna know which value was pressed OK? how else do I know which embed to send wtf

uneven tartan
#

when you collect the button interaction it returns the value

ancient nova
#

???? so how do I get the value ?????

uneven tartan
#

what

#

i just said its returned to you what do you even mean

ancient nova
#

????????

#

bro it's not wtf are u talking about

sharp geyser
#

xWass they return the raw interaction

uneven tartan
#

im leaving

#

what

#

since when do button presses return raw interaction

sharp geyser
#

Since forever?

ancient nova
#

I am NOT using buttons

uneven tartan
#

thats an object is it not

proven escarp
uneven tartan
#

learn to navigate objects then 💀

ancient nova
#

tf

wheat mesa
#

They all return raw interactions, but if you set up a collector for it you’ll get the interactions via that and not your interactionCreate event iirc

proven escarp
#

omg waffle come save us pls

sharp geyser
#

Buttons or Select menu returns the interaction itself, select menu interaction response has a .values prop which holds the collected values

ancient nova
uneven tartan
#

mega /s

sharp geyser
uneven tartan
#

💀

quartz kindle
wheat mesa
uneven tartan
#

i didnt even bother opening it

sharp geyser
#

All of you guys responding and being dicks aren't helping

ancient nova
sharp geyser
#

If you aren't going to help fuck off

uneven tartan
#

this code looks like its copy pasted from a git repo or stackoverflow question

wheat mesa
#

You’re also going to have an issue here

#

You are not awaiting promises

earnest phoenix
#

Oh God what's happening here

wheat mesa
#

(That you need the value of)

quartz kindle
#

grab a drink

proven escarp
wheat mesa
#

🍿

earnest phoenix
#

🍿 🍹

sharp geyser
#

I don't have time for this, im going back to watching anime

proven escarp
#

If you cannot help, don't help but don't create conflict either.

sharp geyser
#

@ancient nova I recommend asking somewhere else

#

These people obv cant

scenic kelp
#

thank you everyone for your great contributions in the form of emoji and miscellaneous messages that contribute nothing to the ongoing conversation!

quartz kindle
#

uvuvwevwevwe onyetenyevwe ugwemubwem ossas!

proven escarp
earnest phoenix
#

Thank you Parm for your great contribution as well!

ancient nova
sharp geyser
#

yes cause fuckwits like you loom contribute nothing

uneven tartan
#

weird loom fuckwit has contributor role

ancient nova
#

@earnest phoenix do you know how I can get which option was chosen in the action row?

#

🙂

uneven tartan
#

collect it we have said this like 18 times

ancient nova
#

????

proven escarp
ancient nova
quartz kindle
#

the array contains all values pressed

sharp geyser
#

It gives you the values that were collected though

ancient nova
#

okay it contains all values presssed then how do I get from it which value was pressed ?????

sharp geyser
#

Even without multi select enabled it will just return an array of a single value

sharp geyser
#

If you want a specific one

ancient nova
wheat mesa
#

I like how Tim said the answer at least 4 times from the back row of the bleachers and has been repeatedly ignored KEKW

sharp geyser
#

then find that specific one

ancient nova
quartz kindle
#

example:
if A was pressed, .values will be ["A"]
if A and B was pressed, .values will be ["A", "B"]

sharp geyser
#

But

ancient nova
#

HOW DO i KNOW WHICH ONE TO FIND!!!!

sharp geyser
#

it

#

gets

#

every

#

single

#

one

#

that

#

is pressed

uneven tartan
#

see misty now do you see

sharp geyser
#

If you are allowing others to press your select menu and collect the data

ancient nova
#

omfg if it gets every single one that is pressed then I won't know which is the one that was actually pressed?

sharp geyser
#

then you are doing it wrong

uneven tartan
#

HELLO?

earnest phoenix
uneven tartan
#

this is irking me to an extent i have never felt before

sharp geyser
#

I have a feeling this guys filter for the collector is just letting everyone press the select menu and the values be collected

ancient nova
uneven tartan
#

then whats the issue

quartz kindle
#

you can press multiple values

sharp geyser
#

You just have to allow multi select

wheat mesa
#

Also has the DAPI officially supported select menus in modals yet

sharp geyser
#

No idea

#

try it

proven escarp
wheat mesa
#

Not on my pc atm

#

Ok thanks

uneven tartan
#

in other means i finally got osmc installed on my pi, got disney+ and netflix installed and running

uneven tartan
#

i need to make it chrome-cast-able now

#

thats a project and a half tho

ancient nova
#

doesn't work

#

fucking awesome, right

proven escarp
#

What did you change that makes it not work?

ancient nova
#

just freaking look at the code before speaking!!!!!!

#

please, please

uneven tartan
#

i think you should be directed to a udemy course instead of attempting to modify code taken from a git repo with next to no prior experience

proven escarp
earnest phoenix
#

Just calm down

ancient nova
proven escarp
uneven tartan
#

nobody on this planet comments like that

#

except git repo templates

ancient nova
#

?????

#

????

earnest phoenix
#

Calm down

#

There's no need to go about it this way

ancient nova
uneven tartan
#

time for some base coverage

ancient nova
#

ask @earnest phoenix ask @sharp geyser @ask @civic scroll wtf are u on about

wheat mesa
uneven tartan
#

that is beyond baffling

wheat mesa
#

In every line of his code I’ve seen a comment pretty much

ancient nova
wheat mesa
#

It’s not terrible but it’s excessive sometimes

ancient nova
scenic kelp
#

fr can yall take a chill pill and stop hurling insults at each other

quartz kindle
# ancient nova but you can literally press it only once....

Select menus support single-select and multi-select behavior, meaning you can prompt a user to choose just one item from a list, or multiple.

if multi select is enabled, a user can chose more than one value at once. if multi select is disabled, then they can only chose one value.
but because it has to support both modes, they made it always return an array. if multi select is disabled, the array will always only contain 1 value, so you can just do .values[0]
if multi select is enabled, then since the user can select multiple values, you have to decide what to do with them, for example checking if one specific value was included with .values.includes("A")

got it?

earnest phoenix
#

I think they already got that, something else is wrong here

ancient nova
earnest phoenix
#

@ancient nova try logging i.values in the collector

wheat mesa
#

This is the biggest argument in #development I’ve seen in a while and as much as I like arguing I think some of y’all are a little too emotionally invested in this and need to step back

uneven tartan
#

im confused this has been said in various different ways like 18 times

proven escarp
uneven tartan
#

i need food have fun loom OMEGAlul

scenic kelp
#

moments like this make me wish i were still a mod damn

uneven tartan
#

parm too smol to be a mod

scenic kelp
#

with the way some of y'all are acting

#

i'm not so sure i'm the young one

ancient nova
proven escarp
uneven tartan
#

we cant just look at your code and immediately know what the issue is with next to no context

ancient nova
#

"This interaction failed" @earnest phoenix your idea didn't work

wheat mesa
#

Bae you tend to be very vague and it seems like sometimes you have a lot of the same issues you keep coming back for, there’s a reason people get frustrated trying to help you sometimes

uneven tartan
#

thats your bot not working

#

not voltrexs idea

ancient nova
proven escarp
scenic kelp
#

on the other side if you get frustrated you should take a step back and stop adding fuel to the fire

earnest phoenix
#

@ancient nova I think I see why it doesn't work in this case, you're creating the collector on the user's message, not on the message that contains the select menu

ancient nova
#

it is not, I've it exactly how he said

scenic kelp
#

a lot of people are being very provocative in here and are very clearly trying to be passive aggressive to get a reaction

wheat mesa
#

As I said a while ago you’re going to have issues with this because you didn’t await the message being sent

wheat mesa
#

You’ll just have m being Promise<{ pending }>

ancient nova
#

yeah I forgot to await it, my bad for not seeing this earlier

quartz kindle
#

declaring variables in the same line as a closing bracket has to be the most cursed thing ever lmao

proven escarp
#

fr

wheat mesa
#

He does this all the time

earnest phoenix
wooden ember
#

what do you mean--- oh i see i typed client instead of bot bruh

ancient nova
#

that worked

uneven tartan
#

bae can i reformat a piece of your code for you and send it back?

wheat mesa
#

My eyes hurt seeing it but if we can’t get him to change it after a million requests then there’s no point in trying so 🤷

uneven tartan
#

yes send any

scenic kelp
#

code styling is a preference

uneven tartan
#

there are certain general practices like line ends actually being line ends

ancient nova
#

yeah that's why I code how I code, I probably won't change that

wheat mesa
#

Parm you haven’t witnessed enough of his code “style”

#

It’s cursed as fuck

scenic kelp
#

if it works for him it works for him

ancient nova
scenic kelp
#

as long as he's not pushing his style on other projects

#

you're allowed to create your own style guide for your stuff

uneven tartan
#

HOW AM I LISTENING TO SPOTIFY

quartz kindle
#

other projects wont allow it

uneven tartan
#

I DONT HAVE SPOTIFY OPEN

proven escarp
#

I don't see it

uneven tartan
#

oh its gone now

proven escarp
#

Ok.

uneven tartan
#

hello my internet is absolutely tripping

wooden ember
#

i just looked back at my code i only typed it wrong on the example i sent not in my code so idk what the issue is

uneven tartan
#

there we go ethernet time

quartz kindle
ancient nova
quartz kindle
#

because if you only have 1 listener then the key under _events will not be an array

wooden ember
wheat mesa
quartz kindle
#

for example
1 listener: ._events.message = function
2 listeners: ._events.message = [function, function]

wooden ember
#

ooo so i cant just through the entire array in there instead nice

wooden ember
#

i only have the file names thoough

ancient nova
#

I code like this on a few languages only although the comments are a must in every project I do

lyric mountain
ancient nova
#

they help so much when you come back to a project after a couple months, but I guess you guys wouldn't understand

lyric mountain
#

} return stuff;

ancient nova
wheat mesa
#

Oh yeah that too

#

The comments are excessive 95% of the time

scenic kelp
#

generally your goal should be to write code that documents itself

wooden ember
#

bruh the only time i comment stuff is when im bored or need to remember somthing

#

not good

wheat mesa
#

The rule of thumb is that people should be able to tell what your code does by looking at it, in most cases

scenic kelp
#

as you read it, you should be able to understand its functionality

quartz kindle
scenic kelp
#

and you comment overarching pieces of code

uneven tartan
#

@ancient nova this one wasnt bad at all. the only thing that was really bothering me was the semicolons not being at the end of the line

quartz kindle
#

bot.removeListener("message", client._events.message[0]);
_.events.message[0] will not work if you only have 1 message listener

wheat mesa
#

It’s perfectly okay to have comments explaining complex logic or something like that, but explaining what console.log does is not the right use case for comments

quartz kindle
#

you have to remove the [0]

scenic kelp
#

but to be fair your comments aren't thaaat bad

ancient nova
#

😐

uneven tartan
#

now im going to rebuild that command without an embed builder

ancient nova
#

thought you would rewrite the entire thing but ok

scenic kelp
#

it's like you're writing comments as documents with code which hey is actually a pretty valid school of thought

uneven tartan
#

oh

#

challenge accepted

wheat mesa
#

He said reformat

#

But yeah

ancient nova
wheat mesa
#

Bae you seriously need to consider using an automatic formatter like prettier

scenic kelp
#

why did you remove all the spaces between assignments

wheat mesa
#

It would make your life a million times easier

scenic kelp
#

that's horrific

wheat mesa
#

Yeah that’s ew

wooden ember
scenic kelp
#

a = b is much more readable than a=b

ancient nova
#

I'm also in shock that you guys didn't hate on this kek

slicedRoles = !slicedRoles ? "None" : (slicedRoles.length >= 8) ? (slicedRoles.slice(0, 8) + " and more...") : Array.isArray(slicedRoles) ? slicedRoles.join(", ") : slicedRoles;
wheat mesa
#

I always have spaces between tokens like that

ancient nova
uneven tartan
#

does thumbnail take an object copilot thinks it does

scenic kelp
#

i know

#

separate operands from operators

uneven tartan
#

yea my linter removes spaces around = and it hasnt bothered me much so idc

wheat mesa
scenic kelp
#

that's very horrific i would change that in an instant

#

and tbf i never lint my code anyways

uneven tartan
#

its a ternary operator^39995

ancient nova
scenic kelp
#

linting is silly imo if you aren't working with other developers

ancient nova
#

simple

scenic kelp
#

that is very not simple

#

that should totally be refactored into an actual if statement

wheat mesa
#

Why not use an actual if statement for that

#

Yeah

quartz kindle
wheat mesa
#

You really shouldn’t be chaining ternary operators

ancient nova
#

I wanted to keep that inline since most other things were inline in that script

scenic kelp
#

99% of the time chaining ternary should be refactored

wheat mesa
#

At that point you should be separating it into if statements

ancient nova
scenic kelp
#

at the very least logically separate it into sections with ()

ancient nova
#

actually do you guys wanna see how I code in c#

#

completely different

scenic kelp
#

do i

earnest phoenix
wheat mesa
#

Ternary is just meant to be a shorthand conditional branch, not meant to replace the functionality of if statements

wooden ember
#

i just does

sharp geyser
wooden ember
#

and i havent touched that bit

scenic kelp
wheat mesa
sharp geyser
#

and yet he will still fight it

ancient nova
#
    private void HandleMovementInput() {
        moveInput = new Vector2((isCrouching ? crouchingSpeed : isSprinting ? runningSpeed : walkingSpeed) * Input.GetAxis("Vertical"), (isCrouching ? crouchingSpeed : isSprinting ? runningSpeed : walkingSpeed) * Input.GetAxis("Horizontal"));
        float moveDirectionY = moveDirection.y;

        if (isSprinting && (Mathf.Abs(Player.velocity.x) > 0.5f || Mathf.Abs(Player.velocity.z) > 0.5f )) {
            Camera.fieldOfView = Mathf.SmoothDamp(Camera.fieldOfView, cameraBaseFov * FOVKickAmount, ref cameraBaseRef, 0.25f);
        //} else if (isCrouchingCheck && (Mathf.Abs(Player.velocity.x) < 0.5f || Mathf.Abs(Player.velocity.z) < 0.5f )) {
        //    Camera.fieldOfView = Mathf.SmoothDamp(Camera.fieldOfView, cameraBaseFov * 0.75f, ref cameraBaseRef, 0.25f);
        } else {
            Camera.fieldOfView = Mathf.SmoothDamp(Camera.fieldOfView, cameraBaseFov, ref cameraBaseRef, 0.25f);
        }

        moveDirection = (transform.TransformDirection(Vector3.forward) * moveInput.x) + (transform.TransformDirection(Vector3.right) * moveInput.y);
        moveDirection.y = moveDirectionY;
    }
``` my movement script done in c#, hate me for that ternary op
wheat mesa
#

I saw a linter with rust-like errors/warnings

scenic kelp
#

man

wheat mesa
#

Talk about absolutely unreadable

scenic kelp
#

{} on same line 😔

sharp geyser
#

I feel bad for unity

ancient nova
sharp geyser
#

😔

wheat mesa
#

You’ve gotta learn some OOP and general CS principles here man

#

Separate things into functions

ancient nova
#

if it works, it works

sharp geyser
#

Even I could do better and I suck at C#

ancient nova
#

c# is my primary lang

scenic kelp
#

if it works it works is not a great mindset to have

lyric mountain
#

unity will become Separation after this code

uneven tartan
scenic kelp
#

it works now but what about when you need to go back and update it

#

it will be a nightmare to update

sharp geyser
wheat mesa
#

You could throw everything in a giant Main function and it “still works”, but that is incredibly unorganized and a terrible idea

earnest phoenix
scenic kelp
#

implicit

#

yes

ancient nova
#
    private void HandleHeadbobInput() {
        if (!Player.isGrounded) return;
        if (Mathf.Abs(moveDirection.x) > 0.1f || Mathf.Abs(moveDirection.z) > 0.1f) {
            cameraTimer += Time.deltaTime * (isCrouching ? headbobCrouchSpeed : isSprinting ? headbobRunSpeed : headbobWalkSpeed);
            Camera.transform.localPosition = new Vector3(Camera.transform.localPosition.x, cameraDefaultPos + Mathf.Sin(cameraTimer) * (isCrouching ? headbobCrouchAmount : isSprinting ? headbobRunAmount : headbobWalkAmount), Camera.transform.localPosition.z);
        }
    }
``` another whole lot of ternaries
wheat mesa
#

Yeah I don’t like that for everything

ancient nova
scenic kelp
#

they're all inconsistent with what is considered falsy as well

wheat mesa
#

I feel like you should need to explicitly convert objects to booleans

scenic kelp
#

py not not [] != js !![]

#

is writing thing.length == 0 that much harder

earnest phoenix
#

The sloppiness of dynamic programming languages can be crazy, but I guess their goal is to make things easier

scenic kelp
#

int == 0 ? false : true

#

it's like 20 extra characters to eliminate the potential for bugs

ancient nova
#

oof I just found my old custom editor code

/** @INSPECTOR-SETTINGS */
#if UNITY_EDITOR

[CustomEditor(typeof (CharacterBehaviour))]
public class CharacterBehaviourEditor : Editor {
    string Version = "v0.1.0b";

    CharacterBehaviour characterBehaviour;
    SerializedObject customInspector;

    SerializedProperty CanPlayerMove;
    //SerializedProperty customInspectorCanPlayerSprint;
    //SerializedProperty customInspectorCanPlayerJump;
    //SerializedProperty customInspectorCamera;
    //SerializedProperty customInspectorPlayer;
    //SerializedProperty customInspectorwalkingSpeed;
    //SerializedProperty customInspectorrunningSpeed;
    //SerializedProperty customInspectorlookSmoothing;
    //SerializedProperty customInspectorwalkingGravity;
    //SerializedProperty customInspectorrunninglookSpeed;
    //SerializedProperty customInspectorwalkinglookLimit;
    //SerializedProperty customInspectorjumpForce;
    //SerializedProperty customInspectorFOVKickAmount;

    void OnEnable() {
        characterBehaviour = (CharacterBehaviour) target;
        customInspector = new SerializedObject(characterBehaviour);

        CanPlayerMove = customInspector.FindProperty("<CanPlayerMove>k__BackingField");
        //customInspectorCanPlayerSprint = customInspector.FindProperty(CanPlayerSprint);
        //customInspectorCanPlayerJump = customInspector.FindProperty(CanPlayerJump);
        //customInspectorCamera = customInspector.FindProperty(Camera);
        //customInspectorPlayer = customInspector.FindProperty(Player);
        //customInspectorwalkingSpeed = customInspector.FindProperty(walkingSpeed);
        //customInspectorrunningSpeed = customInspector.FindProperty(runningSpeed);
        //customInspectorwalkingGravity = customInspector.FindProperty(walkingGravity);
        //customInspectorlookSmoothing = customInspector.FindProperty(lookSmoothing);
        //customInspectorrunninglookSpeed = customInspector.FindProperty(lookSpeed);
        //customInspectorwalkinglookLimit = customInspector.FindProperty(lookLimit);
        //customInspectorjumpForce = customInspector.FindProperty(jumpForce);
        //customInspectorFOVKickAmount = customInspector.FindProperty(FOVKickAmount);
    }
    public override void OnInspectorGUI() {
        customInspector.Update();
        EditorGUILayout.LabelField("", GUI.skin.horizontalSlider);
        EditorGUILayout.Space();
        GUILayout.Label("Character Controller", new GUIStyle(GUI.skin.label) { alignment = TextAnchor.MiddleCenter, fontStyle = FontStyle.Bold, fontSize = 16 });
        GUILayout.Label("Version: " + Version, new GUIStyle(GUI.skin.label) { alignment = TextAnchor.MiddleCenter });
        EditorGUILayout.Space();
        EditorGUILayout.LabelField("", GUI.skin.horizontalSlider);

        GUILayout.Label("Movement Flags", new GUIStyle(GUI.skin.label) { alignment = TextAnchor.MiddleCenter, fontStyle = FontStyle.Bold, fontSize = 13 }, GUILayout.ExpandWidth(true));
        //EditorGUILayout.ToggleLeft(new GUIContent("Can Player Move", "Determines whether the player can move around."), EditorGUILayout.PropertyField(CanPlayerMove));
        EditorGUILayout.PropertyField(CanPlayerMove);

        customInspector.ApplyModifiedProperties(); 
    }
}
#endif
earnest phoenix
#

Oh God

wooden ember
#

programming needs to be harder as a form of gate keeping

scenic kelp
#

that code is fine

wooden ember
#

lol

ancient nova
#

it was terrible I can acknowledge that kek

wheat mesa
#

Hot take alert: dynamic languages are meant for those who know what they’re doing, not those who don’t understand the caveats of types

earnest phoenix
#

Textwall jumpscare troll

ancient nova
scenic kelp
#

honestly it is

wheat mesa
#

The comments though…

scenic kelp
#

minus the commented out parts it's very readable

ancient nova
#

but midst doing that I got lazy

#

so didn't end up finishing it

wheat mesa
#

In my personal opinion you need to understand statically typed languages before you should be allowed to use a dynamically typed one

#

(In general, not talking about anyone here)

scenic kelp
#

types aren't even a hard concept to understand

#

everyday math involves units

#

types are literally just units

wheat mesa
#

Yes but understanding the risks of having a loose type system is something that I feel like every js dev overlooks

ancient nova
#
    private void Update() {
        Quaternion resultRotation;
        Vector3 resultPosition;

        //float mouseX = Input.GetAxis("Mouse X");
        //float mouseY = -Input.GetAxis("Mouse Y");
        //rotY += mouseX * cameraMoveSensitivity * Time.deltaTime;
        //rotX += mouseY * cameraMoveSensitivity * Time.deltaTime;

        //Quaternion xMove = Quaternion.AngleAxis(rotX, Vector3.up);
        //Quaternion yMove = Quaternion.AngleAxis(rotY, -Vector3.right);
        //Vector3 movePosition = new Vector3(rotY, rotX, 0f);
        //cameraInput = Quaternion.Euler(0f, cameraRendering.transform.rotation.y, 0f);

        if (Input.GetKey(lookAtCameraKey)) {
            resultRotation = Quaternion.RotateTowards(objectToLerp.localRotation, endRotation, lerpSmoothAmount * Time.deltaTime);
            resultPosition = Vector3.Lerp(objectToLerp.localPosition, endPosition, lerpMovementAmount * Time.deltaTime);
        } else {
            resultRotation = Quaternion.RotateTowards(objectToLerp.localRotation, startRotation, lerpSmoothAmount * Time.deltaTime);
            resultPosition = Vector3.Lerp(objectToLerp.localPosition, startPosition, lerpMovementAmount * Time.deltaTime);
        }

        //these should execute once, if I'm guessing right?
        if (Input.GetKeyDown(lookAtCameraKey)) {
            cameraSource.PlayOneShot(cameraClip);
            cameraRendering.SetActive(true);
        } else 
        if (Input.GetKeyUp(lookAtCameraKey)) {
            cameraRendering.SetActive(false);
        }

        objectToLerp.localPosition = resultPosition;
        objectToLerp.localRotation = resultRotation;
    }
``` this is one of my older scripts, can you guess what it did?
wheat mesa
#

My god please stop with the textwalls I’m on mobile

sharp geyser
#

Is that unity again

ancient nova
#

sorry 😭

scenic kelp
#

yes

wheat mesa
#

These take up like 2 pages of my screen

ancient nova
sharp geyser
#

Thank god for their new input system

#

that looks like hell

lyric mountain
#

long variables 😩

wheat mesa
#

I’m using Godot from now on

#

Fuck unity all my homies hate unity

sharp geyser
#

I don't

wheat mesa
#

Godot is infinitely smaller and easier

scenic kelp
#

godot's C# integration is meh though

sharp geyser
#

The whole Unity and IronSource thing is a joke

#

who gives a fuck

wheat mesa
#

Doesn’t matter to me, Godot is just so much lighter weight than Unity

earnest phoenix
#

And then there's the Unreal Engine

sharp geyser
#

Unreal is nice

wheat mesa
#

Godot is not nearly as equipped for 3D as Unity I’ll admit

sharp geyser
#

but you gotta have a better pc than what I got

#

at least unity can run on my potatoe

wheat mesa
#

Godot’s download is 70 megabytes, and there’s no installation process because it’s completely self contained. Godot projects start up in a whopping 1-3 seconds for me, compared to Unity’s 1-3 minutes

#

The UI is cleaner and less cluttered

scenic kelp
#

all the homies use a framework and write their own engines

sharp geyser
#

but no idea what to use for c#

wheat mesa
#

Honestly I’m going to do that at some point with rust + SDL2

scenic kelp
#

MonoGame

#

it's good for 2D stuff

wheat mesa
sharp geyser
#

What about 3D

wheat mesa
#

Lmfao no

wooden ember
#

i remember trying to make a map in unreal on my old pc, took 10 minuits to rotate the map after i added loads of shit

scenic kelp
#

not sure what exists for 3D

wheat mesa
#

Don’t even consider trying to write 3D yourself, that’s a pain beyond belief

sharp geyser
wooden ember
#

well probably an exagguration but still

wheat mesa
#

Unless you’re making that your project for the next 5 years

sharp geyser
#

sounds fun

wheat mesa
#

3D is very complex

#

If you want to go for it then sure

scenic kelp
#

but Monogame is a continuation of XMA which was used for games like Celeste and Terraria

wheat mesa
#

Do what you’d like

sharp geyser
#

I will implement raycasting myself

wheat mesa
#

Implementing a 3D engine with decent efficiency is just not a plausible project for a solo developer

wooden ember
#

i miss that

scenic kelp
#

not really

wheat mesa
#

Not really

scenic kelp
#

engines aren't limiters

#

they're just bases

wooden ember
#

didnt say they where

#

but there is less variety

wheat mesa
#

The engine provides you all the tools you need to make games, people just have certain styles for games because they’re easier to make

wooden ember
#

but theres more to a game than just "content"

sharp geyser
#

🤔

#

Without content what is there

#

Oooo nice loading screen

#

lets watch this for 100+ hours

wheat mesa
#

There’s a general feel to the game misty

scenic kelp
#

well art does play a huge role to a game

wheat mesa
#

Menus, responsiveness, style, etc

lyric mountain
sharp geyser
scenic kelp
#

if there's online content, quality of it

lyric mountain
#

tho I loved bayonetta's loading screen

sharp geyser
#

but story plays a bigger part

wheat mesa
#

I don’t know about you but a god ugly UI would distract me from the game’s content quite a bit. It makes the game feel unpolished

scenic kelp
#

that's a lot of opinion

sharp geyser
#

again this is just a matter of preference

scenic kelp
#

some people will gladly sit through a shitty story for good graphics

earnest phoenix
sharp geyser
#

so I am not saying your guys opinion is invalid

wooden ember
#

look at stalker the engine that uses it entirely unique and interesting has its querks but its nice to play somthing ehre things react in difernet ways rather than play a bunch of games with the same physics and all act the same under the hood

sharp geyser
#

I just prefer story over everything else

wheat mesa
wooden ember
#

didnt say the did

wheat mesa
#

You have complete control over that

#

The engine is really just a set of tools for making your game in a manageable way without needing 10 million lines of boilerplate code

scenic kelp
#

most physics engines will behave mostly the same as well, they're trying to replicate real world physics after all

#

edge cases are a different story of course

wooden ember
#

true but i'll put it like this, you can tell when a game uses source. nomatter the setting content or game type

#

you know

#

thats what im getting at

lyric mountain
scenic kelp
#

source is an interesting case but that does clear the point up a bit more ig

lyric mountain
#

if u don't like source limitations, go on, just extend the classes

wooden ember
#

yeah the games are good and the engine is a masterpiece but i would like to have more variety

scenic kelp
#

well certain engines do have some tighter restrictions

wooden ember
#

see how other people write engines and how they react diferently in difernt senareios

wheat mesa
#

When I think of source I think CSGO or Half Life

wooden ember
#

true but you can still tell

scenic kelp
#

ngl i had no idea apex is a source game

wooden ember
#

the way object behave and how crap interacts with other crap

#

yeah its pretty cool

ancient nova
#

does my anti raid system look good?

lyric mountain
wheat mesa
#

looks like your bot is looping on itself

wooden ember
#

looks liek it is its self a raid system

ancient nova
lyric mountain
#

not that

#

raid is specifically either a mass join or mass spam

#

restoring channels cant be a raid attempt

wheat mesa
#

I hate to break it to you but if a raid somehow has perms to delete your channels, a bot isn’t gonna be able to counteract that

ancient nova
#

someone deleting all channels in a guild is a wizz, therefore a type of raid

lyric mountain
ancient nova
wheat mesa
#

Restoring the channel doesn’t matter

#

It’s restoring the messages in them that’s impossible

#

Plus you’re going to get hard ratelimited

lyric mountain
#

and how can a raider create channels to begin with?

ancient nova
#

technically is possible but why would you lmfao

wheat mesa
#

Possible != plausibly possible

ancient nova
wheat mesa
#

? What

wheat mesa
#

That’s not a raider

lyric mountain
#

who tf is giving raiders manage channels perm?

ancient nova
wheat mesa
#

If you’re getting raided and the bots have that sort of permission level you’re fucked either way

lyric mountain
wheat mesa
#

I don’t know what wizz a server means

lyric mountain
#

sir, I think u have the wrong definition of raid

ancient nova
#

wizz is using a user token therefore it ignores every perm

lyric mountain
#

raid is like ddos, it HAS to be many users

#

if it's just a messed bot it aint a raid

ancient nova
#

if someone destroys your entire server using a bot it's a raid

lyric mountain
#

nope

quartz kindle
#

no lol

ancient nova
#

even if not the actual definition, it's what people refer it to on discord

quartz kindle
#

raid literally means invasion

earnest phoenix
quartz kindle
#

aka tons of people entering at once

sharp geyser
#

Ima invade ur house tim

#

;)

wheat mesa
#

I’m invading your walls misty

sharp geyser
#

Good luck

wheat mesa
#

I’m already in them

ancient nova
lyric mountain
#

a bot destroying ur server is called "u shouldn't have given such perms to unknown bots"

sharp geyser
#

I doused them with poison

quartz kindle
quartz kindle
#

raid always meant tons of people joining to troll or spam

sharp geyser
ancient nova
#

cause I think ur just trying to make me look bad

lyric mountain
#

it's like the hackban, "everyone uses" according to bae

ancient nova
lyric mountain
#

yet it's rarer than baby pidgeons

earnest phoenix
sharp geyser
#

Oh trust me he has

wheat mesa
#

I think it’s because all of us don’t really see the value in restoring the channels

sharp geyser
#

I raid him every night

ancient nova
#

dyno, mee6, probot

wheat mesa
#

I mean I sort of see it, but the bot can continuously just delete the channels and ratelimit the fuck out of your bot on purpose

sharp geyser
#

mee6 shouldn't be mentioned

#

its trash

ancient nova
wheat mesa
#

And if that fails because the user is elevated beyond control? It’s going to fuck up your bot

#

Someone can make an abuse server to ratelimit you on purpose

#

When you’re trying to “protect” against exploits, you have to think about how your protection can be exploited

ancient nova
#

why did you put punctuation marks on protect

earnest phoenix
#

Making a proper anti-raid system is like one of the hardest things you can implement on Discord

ancient nova
#

@earnest phoenix had seen my anti raid in action

sharp geyser
#

punctuation ?

wheat mesa
#

Because it’s not really protecting anyone

ancient nova
lyric mountain
#

because protection is an illusion

lyric mountain
#

it's like soap, maximum is 99.9% protection

ancient nova
#

you didn't say my implementation of the anti raid system was bad?

lyric mountain
#

it is

ancient nova
#

did you just not say it as to not make me feel bad or what 💀

sharp geyser
#

No one cares about your feelings here

ancient nova
sharp geyser
#

sorry to break it to ya

wheat mesa
#

man I should be doing calc homework but this is fun

ancient nova
#

I literally copied how it works but with my own ideas

sharp geyser
wheat mesa
#

my calculus 🤓

sharp geyser
#

lol

lyric mountain
#

"copied" shouldn't really be a part of anyone's vocabulary

sharp geyser
#

achtually it is not "calculations" 🤓

lyric mountain
#

you can be inspired by it, yes, but never "copy" something

wooden ember
#

i mean there are calculations in calculus

lyric mountain
#

because you'll never be original that way

ancient nova
wheat mesa
earnest phoenix
ancient nova
wheat mesa
wooden ember
#

bruh just dont give perms to anyone then no one can nuke

ancient nova
#

but yeah I am going to implement more

wooden ember
#

trust no one

ancient nova
wooden ember
#

whatever that is

ancient nova
#

if you have no 2fa and has been token grabbed someone can log into your account and nuke that way

wheat mesa
#

why do you not just say token stealing instead of using obscure discord terms nobody has heard of

ancient nova
#

that's called a wizz

lyric mountain
wheat mesa
#

2fa doesn't protect against token attacks anyways

sudden geyser
wooden ember
#

bruh then dont get tokenloged

lyric mountain
#

it's an anti-nuke as they said

ancient nova
#

I'M JUST SAYIN

earnest phoenix
sharp geyser
#

Why are we arguing about what its called

#

does it matter

wooden ember
#

all token logging atempts ive seen are so painfully obvious anyone that falles for them i have no sympathy for

sudden geyser
#

yes

wheat mesa
#

I should make a LaTeX alternative language

ancient nova
#

at least you didn't say it's bad

sharp geyser
#

lets not

ancient nova
#

I can live with that

sharp geyser
#

Time to rate limit his bot

#

😎

wheat mesa
#

misty come do my calc I don't wanna do this

ancient nova
lyric mountain
sharp geyser
lyric mountain
#

then I notice it only prevents leaked bots

wheat mesa
#

ok hold on lemme screenshot the problems

sharp geyser
#

Time to learn calculus in a matter of minutes

ancient nova
#

if it detects channels being created, or deleted too many times in a row
I am:
bringing them back / deleting them
banning the person who created them / taking away their permission
notifying the owner of the guild for further action

#

same with roles

earnest phoenix
#

Listen

sharp geyser
#

Sounds like rate limit issues

lyric mountain
ancient nova
lyric mountain
#

then it aint a fckin anti-raid

sharp geyser
#

HUH

ancient nova
#

if many users joined at once to my server it would be quite cool lol

quartz kindle
#

LOL

sharp geyser
#

💀

lyric mountain
sharp geyser
#

Okay

lyric mountain
#

as in, NOBODY can access it

sharp geyser
#

I am boycotting his bot

quartz kindle
earnest phoenix
# earnest phoenix Listen

You're acting upon a user who has dangerous permissions and banning them/removing their roles, raiding is the act of many users joining your server and causing disruption

ancient nova
#

I meant it as in getting like the user count higher?

lyric mountain
#

bruh

ancient nova
earnest phoenix
lyric mountain
ancient nova
#

I wasn't spammed with thousands of different users joining, but the people who raided me did the exact things I protect servers against
deleted all my channels
created some spam channels
spammed with random messages or invites to other servers

lyric mountain
#

when many users join at once (read: hundreds or thousands at once) it clogs the server route

#

making ALL users unable to even access the server

ancient nova
#

well I can't really protect against that....

lyric mountain
#

ever saw the red "!" on the bottom of server list?

#

that's a raid result

wooden ember
#

how interesting

earnest phoenix
wooden ember
#

lol what

lyric mountain
#

it's definitely possible

ancient nova
#

other time I was raided was a wizz, they did all that but they logged into a bots account instead

earnest phoenix
#

That's not called raiding, that's just admin abuse, someone you trust turning against you

wooden ember
ancient nova
#

I can add that as a feature of my anti raid

#

if you don't mind

lyric mountain
wooden ember
#

lol ban all useres in the discord

#

jk

#

ratelimit moment

lyric mountain
#

deleting the invite will fck many big servers

earnest phoenix
#

"Holy shit Linus Torvalds just joined our server! Unfortunately got banned during the anti-raid process"

ancient nova
lyric mountain
#

and ban ratelimit is huge (and per-server)

wooden ember
#

true but then you gotta have a bot thats fast enough

quartz kindle
wooden ember
#

but then thats probably more easy than i think since all my code and servers is redneck and shit

#

still works

#

exept for my event reload commands

#

but eh

#

workin' on it

ancient nova
quartz kindle
#

then you've all been using the word wrong

earnest phoenix
#

That button is for what Tim exactly showed there

wooden ember
#

raid is loads of people joining nuke is wehn the server contents gets deleted or alterd in a big way

#

bruh my typing is getting worce by thei minute

quartz kindle
#

worce by thei, new fragrance

wooden ember
#

smort

earnest phoenix
#

thei

wooden ember
#

lol

ancient nova
#

okay, sure ig I will keep referring to raid as a nuke since that's what I've been doing and the support staff did seem to understand what I was talking about as well when I reported all the raids I had

wheat mesa
#

Bae I don't know where you're getting your definitions but I've been a server admin before and there is a very big distinction between nuking and raiding

wooden ember
#

bruh why bother reporting it anyway discord only really does anything if its bit like abuse or related to minors

lyric mountain
#

nuke is attacking specifically the server structure (bombs destroy stuff)

ancient nova
#

I've also been a server admin, in quite big servers and they all referred to channel detection and other stuff as a "raid"

wheat mesa
#

That's wrong then lol

wooden ember
#

doent mean its right though

#

exactly

#

lol

ancient nova
#

that's what everyone I know calls it then

#

just you guys seem to be different

wheat mesa
#

big difference

quartz kindle
#

guess which one is discord

wheat mesa
#

very big

lyric mountain
#

yes yes

wooden ember
#

crap doent gain a diferent meaning cuz people you know say it that way

earnest phoenix
wheat mesa
ancient nova
wheat mesa
#

Nah probably the one eating 113mb

#

5508

#

The other one is probably just real chrome

quartz kindle
wheat mesa
#

Yeah I was pretty confused about that

wooden ember
#

in my experience discord uses 1.5 gigs after being left on for a while

wheat mesa
#

🤨 wtf

wooden ember
#

bruh idk

wheat mesa
#

Mine is using 450mb of ram about rn

earnest phoenix
#

For me Discord only ever used ~700MB when left open for a long time

ancient nova
wooden ember
#

bruh the max ive seen it use was 5 gigs but that whas when vc was borked

ancient nova
#

but all of the people I know and beyond refer to discord nuking and all the other stuff as a raid

#

because it's simpler

#

rather than calling each thing differently

lyric mountain
#

smh my head

ancient nova
#

I can go to discord devs server, define what a raid is imo and they will definitely agree

earnest phoenix
#

I suppose they also think the words "stupid" and "dumb" are an alias to each other when they aren't

wooden ember
#

just means alot of people you know are wrong

quartz kindle
#

sure, my car doesnt start, im gonna call a mechanic and tell him my car has a flat wheel

wooden ember
#

lol

ancient nova
#

oh my god, but when you refer it to a raid eveyrone literally every single person will know what you are talking about

quartz kindle
#

i wouldnt

wooden ember
#

lol

ancient nova
#

most recent raid I had was like a month or two ago, everyone said that they've gotten "raided"

#

every single member, even the staff said that

#

it was a 25k member server

wooden ember
#

doent mean thay are right

#

just means they understand what is ment

wheat mesa
#

I love derivatives my god

#

so satisfying

ancient nova
wooden ember
#

doent make it right though

lyric mountain
#

server owners only have to deal with their own community, but you aren't a server owner, you're a bot dev

ancient nova
#

yeah, I get it, sure

lyric mountain
#

you'll be dealing with hundreds of thousands of users

ancient nova
lyric mountain
#

you can't bet all of them will use the same wrong definition

lyric mountain
wheat mesa
#

I was about to say "inb4 'I am a server owner'" lmfao

lyric mountain
#

you are a bot dev

ancient nova
wooden ember
#

if i said i peddled my car to work gramatically that makes no sense but you will know wht i ment probably

ancient nova
#

and also I work out, skate and make PC and mobile games

wooden ember
#

unless that example is two absrtacot

lyric mountain
wooden ember
#

what the fuck even is my typing anymor

lyric mountain
#

OWN (not part of staff)

wheat mesa
#

I own a discord server poggythumbsup

wooden ember
#

lol

ancient nova
quartz kindle
#

anymor, the new fragrance

lyric mountain
wheat mesa
#

No idea who added those bots though, haven't used this server since 2017

wooden ember
#

lol

ancient nova
wooden ember
#

bruh i have like 4 servers and they are all dead

#

exept for one

#

that is ultra dead

quartz kindle
#

absrtacot, the new absynth flavor

earnest phoenix
#

I guess the thing they're trying to get across is that most Discord users don't know the difference between words like that, and that what they see isn't the same as what a word might fit to it

#

AKA most Discord users don't have any technical information about any of this

ancient nova
lyric mountain
wooden ember
#

so what weve ubncovered today is the fact that the average discord user hase no idea how words work

ancient nova
#

and actually if I said nuke they wouldn't probably know what it means

wooden ember
#

interesting for w text chat service

ancient nova
#

raid is just widely known as a thing that makes ur disocrd server go bad

wooden ember
#

they would

lyric mountain
#

you have to consider the many different communities you might reach into

wooden ember
#

its a universal turm

lyric mountain
#

and I bet 99% of them won't call a nuke a "raid"

wooden ember
#

and the fact that nuck implies destry

ancient nova
#

give me a second

wooden ember
#

bruh

lyric mountain
earnest phoenix
wooden ember
#

lol

#

i ment descovered but idk how i got it that worong

earnest phoenix
#

worong

wooden ember
#

im trying to typ e at maxe speed with coodination that is ass

#

help

wheat mesa
#

ah yes let me ask developers that don't own large communities for advice on large communities 😉

wooden ember
#

"whatup fellow nerds is a raid a nuke"

#

silence

#

probably how it went

earnest phoenix
wooden ember
#

oh god i cant do those cuz my reading is crap has to be freestile or whatever its called

#

but ill try

quartz kindle
#

a pitty you didnt say "my reading is carp"

#

missed opportunity

ancient nova
#

there

wooden ember
#

i can go fater when im not reading

lyric mountain
wooden ember
#

but thats bout as fast adsi can doo when im reading coppying text

wheat mesa
wooden ember
#

lol

lyric mountain
wheat mesa
#

I fucked up at the end

lyric mountain
#

what kind of data gathering is that?

earnest phoenix
wheat mesa
# ancient nova

first year physics students when the teacher asks them to collect data

#

1 trial moment

ancient nova
lyric mountain
#

also, ur question is highly biased to begin with

wooden ember
#

still better than when my typing was 10wpm

lyric mountain
#

ask instead What is it called when someone steals your token and mass delete the channels?

wheat mesa
#

^

wooden ember
#

but years of arguing wirth peopke on the internt has gotten my typing faset

wheat mesa
#

unbiased questions

wheat mesa
wooden ember
#

based

#

lol

wheat mesa
#

help how do I do lim x -> 6 of (cuberoot((x - 6)^2) / x - 6)

#

I forgor

quartz kindle
#

i dont read chinese

wooden ember
#

i dont read

quartz kindle
#

i dont

wooden ember
#

i

wheat mesa
#

oh wait

#

I think I know how

quartz kindle
#

lyric mountain
#

I guess

wheat mesa
#

no no I meant how do I do the derivative of said function

wooden ember
lyric mountain
#

solve that code

wooden ember
#

̣

#

bruh

wheat mesa
#

lol

lyric mountain
#

what is a derivative?

uneven tartan
quartz kindle
#






huehuehue

wheat mesa
#

uhhhhh, I'm given f(x) = (x-6)^(2/3), and c = 6 and I'm meant to find the derivative at c

wooden ember
#

̣

̣

bruh this used to work

wheat mesa
#

and the derivative at a point definition is f'(a) = (f(x) - f(a)) / x - a

#

hold on lemme look up how to do this

wooden ember
#

ẹ̣̣

#

bruh idk what ive done now

#

anyway do i try and fix my damn event handleing now or do i sleep

uneven tartan
#

lemme get a good run on monkeytype 15 sec real quick

wooden ember
#

bruh how did i type ing instead of r

uneven tartan
#

not bad for 15 sec

wooden ember
#

hot damn

uneven tartan
#

lemme see 10 word i havent done that in a minute

wheat mesa
#

ok so it turns out the function isn't differentiable at x = 6 so idk how they got that conclusion but yeah

#

no derivative at x = 6

uneven tartan
#

decent

#

not a best but decent

wooden ember
#

lik like the way that on my graph of that its really wavy cuz i had to read the text and then type it

uneven tartan
#

i read and type at the same time

#

when im typing something without having to read it like i am right now then i type a lot faster

#

its even faster during an argument

wooden ember
#

by brain doen not have synchronous capabilities

uneven tartan
#

adhd brain time

wooden ember
#

bruh thats not adhd is it?

wheat mesa
#

ok I figured it out

uneven tartan
#

i start so many but then just end it cause i messed up

wooden ember
#

lol

uneven tartan
#

my best 10 word i think is 196?

wooden ember
#

if the thing read out the word instead of me having to read it id probably do better

#

even better would just be readin out the letters

uneven tartan
wooden ember
#

the lest thinking i have to do the faster it is

#

casual flex i guess

ancient nova
#

ok I guess I can agree with you guys on that, kinda

uneven tartan
#

it isnt that bad but im working on it

wheat mesa
#

this is about the best I can do

#

at the moment at least

civic scroll
#

what the fuck happened here 💀

#

i just woke up

wheat mesa
#

Lots

wooden ember
#

ok so i accidentally redneck fixed my event handler reloader, foud a way to start the bot when it crashes and since the event handler maked it crash it restarts meaning that the events are reloaded by default

#

smort

#

i can feel people who actually know how code works cringe already though

#

idk what happens when it boot loops though

#

thats an issue for future me

quartz kindle
wheat mesa
#

inb4 “why is my gateway session limit reached 6 hours into the day”

quartz kindle
#

you missed it

uneven tartan
#

update of the day

#

i finished setting up my web manager for my pi media player

#

i can now stream netflix, disney+, udemy, hulu, paramount, whatever on my pi (to my tv) from one webpage

#

i can even stream local files to it

wooden ember
#

ok idk what ive done theres like 4 instances of the bot and event thoguh i killed the screen session they where running under they are still running

#

of fuck they are multiplying

#

shit

#

bruh this was a bad idea

#

i cant kill them more keep apearing

#

ok i got them now

#

bruh started going supernova for a moment there

pearl trail
ancient nova
#

💀💀💀💀

sudden geyser
#

think they talked about that months ago

#

basically a watered down version of nitro classic

#

of course without actually adding any features or lowering the price of the existing plans

civic scroll
#

@ancient nova one tip

#

if you ever comment for yourself in code

#

make it concise

#

and only comment on part that you think you will forget later

ancient nova
#

not like I'm forgetting everything I write but it kinda became a habit for me

sharp geyser
#

Well for one, your code looking like that, and then you ask for help with little context

#

makes our life 10x harder trying to help

ancient nova
#

fair enough

civic scroll
#

that's why i said, only comment on parts that you are actively working on

#

and make it as concise as possible

ancient nova
#

if you looked at my bots source

#

EVERYTHING is commented

#

even the docker

civic scroll
#

if you look at mine

ancient nova
civic scroll
#

it's literally little-commented

#

also

#

your project is not a bot template