#development

1 messages · Page 289 of 1

sharp geyser
#

am I slow or is there a dot in the s

#

Its not pretty but its there

craggy pine
#

To answer the question, yes theres a dot

celest trail
#

@solemn latch

solemn latch
#

Any errors in your console?

quartz kindle
#

All the errors in your console

crystal wigeon
#

Has anyone used playwright? I’m trying to find a source that teaches everything about it and how to do things securely flork_think trying to understand how I can extract the dom effectively, what are the best practices

fiery crescent
#

Yo guys does anyone know how to set status on discord bot like this ?

queen needle
#

like the Do Not Disturb?

fiery crescent
queen needle
#

What library are you using

fiery crescent
fiery crescent
#

I am already using v2

#

See

queen needle
#

Only thing i can think is the on_ready doesn't get called, or the self.loop.create_task is not properly calling rotate presence but im not well versed enough in python to assist

#

Only thing i could recommend is printing or logging inside the rotate presence to ensure it is getting called

fiery crescent
deft wolf
#

CustomActivity my beloved

stark kestrel
# fiery crescent
await bot.change_presence(activity=discord.CustomActivity(name="blah", emoji="🗿"))

or something like that

#

A Game activity, like in your code, is not a custom activity

deft wolf
#

🗿blah

lyric mountain
#

@quartz kindle I found some discord black magic

#

please tell me how tf this works

#

cuz somehow it does

#

mfs managed to run doom in discord

stark kestrel
#

Because the emoji and name are part of discord.CustomActivity, read the code carefully :)

prime cliff
lyric mountain
#

oh

quartz kindle
#

thts pretty cool77492

lyric mountain
#

I guess u do need the s/i/ part

quartz kindle
lyric mountain
#

ah

quartz kindle
#

doesnt sup%20port spaces it seems

lyric mountain
#

try \s

neon leaf
#

\s

quartz kindle
#

o with spaceo

neon leaf
#

hello how g

quartz kindle
#

actually it does yes

lyric mountain
#

ah, well

#

it's weird that discord included this feature, it's the first time I'm even hearing about it

quartz kindle
#

same

#

never knew about it

neon leaf
#

really

#

do you not know about discord s/e/x ?

#

post any imgur link and do s/e/x

#

tenor i mean

quartz kindle
#

lmao

neon leaf
#

you can then run it again on the same gif to deepfry

#

theres also a chess version

fiery crescent
#

It took me 2 hours to do it but

#

I did it thanks

stark kestrel
#

No problem 🫡

fiery crescent
stark kestrel
#

Unfortunately I do not have the time, but there may be other people that do :D

dusk pebble
fiery crescent
#

And search ChatWarden

dusk pebble
fiery crescent
#

Wait one min

celest trail
#

@solemn latch

solemn latch
#

Can you show the console? While it's online and when it goes offline

loud canopy
#

this is funny

#

i have this code inside async functions inside a callback from a drop menu class

#

Vscode doesnt recognize it

#

but it works

#

like .responde.edit_message doesnt see it

#

neither anything inside interaction .

#

but it works

#

XD

stark kestrel
loud canopy
#

i never did it

#

i wanted to try and see if it COULD work

#

and when i saw nothing being called i was like

#

ok is not working

#

i run the bot and the battle system works all good with level up too

#

okay? XD

#

i was about to delete it but i tried just for "what if"

fiery crescent
primal quail
fiery crescent
#

Server count

sharp geyser
#

It's your responsibility to post your server count to top.gg via it's api

#

You can do it yourself or use one of the sdks (that typically come with an autoposter)

fiery crescent
#

Damn

sharp geyser
#

Yeah

fiery crescent
#

Thanks

warped sierra
#

be real with me chat, do you think my prettier formatting setup is weird?

neon leaf
#

using require in 2025 is weird

warped sierra
#

yes i know, but i dont wanna rewrite this bot to use import.

#

its based off a random template i made and i just used it to quick start it 🤣

lucid hare
#

hi i am sorry i am new to bot development, would anyone have any tips on how to get started?

humble gyro
lucid hare
humble gyro
lament rock
#

You recommended me datalix so I'm just asking, but it's asking me to select a duration to keep the server. Can I extend it past this period without having to setup another server?

neon leaf
#

ofc

#

its a prepaid server

#

you can always extend by 15, 30, whatever days

#

if you let it expire, it gets deleted

#

thats it

lament rock
#

Ok just making sure because it's uncommon to select a term straight up unless it's monthly/annually billing

pearl trail
#

uhm guys, does anybody know how this happened?

#

oh it's my kswapd

#

hmm

loud canopy
#

guys is ur bot's votes alright?

pearl trail
#

guess hosting 2 cassandras on 8gb machine is bad

#

i should merge em

unreal mist
loud canopy
#

idk my reset to 0

#

i had like 140+

#

now its 10

#

:<

unreal mist
#

It resets each month, you can check in #commands your total and monthly votes using -botinfo <your bots id>

unreal mist
loud canopy
#

some dude like 4 months ago walked up after playing with my bot and said

#

"automatic system is boring i want a battle system like pokemon"

#

and i said "im not changing my whole game just for an ugly version of pokemon"

#

IF HE COULD SEE THIS NOW

#

😭

#

ive been wasting days refactoring everything for the new system and this is the shit i read lmao

crystal wigeon
#

does anyone know any alt detection methods? I have a website where users can verify and im kinda checking the ip, but it looks like this isnt reliable since many genuine accs are being flagged as alts

unreal mist
loud canopy
#

and don't you dare look at it from mobile haahahahahahahahah

unreal mist
#

I’m viewing the image from mobile, wdym

loud canopy
#

from desktop

#

this is from phone

#

all the padding is messed up and the borders gone

unreal mist
#

How are you setting the layout for desktop?

loud canopy
unreal mist
#

Ahh so addFields

loud canopy
#

yes

unreal mist
#

Are you adding padding?

loud canopy
#

yes

#

but on phone no worky

#

only desktop

#

i pad for 3 integers

#

when players will have above 999 idk i'm gonna see

#

(hopefully never)

unreal mist
#

You could potentially have the name and value in the same section which would keep the opponents health and stats together since I noticed the mobile it’ll split up

loud canopy
#

yeah wel let's say

#

i left a big warning

#

"this bot is supported for desktop"

#

like i cba

unreal mist
#

I left my laptop at home (2.5h drive away), otherwise I’d offer to help with the layout

#

Can’t do any programming until at least Tuesday (if I’m home by then)

unreal mist
loud canopy
#

nobody has ever reached any stat near tbat

#

i didn't finish the game yet

unreal mist
#

Fair enough

#

It’s pretty easy to set up, can create a simple function you can use over and over again if you wanted

pearl trail
#

does anyone here use nginx inside docker container? NekoThink im always curious how it works,, is it 1 nginx container that'll handle the proxies from containers to the world,, or is it something else?

delicate zephyr
#

it's like running nginx normally

#

you just use the container hostnames in proxy_pass instead

#

with a docker network setup so it can see everything

pearl trail
delicate zephyr
#

yea

pearl trail
#

i see, that looks awesome. thank you!!

dusk pebble
#

anyone use TickerQ for scheduling in their bot?

#

tried to link the github but got denied 🙂

slender wagon
#

Do u guys know if my bot will lose verification if i change its name? Not top.gg verification i mean like the discord one

stark kestrel
stark kestrel
#

Unless it's a legal copyright claim/DMCA

#

Which in that case you'll have to go through the support portal and provide the necessary documents

slender wagon
#

Ah damn

dusk pebble
#

but TickerQ is the newest

stark kestrel
#

Newest doesn't mean better

#

I'd take the good old common things people use

#

They're battle tested and likely better

dusk pebble
#

same, but my orinal question was Do u guys know if my bot will lose verification if i change its name? Not top.gg verification i mean like the discord one

acoustic bough
#

wo/ loosing verification

stark kestrel
#

Once your bot becomes verified, the name change process becomes much more restricted:

  • Name changes (both application and bot username) are only permitted in specific circumstances
  • A legal copyright claim or DMCA takedown notice from a company regarding your application's name is required
  • This restriction exists to prevent verified bots from impersonating other popular applications through post-verification name changes
#

If it's for a legal reason, yes, it will likely have no issues as the Discord support takes care of it. And even for such cases, heard Discord isn't really cooperative..

In other cases, you cannot change the name

#

Hence

delicate zephyr
#

we managed to get the name of DBL Stats changed

#

we literally just said "We're changing branding/Itellectual Property and need to change the name from "DBL Statistics" to "TopStats"

#

and they did it within 30 minutes for us

stark kestrel
#

Exceptions to rules ¯_(ツ)_/¯

#

Just like lots of things at Discord

#

They're the definition of mess

dusk pebble
#

wondering if everyone who develops a bot, does the bot status change after setting it on startup?

#

im having this issue , wondering if it is a discord issue or the lib I use

stark kestrel
#

It does change

dusk pebble
#

is this a known issue?

stark kestrel
stark kestrel
acoustic bough
dusk pebble
#

but it doesn't work as intended....the status of my bot changes to something I didnt put there after like an hour of being online

stark kestrel
#

Sounds like an issue on your end only

dusk pebble
#

yeah now that I think about it , it might be happening on Recconect

delicate zephyr
#

when it re-identifies after a reconnect if the session is invalid

#

your best bet it to just change the status on an interval every 10 minutes

#

which is what most people do

dusk pebble
#

I think I can do that in the SessionResumed event

#

but I also have a Quartz job that runs every hour that updates the status

#

I thought it might be a Discord issue but in fact it is a dev issue

#

thanks

dusk pebble
#

Im watching the console for my bot , looking for SessioneResumed to see how often this happens

lament rock
#

If you're using an older version of discord.js that doesn't support the "new" (almost like a year at this point) gateway resume endpoints, then you will get asked by Discord to reconnect frequently

dusk pebble
#

c# dev

unreal mist
#

At least for one of the bots, I don’t think I have it changing for Toastoku without double checking the code

dusk pebble
#

I had mine set for an hour but wasnt soon enough

unreal mist
#

You can’t have it too fast else it’ll get rate limited from too many changes in a short time frame

dusk pebble
#

changed it to 10 minutes

unreal mist
#

It’ll pick a random one from the list you gave it every time you boot the bot back up tho if you’re wondering on that

dusk pebble
#

no list..set to 10 minutes

unreal mist
#

If you don’t have a list it picks from, how exactly are you telling the bot what to change between

dusk pebble
#

its a Quartz Schedule

#

runs a job every 10 minutes to update the status

unreal mist
#

Ah

dusk pebble
#

or if there is a Recconect event it also runs

#

but I havent seen one yet

lament rock
#

Gateway has a ratelimit of sending 120 packets per minute so if changing your status is the only thing, go wild hippo

dusk pebble
#

nah..dont need to ..10 minutes seems to be ok

#

might be able to up it to 15 minutes

lament rock
dusk pebble
#

ahhh good to know

lament rock
#

I do mine every 5min as I have a lot of statuses to cycle through

dusk pebble
#

no issues?

lament rock
unreal mist
#

Oh I had like 50 statuses for each presence activity so I had like 200 total I think at one point for one of my bots

dusk pebble
#

lol

unreal mist
#

I think I only have the one status for the one that’s in here though

lament rock
#

My lib has guards against sending too many packets anyways so I'll never have issues except packets getting queued if I send too many in the timeframe

dusk pebble
#

I have one status but now you gave me an idea haha

#

yeah I have rate limit checks for most things

lament rock
#

Be quirky

#

you as a user should never have to worry about ratelimits

#

lib devs should handle them for you

dusk pebble
#

they do

lament rock
#

good

dusk pebble
#

for most things

lament rock
#

not so good

dusk pebble
#

but thats on me...I loop through all guilds to send notifications

lament rock
#

The handling for rate limits should be baked into the request handler

dusk pebble
#

I think it is

unreal mist
#

I need to find that file with over 200 of them and see how crazy I actually went with some of mine

dusk pebble
#

but I still do a check

lament rock
#

send message is 5 per second per channel. There's a global ratelimit of 50 requests per second

dusk pebble
#

good to know

lament rock
#

Your lib should still handle the global rate limit

#

if it doesnt then thats ass

unreal mist
#

This is one of the ones I went with when I shortened the list

dusk pebble
#

like I said...it does

lament rock
#

then why are you adding additional handling

dusk pebble
#

im ocd

lament rock
#

Alright

dusk pebble
#

never trust others to do a job for you

#

even IF they do it

#

always bites you in the ass

lament rock
#

I partly agree with the statement. The point of using libs is so that you can offload development time to others which is huge if you're a solo dev. Even if libs have issues, you report them

dusk pebble
#

I agree with you

#

should mention the lib is for JS

#

in the readme

lament rock
#

The lang on gh says ts

#

I think thats pretty clear imo

dusk pebble
#

yes my bad

#

I didnt scroll down

humble gyro
lament rock
#

Yeah. Older lib but finally modernized it

humble gyro
#

the goat

lament rock
humble gyro
lyric mountain
#

ok this is getting out of hand

#

now there's an AI commit review lmao

delicate zephyr
#

yea

stark kestrel
#

Bloated code editors

pearl trail
#

but i do like it tbh mmLul

#

liked it too much idk how to setup project in languages i learnt using jetbrains

loud canopy
#

and feed the bits manually to my cpu

#

with a digital spoon

knotty night
#

@solemn latch

unreal mist
#

Was just about to tag, beat me to it (:

knotty night
#

@shell tundra didn’t delete the messages

pearl trail
#

bruh wtf, i spent > 6 hours wondering why my nginx container are not able to access host port, it turns out ufw also blocks any interface, not just public 💀

#

there's literally 0 mention about ufw/firewalls on forums and guides i read

delicate zephyr
turbid veldt
#

What would bots like circle or dyno even be called

#

Bot companies?

#

Cause they make money off it

delicate zephyr
#

A bot is a usable piece of software

turbid veldt
#

Cause I’m trying to figure out what I label my stuff as, software company or bot company 😭

turbid veldt
#

Software companies using another software company

#

To market there company

#

😭😭😭

delicate zephyr
#

People do that all the time?

turbid veldt
#

No I know I’m saying

#

Calling people who make a bot a software company

#

I mean you get what I’m saying right

#

They make a discord bot and call themself a software combo

#

Company*

delicate zephyr
#

still software

turbid veldt
#

But I mean

#

If someone makes a bot

#

And sells it with a website

#

Are they a full on software company according to other company’s? Probably not

delicate zephyr
#

Yes

#

look at Rythm

turbid veldt
#

Rythm was a legend💔

delicate zephyr
#

still is

turbid veldt
#

I thought it got shut down???

delicate zephyr
#

it got revived

turbid veldt
#

Yeah didn’t YouTube shut it down

#

Like send a cease and desist letter

delicate zephyr
#

yea

turbid veldt
#

Bro trying to make a music bot

#

Is hard

#

Af

#

Without root access outside a container if your using pterodactyl especially

delicate zephyr
#

just dont make music bots

wheat mesa
#

Music bots are prone to copyright issues

#

Just seems like a pain when you could open a YouTube tab

sharp geyser
#

Are they seriously still trying to revive rythm

quartz kindle
#

you're gonna have to build an actual dedicated infrastructure

delicate zephyr
#

they did

sharp geyser
#

Really?

#

I know it gained som popularity but I didnt think it'd stick

neon leaf
#

@quartz kindle Im giving up 🙏 (for now)

delicate zephyr
neon leaf
#

according to my amazing estimate the 1:100 wouldve taken about 7 years

sharp geyser
#

Well yeah I know of it

neon leaf
#

because something broke

sharp geyser
#

I was part of their beta

delicate zephyr
#

they brought the bot back

#

added an activity

#

and made a web/desktop app

sharp geyser
#

Yeah I know

#

I was part of the beta

#

but I didnt think it'd really succeed

#

They are putting in massive amounts of money, didn't think they'd ever see a return worth continuing

delicate zephyr
#

you'd be surprised

#

the bot is still in 14 million servers so

sharp geyser
#

I left the beta like mid of last year

delicate zephyr
#

Almost back at 15 already

sharp geyser
#

Damn

#

Guess it's going strong

#

Surprising considering they pay for the music themsleves which isn't cheap

#

but ig 15 million servers with all those users

#

they'd make a return of their investment rather quickly

delicate zephyr
#

well

#

pretty sure they took the "Oh you mean youtube was threatened enough to actually shut us down? bet"

#

and went and licenced shit themselves

sharp geyser
#

Yeah

delicate zephyr
#

basically made spotify but discord bot

sharp geyser
#

Exactly

#

Honestly had youtube or spotify just partnered with rythm both could of made a good chunk of change

#

Though luckily for rythm they didn't

#

Being independent is better

delicate zephyr
#

true

quartz kindle
#

and how large would it be?

sharp geyser
#

@queen needle Dev Update on EOTE

Player inventory and beginning stages of UI exist. UI is not fully functional but soon I plan on making it so.

One design feature I am still deciding on is save slots. I am not sure I want to allow multiple saves that people can start games on. If so that means i'd have to rework player data and tbh I don't really know if it's worth it.

More news is that with the addition of EchoesPlayer class, getting data inside ECS systems is much easier and manipulating said data is also a breeze. Also with ItemContainer I can spawn chests around the world and easily implement looting, since it'd work for NPC corpses as well.

#

Current state of UI yes ik it sucks

queen needle
#

good

#

i like that ui for starting, it could have been worse

sharp geyser
#

Yeah

#

UI design is not my forte

#

might get someone else to draw a mockup for me

#

in like figma or something

#

If I have that it should be easy to implement myself

#

I am shocked by how much i've gotten done as a solo developer already

#

Between my overnight shifts at work and hanging out with my girlfriend

#

I've gotten a lot done in 4 days

#

I am still not super happy with the codebase, but for my first time genuinely coding a game it's not the worst either

queen needle
#

you can always go back and redo the codebase

sharp geyser
#

Yeah

#

It's already chonky as is

#

and I am still not even 5% of the way there

#

46 files

#

in my src folder

#

that's including in subfolders

loud canopy
#

dude you CANNOT make this shit up

#

i wasted 2 hours trying to understand why sometimes my battle system damage wouldnt get logged/updated for the enemies

#

and even more weird it would happen ONLY to ONE kind of enemy

#

so i added print statements all over my function to debug the actual stats as so

#

and i swear the HP update were correct in here but in the embed were wrong?

#

(it must be the embed being passed somehow wrong?)

#

no bc they use the same dictonary to get the data

#

behold THAT ENEMY HAD A MOVE TO HEAL SO I DIDNT NOTICE UNTIL I READ THE ACTUAL MOVE

#

FFS

#

so i would deal 3 damage and he would heal 5 -> output would say 3 damage but his hp bar would be full

#

fuck my kappachungus life

#

thanks for reading

quartz kindle
#

lmfao

crystal wigeon
#

I’m learning UE DC_pepelaugh debugging gonna be hell

pearl trail
delicate zephyr
#

ufw has never blocked docker for me

pearl trail
#

hmmm that’s interesting

prime cliff
#

Indeed that is the case

silver geyser
#

My clothes are getting taken from my avatar and so are my shoes to

#

I am not getting in the rooms cos of a this

deft wolf
#

Normal development question I guess

prime cliff
#

What the actual....

turbid veldt
#

Ay gang

#

i need to come up with 100k

#

anyone here got a 100k to loan? 😭 🙏 (jokes)

prime cliff
nova stone
#

How is the background theme made? Like CSS or something?

neon leaf
#

@zinc fable

unreal mist
#

I have a different font and part is coloured differently

sharp yew
#

does someone know how to migrate from .json to mongodb?

nova stone
unreal mist
unreal mist
#

You’re welcome

neon leaf
#

trait hell

pub trait BackupExt {
    async fn restore(
        &self,
        server: &crate::server::Server,
        progress: Arc<AtomicU64>,
        total: Arc<AtomicU64>,
        download_url: Option<String>,
    ) -> Result<(), anyhow::Error>;
    async fn delete(&self, config: &Arc<crate::config::Config>) -> Result<(), anyhow::Error>;
}

pub trait BackupCreateExt {
    async fn create(
        server: &crate::server::Server,
        uuid: uuid::Uuid,
        progress: Arc<AtomicU64>,
        total: Arc<AtomicU64>,
        ignore: ignore::gitignore::Gitignore,
        ignore_raw: String,
    ) -> Result<RawServerBackup, anyhow::Error>;
}

pub trait BackupFindExt {
    async fn exists(
        config: &Arc<crate::config::Config>,
        uuid: uuid::Uuid,
    ) -> Result<bool, anyhow::Error>;
    async fn find(
        config: &Arc<crate::config::Config>,
        uuid: uuid::Uuid,
    ) -> Result<Option<impl BackupExt>, anyhow::Error>;
}

pub trait BackupBrowseExt {
    async fn open(backup: &Backup) -> Result<impl BackupBrowseExt, anyhow::Error>;

    async fn read_dir(
        &self,
        path: impl AsRef<Path>,
        per_page: Option<usize>,
        page: usize,
        is_ignored: impl Fn(&Path, bool) -> bool + Send + Sync + 'static,
    ) -> Result<(usize, Vec<DirectoryEntry>), anyhow::Error>;

    async fn read_file(
        &self,
        path: impl AsRef<Path>,
    ) -> Result<impl AsyncRead + Unpin + Send, anyhow::Error>;
    async fn read_files_archive(
        &self,
        path: impl AsRef<Path>,
        file_paths: Vec<PathBuf>,
    ) -> Result<impl AsyncRead + Unpin + Send, anyhow::Error>;

    async fn read_directory_archive(
        &self,
        path: impl AsRef<Path>,
    ) -> Result<impl AsyncRead + Unpin + Send, anyhow::Error>;
}```
pearl trail
#

god, what am i looking right now

rustic nova
#

Yeah crate

#

That's rust

#

End me

prime cliff
#

fn impl trait pub WAAAAAAAAAAAAA

neon leaf
#

ok 1/6 files have been converted after 3h

#

result is a lot cleaner

nocturne flint
#

How to check my bot status in top.gg approved or not ?

sharp geyser
#

Check your email and also you’ll get notified in #mod-logs iirc

nocturne flint
sharp geyser
#

You could try doing -bots if Luca still works

#

-bots

#

Or actually idk the command

#

Used to be one to see what bots a person has

knotty night
nocturne flint
sharp geyser
nocturne flint
modern wind
#

hola

restive garnet
#

Hi

digital swan
#

@solemn latch

sharp geyser
#

uhm

#

What happened to my message

#

@queen needle Update 3. Re-worked my UI library that I am making for ReactLua that is based on https://mantine.dev. Right now I only have theme customization supported as well as a basic text button with 3 variants. Ghost (top), Default (middle), and Outline (bottom)

queen needle
#

Ooh I love that

sharp geyser
#

It uses Material UI's color scheme as the default

pearl trail
#

holy cow react x roblox

neon leaf
#

peak code right here

#

to save microseconds 🔥

sharp geyser
pearl trail
sharp geyser
#

React

pearl trail
#

oh wow

sharp geyser
#

The api is pretty much 1:1

icy light
#

Hi im a bot dev and i listed my bot on top.gg but for some reason i dont have the role

queen needle
#

Your not has to be accepted first

sharp geyser
#

bot*

pearl trail
#

not

sharp geyser
#

but yeah

#

IT's honestly insane

icy light
#

it is accepted, listed on the site for over a week

sharp geyser
#

Cause I can use JSX

#
import React from '@rbxts/react';
import { px } from '../composables/use-px';
import { Panel } from '../components/Panel';
import { TextButton } from '@rbxts/lumina';

export function MainMenu() {
    return (
        <Panel inset name='MainMenuGui'>
            <frame Size={UDim2.fromScale(1, 1)}>
                <textbox
                    AnchorPoint={new Vector2(0.5, 0)}
                    Position={UDim2.fromScale(0.5, 0.28)}
                    FontFace={Font.fromEnum(Enum.Font.Gotham)}
                    Text={'Echoes Of Eternal'}
                    TextSize={px(32)}
                />
                <frame
                    AnchorPoint={new Vector2(0.5, 0)}
                    Position={UDim2.fromScale(0.5, 0.4)}
                    Size={UDim2.fromScale(0.25, 0.48)}
                    // BorderColor3={Color3.fromRGB(255, 255, 255)}
                    BorderSizePixel={0}
                    BackgroundTransparency={1}
                >
                    <uilistlayout
                        Padding={new UDim(0, px(15))}
                        VerticalAlignment={'Center'}
                        FillDirection={'Vertical'}
                        HorizontalAlignment={'Center'}
                    />
                    <TextButton variant='ghost' text='Continue' />
                    <TextButton text='New Game' />
                    <TextButton variant='outline' text='Settings' />
                </frame>
            </frame>
        </Panel>
    );
}
queen needle
pearl trail
#

@harsh nova hello mr, someone needs their role

sharp geyser
#

only possible with roblox-ts

pearl trail
sharp geyser
#

Lol it's just basically react

#

<frame> is like a div

#

in a way

pearl trail
#

yeah im pointing to like insets, anchors positions

sharp geyser
#

Ah yeah

#

inset is because the top part of roblox's ui is dominant to their own topbar

#

inset allows you to ignore it and have your UI take up the entire screen

#

If you've ever used Unity UI then AnchorPoint's make sense

unreal mist
rugged veldt
hot gull
#

Hey guys

#

Quick question how you make your replit bot online 24/7

prime cliff
#

You dont unless you pay

wheat mesa
#

Oracle has a free tier VPS that should work for small bots that don’t need super high performance

sharp geyser
#

@pearl trail @queen needle tiny update. Added 4 new components

Container - Simply centers content on the screen horizontally/vertically
ImageButton - Similar to a TextButton (nothing too special about it)
TextLabel - Can be used as a normal label, or if you child it to an ImageButton it acts as a label for it.
ThemeSwitcher - Allows you to switch your theme locally.

queen needle
#

I love it

#

make it run doom flames now

sharp geyser
#

No thanks

queen needle
hot gull
#

It needs credit card tho

#

Anyone has an suggestion uptimerobot aint working 😭

sharp geyser
#

You will never find a truly free option that doesn't require you to use a credit card to make sure you are both

  1. A real person
  2. In case you go over free limits
hot gull
#

Lol

#

I am 14

#

How supposed I?

sharp geyser
#

Ask your parents then

#

or if you have an old laptop or something use it

hot gull
#

I might try

#

My bot is kinda cool

sharp geyser
#

Checkout github education pack as well

#

I got it when I was 13

hot gull
#

Lol

sharp geyser
#

So long as you can prove you are a student at a school they will typically accept you

hot gull
#

Bruh

#

We got no school id

sharp geyser
#

and it has offers for free credits at places like digital ocean and shit

hot gull
#

I egypt

sharp geyser
#

Seems like you are out of luck then

hot gull
#

For real

#

You wanna check my bot?

sharp geyser
#

Nah

hot gull
#

Lol can anyone host it for me then?

queen needle
# hot gull Lol can anyone host it for me then?

While likely no one will respond, connections is also a good thing, while you should always host your own things so you have control over them, I personally have some friends that'll host certain apis or websites for me, because they have the space and we are good friends

hot gull
#

Actually bro I think that flexing tho but I respect it

unreal mist
#

Having connections can be a life saver for sure, before I changed hosts, a friend and I would often change who’s hosting depending on who could afford to pay it

sharp geyser
#

I had this mate years ago who gave me space on his dedi

#

Used it for like 2 years

hot gull
#

Bruh lmao

#

Then I am nobody friend

unreal mist
#

Having friends is different than having connections

hot gull
#

That sounds like roblox hq

#

(Jk)

#

Wait a minute.... 22yr?

unreal mist
#

You can be friends with pretty much anyone that wants to be your friend, if you want to be theirs, while not every friend you have will be a programmer/have space to host/can afford to host extra stuff

unreal mist
hot gull
unreal mist
#

Age isn’t a factor?

hot gull
#

They dont think tho

#

Like I am 14 and building my cv

#

I am taking courses etc...

queen needle
unreal mist
#

I’m confused? Age isn’t always a factor when it comes to having connections, you don’t need to be a certain age to have them so “I don’t lie about age” wouldn’t make much of a different here, also why did my age get brought into this?

queen needle
#

I started programming around 11-12 and that is when I met these friends, age doesn't matter like noah is saying, same with connections

unreal mist
unreal mist
queen needle
#

i host my websites on vercel, and then for anything non website I usually get a friend to host it(db or api) but like in exchange, I'll help them or do some stuff for them

queen needle
#

But yeah it's irrelevant it's odd it did lol

unreal mist
#

-# heyyyy I’m not that old, don’t worry no hate coming from me. Definitely odd though 😅

queen needle
#

I mean I turn 19 this year so I can't speak much

wheat mesa
#

Honestly, buy a raspberry pi. Ask for it for your birthday, or some event if you’re in the financial situation to afford one. Host your own pet projects, it’s good experience and also you’re not limited by free hosting services

queen needle
#

best advice^

#

They aren't too expensive, unless you bought one during Covid like I did

wheat mesa
#

I think you can nab one for 50 or 60 bucks now

queen needle
#

I believe so

#

My pi 4 with nothing special was $150

wheat mesa
#

I got a pi 4 as a birthday gift when I was probably 12 or 13, 4gb ram and plenty of cpu to run basic apps

unreal mist
#

I’m 23 later this month, as for hosts though, I host my website and 2 of my own bots, and the one for a friend on the same host, it would have been around £9/$12 but that’s with a dedicated ip addon I have, the initial price without that addon is about £3/$4

#

I’m eventually planning to get myself a pi at some point

wheat mesa
#

GitHub education also offers free digitalocean credits ($200 for one year)

#

But yeah if it’s difficult to prove your educational status then it’s hard to get them to manually approve you

queen needle
wheat mesa
#

Though if you have ANY form of ID, even something like a report card with a date on it, they’re pretty good about manually approving you

queen needle
wheat mesa
#

Free to set up as well, if that’s what you’re using it for

#

Highly recommend

unreal mist
#

It was for my main bot but my domain is linked up to the same project

sharp geyser
unreal mist
#

I don’t actually use cloudflare at all for that either, so how would that have worked?

wheat mesa
#

Oh sorry I didn’t mean cloudflare, some domain providers have that service

#

I believe I was using namecheap for that one

unreal mist
#

Fair enough (:

wheat mesa
#

I think most providers support it

queen needle
#

My namecheap account is suspended

#

I have to fix that somwtime

unreal mist
#

I’ve never used that site heheeee

sharp geyser
#

like 30$ more and you get a rasp pi 5

#

prices so expensive out in this mf

wheat mesa
#

Eh I think $100 is overkill for pet projects

sharp geyser
#

Still way cheaper than buying a vps tho

unreal mist
wheat mesa
#

$50-60 is the perfect price point for entry level self hosting

sharp geyser
#

Definitely wouldnt recommend right off the bat

#

But it'd be a next step

hot gull
#

My bot name is Vireon BTW

#

It's an advanced security bot

#

Bye.

hot gull
#

1 dollar = 50egp I think

#

Chicken =250egl

#

Egp*

#

The 2.5L Pepsi bottle less than a dollar

prime cliff
#

Old vs New sidebar i'm cooking 🔥

queen needle
#

Love to see it

unreal mist
#

Looks awesome!

pearl trail
queen needle
#

I mean he can correct me but I think the theme switcher is to show off the UI lib and it's features

lament rock
#

I have an o pi 5 8 core 16GB of RAM

#

Had to buy the brick and a case separately, but it's doing wonders for my projects

#

not strong enough to run an MC server sadly but whatever

#

It only walks

modern wind
#

quien tiene algun codigo de comandos de cacino?

humble gyro
# prime cliff

looks clean, would be nice to see which primary tab you're on tho!

pearl trail
sharp geyser
sharp geyser
#

Giving developers the power to give their users the choice of both is good

queen needle
#

Drag and drop ui for a game

#

They can have ANY ui

sharp geyser
#

Ahaha

#

I’m planning on working on using Roblox’s new DragDetectors

#

Sky’s the limit with that

#

Sliders, draggable grids

#

Anything really

sharp geyser
#

😭

queen needle
#

LMAO

queen needle
hot gull
#

Thats my simple health check web interface. Not customizing because, Its not the main idea. The main Idea is An Security bot.

hot gull
#

Guys quick question

#

What is the most thing you might need in security bot.

digital swan
#

an economy system with gambling

hot gull
#

Bruh

#

I am building bot not humanity

prime cliff
#

Nothing screams more secure than gambling your life away HaHa

knotty night
pearl trail
#

99% gamblers quit before they win big /j

dusk pebble
#

or die trying

hot gull
#

I will build mrbeast scam bot then (jk)

unreal mist
hot gull
#

Yes yes lol

#

No fr it's a good security

#

I also got slash commands

unreal mist
#

Depending on which features you add, make sure commands that need certain privileges on a server locked behind the correct privileges

hot gull
#

I did that was problem for real

#

I am small programmer but trying

unreal mist
#

It’s one of the easiest mistakes when you’re still learning don’t worry

hot gull
#

Alright.

unreal mist
#

When you get used to them, it’ll become second nature

hot gull
#

The biggest problem was database connection

#

Like I need database for scammers and then I get misconnection with some other functions.

#

Hopefully it works.

unreal mist
#

Yeah if you’re not familiar databases they can be tricky, it’s why most people recommend starting by saving data to JSON files initially as they’re pretty simple

#

Which database type are you using?

hot gull
#

It wasn't json database for the boy

#

Bot*

#

SQL I think is the correct name

#

It's replit one not to lie

#

Found free host!!

#

Ads for hosting!!

unreal mist
#

Ahh, I don’t use sql so wouldn’t really be able to help there

hot gull
#

Of course.

#

I just got no budget

unreal mist
#

I don’t pay for a database, just the host to keep mine online

hot gull
#

10 coins per day with ads and I got to pay ten per week

unreal mist
#

If the host works for you then good on you

hot gull
#

I am think like it's good

#

Like after 8 hours ten free coins

#

Interesting like I might get the monthly soon

#

@unreal mist thanks for your help and chatting with me

unreal mist
#

You’re welcome

hot gull
long marsh
#

I've asked this before, but if I create a system that verifies if a user is present in a specific server/guild, do I need to be worried about rate limits?

hot gull
#

No.

#

I use system verification like this and it works good

long marsh
hot gull
#

I use replit to be honest

long marsh
hot gull
#

Let me check

long marsh
hot gull
#

No problem.

#

It says 3-5 I got anti raid that's why

#

You also better get anti raid

#

It detects mass joining users

#

Just to mention I might not understand question as I am not too much experted but working good

long marsh
#

Maybe I didn't phrase my context correctly.

I'm building a system where users can "claim" tickets, but they will get bonus tickets if they're joined to the community server for the bot. So each time they go to claim their daily tickets, I will double it if they're in the community server.

hot gull
#

Oh...

long marsh
#

So I need to use some sort of Discord API to determine their presence in a server at "claim" time. I'm basically wondering if I should cache the members in my server or if I'm okay just one-off hitting the endpoint per each user that clicks the button.

hot gull
#

I don't know about that sorry.

hot gull
#

Also ask expert

long marsh
#

Cache would work, but requires more work.

pearl trail
long marsh
hot gull
#

@long marsh when hands hurt that means code is good

#

Go on it buddy I wish you luck

long marsh
hot gull
#

It's not true like it's joke

long marsh
#

haha gotcha

hot gull
#

I spam aushshsjs and it hurts

#

@long marsh but if you are trying hard it is

#

But not in all cases

long marsh
#

How long have you been developing, Glitch? I'm not asking this to be derogatory, I'm just personally curious.

pearl trail
hot gull
#

It's ok.

#

1 year almost

#

I am 14 and starting to build cv.

#

That's why I may not be too much experienced

long marsh
long marsh
#

I started developing when I was 12, so I feel you on that.

hot gull
#

I do not except in generating description

#

Thanks for asking.

long marsh
#

It's fine to use AI, but imo, only when you understand the concepts / flow of programs.

hot gull
#

Yes of course

pearl trail
hot gull
#

Like program GTA 6 for me in json only 💀

neon leaf
#

I just maintain my own cache for this kind of stuff

hot gull
#

I am also windows and Linux user

#

Linux is actually fun

neon leaf
#

aka just a basic hashed user id -> array of hashed server ids store

hot gull
#

But Kali isn't

long marsh
#

If I think about maintaining a cache, I'd need to first have a bot user listen for server joins / departures, then update a cache. Unless there's a better way

neon leaf
#

yeah, thats the main issue for an accurate cache

long marsh
#

Exactly

neon leaf
#

in most cases you can just fetch and store for future use

#

but ofc will be less accurate

pearl trail
hot gull
#

I am asking ai to make GTA 8 in JavaScript with no mistakes @long marsh

long marsh
#

My current bot isn't even a gateway bot. I'd need to create yet another purposed bot for this one-off case of a cache. If I need to do it at scale, fine. But if I can get away with simply one-off hitting the Discord API ... I could probably get away with that for a while ... at least until the application hits a few thousand servers.

hot gull
#

I agree

long marsh
#

But I was gut checking with you all to see if there's some crazy small limit that I should be worried about.

neon leaf
#

ah, a webhook bot

pearl trail
#

i'm interested is there even endpoint for that PepeGlasses

hot gull
#

If you may get possible raid, ddos etc... you need limit @long marsh .

long marsh
hot gull
#

Course.*

pearl trail
hot gull
#

Like first thing I built in my bot was anti raid

#

Wdym?

#

I meant of course

long marsh
#

Player clicks "claim" in whatever server they're in, it verifies that they're at least JOINED in my community server.

hot gull
#

@long marsh I am adding an legal command to my security bot !nuke

#

It's connected to Iran's nucelar

#

: 💀

long marsh
#

I'll have things in place before it attempts to hit the discord API:

  • Check if the user has already claimed, don't hit Discord API
  • Check if the user is using the bot in the community server, don't hit Discord API
  • Finally, hit the Discord API to see if they're a member in the community server and award appropriately

This is an action that can only happen every 24 hours.

pearl trail
hot gull
#

!nuke <country> <Rockets number>

pearl trail
#

depend

hot gull
#

Oh. Alright.

#

Is my English good?

unreal mist
#

We can understand you so it’s alright (:

long marsh
# pearl trail ohhh, so it's just checking if the user is in 1 server? the rate limit is like 1...

I saw the global rate limit. Definitely not worried about that one. 50 requests/second is plenty even AT scale lol. My game has tops 10 - 15 concurrent players at any time. And for my use case, I'll only need to hit the API once per day for them.

Where's the reference for 1 req/s per guild. That one is a little more worrisome.

I was thinking about using this:
https://discord.com/developers/docs/resources/guild#get-guild-member

#

If the member isn't in the guild, 404 I assume.

hot gull
#

Just added automod and logs in my bot

#

Not gtg the clear and lockdown command needs matience.

pearl trail
long marsh
#

I'll need to basically do a quick "is this player there" check ... then continue. They won't be able to get to that path again for the next 24 hours.

pearl trail
#

oh wait my bad i thought you referred to /guilds/{guild.id}/members xD sorry. yeah that's totally fine. if you want to make sure, try see the X-RateLimit-* on each request made

long marsh
#

And cache it for some time like 1hr

hot gull
#

Everything fixed...

#

@long marsh I am adding in my bot that when mass people joining it detects ip and if its same it bans them also detect devices is that counts illega to dis and top.gg?

long marsh
#

Good luck finding out that answer though 😄

hot gull
#

I am nervous thi

#

Tho*

#

Thanks

#

Removed Ip detection not going to take risk.

#

self.cleanup_tracking.cancel()

#

Lol leaked one code

neon leaf
#

🪦 RX 7600XT
2025-2025

#

survived for 90h 🙏

hot gull
#

Callback commands broke my bot lol. It's now sending two same reply 😂

hot gull
#

My bot is broken welo

#

Welp

neon leaf
pearl trail
#

this view looks awesome for nerds like me lmao

long marsh
#

That reminds me: I need to upgrade my NAS server.

pearl trail
pearl trail
long marsh
#

Ive had it over a decade now

#

It's also slowing down lately

pearl trail
#

oh damn, didn’t knew there’s nas with up to 1tb

long marsh
#

?

long marsh
#

You just keep adding in hard drives?

#

Maybe I'm misinterpreting what you're saying.

hot gull
#

@long marsh I repaired the bot lol

#

It was due to I ran it from wrong replit account like old version

#

Old version was buggy that's why

long marsh
#

Great job :)!

hot gull
#

🙏

#

Thanks

hot gull
unreal mist
hot gull
#

It's not manageable

#

Their function broke the messages so it made a request to duplicate respond per 1 respond.

#

And the duplicate blocker made it triple for one respond.

#

Hopefully it's fixed.

pearl trail
hot gull
#

Guys guess what

#

sftp://nova.nodes.sillydev.co.uk:2022

#

Finally

#

@long marsh I got server host should I upload my bot as zip file?

#

Or I can't use zip

#

If anyone know can you answer me

deft wolf
#

Whatever your hosting accepts

#

I know some of the "discord hosting" providers require you to upload your bot's files as a zip file

hot gull
#

I use that

deft wolf
#

Nothing on their website indicates how you should upload the files. It would be best to ask their support

hot gull
#

Ok

unreal mist
#

Does it have an upload file icon anywhere in their panel?

hot gull
#

Yep

#

But it doesn't work I think.

#

And for some reason idk how my bot is online.

unreal mist
#

Are you trying to upload individual files at a time or the full zip?

prime glacier
#

So having a command or dropdown menu selection of swittching a channel into nsfw channel can’t be approved?

#

@shell tundra do i need to remove the whole function or i can set it to age restricted channel or adult channel?

shell tundra
prime glacier
shell tundra
#

yes

prime glacier
loud canopy
#

tell me im not the only one

#

this me when i name folders unironically

hot gull
#

Lol

wheat mesa
hot gull
#

Same

loud canopy
#

i asked chatpgt to make gta6

#

then said this

#

"thinking longer for a better answer"

#

bro was 100% telling me to kms

#

HAHAHA

sharp geyser
#

? That’s just what it does

pearl trail
hot gull
#

Lok

sharp geyser
#

Added a new Avatar component to my roblox reactlua ui lib

#

Supports 3 different types (Headshot, Bust, Full) and 3 variants, Circle, Square and Rounded

neon leaf
#

has anyone used yugabytedb before?

clever tundra
#

So the minimum to apply for intents is 75 right?
I'm going to fill out the form (bot in 79) and it says that I don't qualify

pearl trail
#

xD i hate that on slower macs with discord minimized, there are chances that discord won't respond to ping even within 5 seconds for rpc

deft wolf
hot gull
#

Guys

#

guess what

stark kestrel
hot gull
#

lol

#

Imagine

pearl trail
#

can't imagine someone reported that message and you got banned for few months for saying that

hot gull
#

what message?

pearl trail
#

that message you just deleted

stark kestrel
#

omg! funniii

hot gull
#

its bad joke fr

#

also 1yr cant type

#

bruh

pearl trail
#

well appearantly discord take age seriously

hot gull
#

discord moderation is dumb

#

they ban for age

#

but dont ban girls showing their body

stark kestrel
#

how is that related to dev

hot gull
#

I devloped girls

neon leaf
hot gull
#

lmao

stark kestrel
#

sometimes i wish people would get banned for being cringe

hot gull
#

Sometimes no one askes bro.

#

also I didnt mention you in conversation you have option to not reply.

stark kestrel
#

you're talking in a channel on a public server, think twice

hot gull
#

Yes, I know.

#

but you also can not reply it isnt hard.

neon leaf
#

same applies to you

stark kestrel
#

whatever, no point in arguing lmfao

hot gull
hot gull
deft wolf
#

Freedom of speech 🦅

deft wolf
#

Also updated my WinRAR

sharp geyser
neon leaf
#

yugabyte very cool

#

stamp of approval

#

easy to setup and works as expected

#

(ignore node 2 down - my internet cannot survive 3 nodes)

queen needle
#

What's yugabyte

neon leaf
#

multi-master postgres

queen needle
#

I love the UI

#

Do you have link

neon leaf
queen needle
#

Thank you

neon leaf
#

would definitely not recommend their hosted solution

#

(125€/vcore/month)

#

but selfhosted very nice

#

they dont lock anything behind a paywall

queen needle
#

How easy was it to get self hosted?

neon leaf
#

like 5min work with docker

#

compose on "master":

services:
  db:
    image: yugabytedb/yugabyte:latest
    restart: unless-stopped
    container_name: 'hde01'
    hostname: 'yugabyte-1'
    ports:
      - 15433:15433
      - 15435:15435
      - 5432:5432
      - 5433:5433
      - 7100:7100
      - 9042:9042
      - 9100:9100
      - 18018:18018
      - 9070:9070
      - 7000:7000
      - 9000:9000
      - 12000:12000
    volumes:
      - /root/data:/data
    command: bin/yugabyted start --base_dir=/data --background=false
#

compose on node 3:

services:
  db:
    image: yugabytedb/yugabyte:latest
    restart: unless-stopped
    container_name: 'hde03'
    hostname: 'yugabyte-3'
    ports:
      - 15433:15433
      - 15435:15435
      - 5432:5432
      - 5433:5433
      - 7100:7100
      - 9042:9042
      - 9100:9100
      - 18018:18018
      - 9070:9070
      - 7000:7000
      - 9000:9000
      - 12000:12000
    volumes:
      - /root/data:/data
    command: bin/yugabyted start --base_dir=/data --background=false --join=yugabyte-1
#

thats it

#

no need to use cli

#

it just works

queen needle
#

Damn

#

Idk docker but my friends do

#

Time to make them teach me

#

Or just have them host it

neon leaf
#

mmm, but there isnt much point in this unless u do scale apps over multiple servers

#

normal postgres will be faster for single-server/very small clusters

stark kestrel
#

what the hell are all those ports

neon leaf
#

i just took all i could find in the docs

#

some of them arent even used

#

this was just a test setup

queen needle
#

hmm I'll have to talk to one of my friends he uses postgres a lot, and he'll just give me a postgres url for projects, so he might want it

sharp geyser
#

Docker ez

#

:))

queen needle
#

I still need help when setting up a domain 🥀

sharp geyser
#

👀 really?

neon leaf
#

one thing thats annoying tho is that not all pg 15 features are fully supported yet

#

they were still on pg 11 in 2024

hot gull
#

Hello, I need beta tester please.

#

┌─────────────────────┐
│ User Input │
└─────────┬───────────┘

┌─────────▼───────────┐
│ Permission Check │ ◄── Role-based access control
└─────────┬───────────┘

┌─────────▼───────────┐
│ Threat Intelligence │ ◄── Known scammer database
└─────────┬───────────┘

┌─────────▼───────────┐
│ Behavioral Analysis │ ◄── Pattern detection
└─────────┬───────────┘

┌─────────▼───────────┐
│ Action Execution │ ◄── Secure command processing
└─────────┬───────────┘

┌─────────▼───────────┐
│ Audit Logging │ ◄── Complete activity trail
└─────────────────────┘

#

Small explain of my bot

#

Removing scammer option

wheat mesa
#

There’s a few caveats and things to learn with how caching works and such but it’s super simple to get things up and running

modern wind
#

ALGUIEN ME PASA UN CODE DE UN BOT DE MUSIC?

quartz kindle
prime cliff
hot gull
#

Hello everyone, Thanks for all suggestion.

#

Bot has been hosted successfuly for free.

sharp yew
#

I need to host my bot, I tried with FPS but I got errors on some of my commands

hot gull
#

@sharp yew

#

I can help

sharp yew
hot gull
#

ok

#

dm pleas

pearl trail
#

or like master node with read nodes

pearl trail
hot gull
#

Actually, Its weird.

#

Like I earn credits for being afk on ads.

#

And my renewal is too low; I can get that in under one hours.

neon leaf
#

so everyone can write, it's synced and locked over the web

neon leaf
neon leaf
pearl trail
neon leaf
#

yep, all on different servers

pearl trail
#

ah that makes sense. gonna take a look into it cause it's interesting xD

neon leaf
#

yeah, just make sure you have a good amount of bandwidth between the servers

#

multiple masters need a lot of bandwidth

hot gull
#

I an suprised or people who submit their bot without checking every function.

pearl trail
hot gull
#

Got a database.

hot gull
#

GDFGIFDGJFDJGFDOIGJIFDOG

unreal mist
hot gull
#

lol

#

its not word

unreal mist