#development

1 messages ยท Page 465 of 1

spring ember
#

Oh

burnt raven
#

Yes

spring ember
#

Then git ignore it

burnt raven
#

I did

earnest phoenix
#

well it wont be in there on next commit if you did it correctly

#

but it wont removeit from your git history

burnt raven
spring ember
#

@earnest phoenix it will be there just won't in the repo

earnest phoenix
#

remove *, not sure if that makes a diff

spring ember
#

It will be stored locally

burnt raven
#

It is.

earnest phoenix
#

wait, the data folder isnt in git lmao

spring ember
#

it does

earnest phoenix
#

so it worked ๐Ÿ˜‚

burnt raven
#

ik

#

but it doesn't work

earnest phoenix
#

waitwhat whats the issue

#

thats what its suppsoed to do

spring ember
#

It has nothing to do with the gitignore

#

It is a code issue

burnt raven
#

okay

#

i will try to check the error

spring ember
#

How do you run the code

burnt raven
earnest phoenix
#

more importantly: whats the error

burnt raven
#

it works if i run

#

it on cmd

spring ember
#

You should

#

run it from cmd

burnt raven
#

i did

spring ember
#

Just keep it running

burnt raven
#

but its gone from the server list

#

nvm

#

i just invited it back

spring ember
#

Ok

burnt raven
#

its probs .gitignore

spring ember
#

No I am pretty sure it was because you stopped the cmd at some point

#

gitignore doesn't affect local files

earnest phoenix
#
   var botuptime = bot.uptime;
               x = botuptime / 1000
               seconds = Math.round(x % 60)
               x /= 60
               minutes =  Math.round(x % 60)
               x /= 60
               hours =  Math.round(x % 24)
               x /= 24
               days = Math.round(x % 24)
               var uptime = days + ' day(s) ' +  hours + ' hour(s) ' + minutes + ' Mins  ' + seconds + ' Secs'

(discord.js)
Can someone help me with bot's uptime? I started the bot yesterday and today it shows 2 days 13 hours and so on, it literarly adds a day even if it's not passed, it's supposed to say "1 day"

spring ember
#

Umm it's not % 24

#

It's/ 24

latent heron
#

I can't wait for when Discord implement profile API

#

๐Ÿ˜Œ

#

finally can get my profile badges without having to break ToS ๐Ÿ‘€

spring ember
#

@earnest phoenix change the % 24 for days to / 24

earnest phoenix
#

Oh "/24" k

spring ember
#

Yeah

earnest phoenix
#

wel.. i hate how JImp doesn't allow random numbers, which sucks cuz im trying to make a gif command and it's more cool if it can randomize numbers

worn hull
#

so

#

i made a command (!settings) it only shows 2 options not 9 (in the code there is 9)

hot sleet
#

Give me a screenshot

#

Of the code

worn hull
#

that clones when it joins a guild

#

so you can edit it

#

But it shows prefix,systemnotice

#

only

spring ember
#

Umm ok

#

Where is the actual code

worn hull
#

glitch

spring ember
#

Send a hastebin paste

worn hull
#

um

spring ember
#

Make sure to not include a token

worn hull
spring ember
#

Ok where do you actually use this code

worn hull
#

in the bot

#

Thats for permlevel (where the error is)

#

the other command works fine

#

just

#

!settings

#

shows 2 options

spring ember
#

Send code for settings

worn hull
spring ember
#

Where does it show the options

worn hull
#

it sends it

#

from config,js (file above this)

spring ember
#

I am confused as hell

worn hull
#

so my bot runs from permlevel

#

and it wont send the options to edit permlevl

#

level*

quartz kindle
#

the last option in a json literal should not have a comma at the end

floral zinc
#

Ye its a suprise it even shows 2

earnest phoenix
#

anyone know how to use sharppresence MhmYeah

viscid falcon
#

Lol, I can't even use rich presence

earnest phoenix
#

im just trying to learn it in C# thats all ty tho

earnest phoenix
#

How would I make a youtube music play command using a command handler?

#

Any idea?

#

u mean like one where you "say the number you wanna play"?

#

Yes

#

Where would I define the server object? In all the commands that are music related?

earnest phoenix
#

??

knotty steeple
#

For anyone who is using pm2 and sqlite, and has watching enabled. Sometimes a file called <urdb>.sqlite-journal may cause your bot to restart and not make any changes to the database. How to avoid this:
Create a folder to put your sqlite database
Restart your bot pm2 restart <yourbot> --watch --ignore-watch <thefolder>

<thefolder> in this case is where you put your sqlite database
<yourbot> is the name of the bot's process when you started it as pm2 start mainfile.js --name "<yourbot>"
^ This could also be the main file if you did not name the process

earnest phoenix
#
    let mem = message.author.username
    mem.addRole("480364684743278622")
  });```
Message is not defined
knotty steeple
#

message is only defined in the message event

#

all you need is member.addRole("<RoleID>")

earnest phoenix
#

ty @knotty steeple

#

do you know how I make it only work for my guild ID

knotty steeple
earnest phoenix
#
    if (member.guild.id !== '480359296715063296') return
    member.addRole("480364684743278622")
  });```
#

?

#

yes that should do it

knotty steeple
#

but add ; in the end of the return in case

earnest phoenix
#

ah true

#

ty

acoustic olive
#

const dbl = new DBL(yourDBLTokenHere, { webhookPort: 5000, webhookAuth: 'password' })

#

by password does it mean the webhook token?

knotty steeple
#

yes

acoustic olive
#

ow yea

#

also i think it should be replaced by webhook token insted

#

since password confuses people

quartz kindle
#

why do people use ifs without brackets

spring ember
#

For one liners?

#

Because people like being lazy like me GWdogawooShy

quartz kindle
#

i dont like it lul

#

makes code look inconsistent af

#

and shit like this happens if you dont pay attention

#
//b will always alert, but suggests it's part of if
if (a===true) alert(a);alert(b); 
else alert(c); //Error, else isn't attached```
spring ember
#

Mhm

#

I always enter tab

quartz kindle
#

same issue can happen

#

my one liners are just the same but with the brackets xD

spring ember
#

And I don't use ;

quartz kindle
#

if(true) { return; }

spring ember
#

Like java

quartz kindle
#

i dont use ; after } but i do on everything else

spring ember
#
if(true)
    lol()```
quartz kindle
#

if you dont use ; in PHP you get fatal error

#

xD

spring ember
#

Lmao

quartz kindle
#
//php
if(true) { return }
//error: unexpected "}"```
limber schooner
#

How are the bots in here able to set their own rich presence? I got a rich presence library to work, but it's setting my rich presence instead of my bots. Any help would be greatly appreciated

quartz kindle
#

why is it setting your own

limber schooner
#

I used my apps clientid instead of the one in the example

#

Is there something else I need to set it to instead?

earnest phoenix
#
TypeError: permissions.filter is not a function
    at Permissions.missing (C:\Users\LoseJoe\node_modules\discord.js\src\util\Permissions.js:74:24)
    at Object.send (C:\Users\LoseJoe\Desktop\Flexiboat\src\util\sendEmbed.js:7:35)
    at send (C:\Users\LoseJoe\Desktop\Flexiboat\src\commands\help.js:110:40)
    at Object.execute (C:\Users\LoseJoe\Desktop\Flexiboat\src\commands\help.js:33:13)
    at module.exports (C:\Users\LoseJoe\Desktop\Flexiboat\src\events\message.js:69:15)
    at Client.emit (events.js:182:13)
    at MessageCreateHandler.handle (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
    at WebSocketPacketManager.handle (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65)
    at WebSocketConnection.onPacket (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
    at WebSocketConnection.onMessage (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)

``` Discord.js is having errors?
limber schooner
#

The only thing I can think of is my bot is running on the same computer that I have discord running on

topaz fjord
#

Show code @earnest phoenix

earnest phoenix
#

kk

topaz fjord
#

And what d.js version

earnest phoenix
#
    send(message, embed) {

        if(message.guild.me.permissions.missing(16384)) {
    
            deconstruct = embed

            console.log(deconstruct)
            

        } else {

            message.channel.send({embed})

        }

    }```
#

and V11 I think

topaz fjord
#

stable or master

quartz kindle
#

@limber schooner that module is for discord RPC

#

not for bots

earnest phoenix
#

idk bloblul

#

probs master

topaz fjord
#

can u check

earnest phoenix
#

how?

topaz fjord
#

in ur package.json

earnest phoenix
#

ah okie

#

11.3.2

#

latest

quartz kindle
#

thats stable

earnest phoenix
#

if (!args[0] !== 'wrg32342fgds')
Would this see if args is wrg32342fgds?

limber schooner
#

@quartz kindle how do bots do it then? I've googled countless times, but I'm apparently missing something

topaz fjord
#

ok

quartz kindle
#

you dont need a module for it @limber schooner

limber schooner
#

I'm using discord.js btw

quartz kindle
#

use the presence functions in whatever discord lib you're using

earnest phoenix
#

kk I updated to 11.4.2

limber schooner
#

Oh that simple? Thanks @Tim!!!

topaz fjord
earnest phoenix
#

its fixed in latest fam

topaz fjord
#

ok

earnest phoenix
#

thanks ;3

topaz fjord
#

but still they have . missingPermission() as a shortcut to .permissions.missing()

earnest phoenix
#

How would I make a youtube music play command using a command handler?
Any idea?

#

ah fam its pretty easy

#

Doesnt seem it

#

you can just use a function in your play command

#

How would you call to a function thats in a different file?

#

require it then call it

#

or you can have a variable going between them

#

like lets say

#

you can use client

#

and then message.client in another file

#

I have a servers object in the main file. How would I get that?

#

set it to <client>.servers then you can get it in a module using message.client.servers

#

thats how my db works

#
guild = await message.client.tables.guilds.fetch(message.guild.id)
      config = guild.config```
#

Something like this?

var indexFile = require("C:/Users/Andrew Cook/Desktop/GamerHandler/Kurosaki/index.js")
  if(!indexFile.servers[message.guild.id]) indexFile.servers[message.guild.id] = {
  queue: [], songlist: [], userSong: [], loop: [], volume: 50, playing: []
  };
  var server = indexFile.servers[message.guild.id];
#

Uhh sorry I g2g I can't really help but i don't think that'll work

#

Hmm okay

#

Anyone else able to help me please?

red mauve
#

TypeError: permissions.filter is not a function
at Permissions.missing (C:\Users\LoseJoe\node_modules\discord.js\src\util\Permissions.js:74:24)
at Object.send (C:\Users\LoseJoe\Desktop\Flexiboat\src\util\sendEmbed.js:7:35)
at send (C:\Users\LoseJoe\Desktop\Flexiboat\src\commands\help.js:110:40)
at Object.execute (C:\Users\LoseJoe\Desktop\Flexiboat\src\commands\help.js:33:13)
at module.exports (C:\Users\LoseJoe\Desktop\Flexiboat\src\events\message.js:69:15)
at Client.emit (events.js:182:13)
at MessageCreateHandler.handle (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
at WebSocketPacketManager.handle (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65)
at WebSocketConnection.onPacket (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (C:\Users\LoseJoe\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)

ruby dust
#

post more context than just error in the console

topaz fjord
#

@ruby dust that's not even his error

#

Look at the path

#

It says LoseJoe

ruby dust
#

well nice

earnest phoenix
#

Anyone please?

misty lagoon
#

what

quartz kindle
#

cant help you with your command handler if we dont know how you have it set up

misty lagoon
#

say the question again pls

earnest phoenix
#

How would I make a youtube music play command using a command handler?

misty lagoon
#

yeah

#

there are tutorials

#

oof

quartz kindle
#

how do your other commands work with the handler?

earnest phoenix
#

They require a file and run that file

misty lagoon
#

oh.

quartz kindle
#

so.... do the same thing

earnest phoenix
#

Problem is, I dont know how I would get the server object from the main file

#

or call a function from the play.js file to the main file

misty lagoon
#

oh.

#

well

quartz kindle
#

the command handler should be passing everything you need to the file

gilded blaze
#

You should have access to the Message object

ruby dust
#

iirc you can import a variable from one file into another if you make it global, but this is me with python as the only experience

gilded blaze
#

Would just make a module which stores the data

earnest phoenix
#

How would you make a global variable?

gilded blaze
#

Global variables are frowned upon. You could by doing global.yes = yes

#

If I remember correctly

topaz fjord
#

globals aren't recommend

ruby dust
#

why

earnest phoenix
#

What so something like:

let serverObject = {};
var servers = client.serverObject?

or something like that?

quartz kindle
#

i have a bunch of globals lul

ruby dust
#

why do people hate global variables so badly..

#

I mean that's the only way in python in order to access that variable from another file

topaz fjord
#

I do bot.<whateverthefuckiwant> = something;

#

Since bot was accessible in all commands

#

But now I switched my whole bot into oop js

ruby dust
#

I can't seem to find anywhere on the internet on how would I be assigning a dictionary as a key value inside a dictionary in python

slender thistle
#
>>> s = {'hello': {'there': 'hi'}}
>>> print(s['hello']['there'])
hi
fast marten
#

Global variables are mainly hated due to the fact it's inefficient, out of any exam I have done in python you get marks removed for using global variables unless it's absolutely necessary

ruby dust
#

it's easy to hardcode it like that, but try to do it only with variables @slender thistle

#

and why you should do everything by exam?

#

I've been using globals like there's no tommorow and I see no harm has been made so far, so why I should care about "vulnurabilities" like that?

pine canopy
#

Help miiiiiii I wanna add custom prefikses to my bot @unique acorn

#

Server prefixes

fast marten
#

I don't myself, I meant it as an example why so many people avoid it. I have noticed slower speeds with global variables but it doesn't mean you can't have a few, as one or two do not make a noticeable difference

pine canopy
#

Help miiiiiii I wanna add custom prefikses to my bot, @Trevor

ruby dust
#

yes, we can read

pine canopy
#

Code

topaz fjord
#

you will need some way of storing those custom prefixes

#

i would recommend a database

pine canopy
#

My bot has the good old "!" prefix

topaz fjord
#

and also we wont just give you code

ruby dust
#

one thing I can tell you

#

you won't be using your library's commands extention or whatever

pine canopy
#

Some people are fine with "!help", some are not.

ruby dust
#

you'd use a on message event checking if the content starts with the prefix

topaz fjord
#

i remember when i first looked at a db i was like what the fuck is this thing

#

it seemed so complicated

ruby dust
#

sqlite3 didn't seem so complicated to me, even at first experience

topaz fjord
#

i started with mysql

#

then went to mongodb

pine canopy
#

I use discord.js

#

Still pissed about my bot being muted

topaz fjord
#

did you fix the error

pine canopy
#

Fakka

#

I tried to use NeilTheCoder

#

's code

#

Didn't work

night imp
#

@earnest phoenix I recommend watching a youtube tutorial

earnest phoenix
#

ok

#

thanks

neon swift
#

There are good YouTube tutorials?? We at d.py never suggest YouTube tutorials

topaz fjord
#

most yt tuts are js

inner jewel
#

i've never seen any good youtube tutorial

#

they either
a) are extremely outdated
b) show extremely bad practices

night imp
#

it shows basics

#

most people are new to languages and personally it is better for them to go through a tutorial than having us to help them through

zealous veldt
#

I learned JS through youtube and google lmao

#

mostly youtube

#

โค york's videos

wide ruin
#

how do you send a dm to the guild owners the bot is in? (with .js)

zealous veldt
#
<Message>.guild.owner.send('')``` i believe
wide ruin
#

what do you put in place of <message>?

zealous veldt
#

what is the context?

wide ruin
#

so i can send an update about the bot

#

like "bou updating to v2"

#

bot*

earnest phoenix
#

dont

zealous veldt
#

don't

#

do

#

that

#

that's API abuse

wide ruin
#

ok

#

how about every member in the server it was used

#

well

zealous veldt
#

um

#

no

wide ruin
#

one specific server

zealous veldt
#

also API abuse

#

still abuse

wide ruin
#

how can you do it in a server with an id of 480437825624604672

earnest phoenix
#

how about... now this is gonna sound crazy

slim heart
#

Pineapple what arent you understanding

#

You aren't allowed to...

earnest phoenix
#

an ANNOUNCEMENTS channek in support server

zealous veldt
#
client.guilds.get("480437825624604672").owner.send('floopity doopity');
wide ruin
#

but i want to send a dm to the people in the support server

zealous veldt
#

but yeah,

#

just have a support server like Tom said

earnest phoenix
#

if ur bot send me a dm

#

nd im in the support server

#

would kms

wide ruin
#

there is a support server, but how do i dm

earnest phoenix
#

at how dimb that is

slim heart
#

Pineapple how about you make an announcements channel

earnest phoenix
#

u dm with @ everyone

zealous veldt
#

Just use an everyone mention

#

ffs

wide ruin
#

it is for more than one bot

earnest phoenix
#

LMAO

zealous veldt
#

what?

slim heart
#

And not spam everyone unnecessarily

#

If i had your bot and I got constant DMs from it i'd instantly remove it

wide ruin
#

client.guilds.get("480437825624604672").owner.send('floopity doopity'); how can i change .owner. for all members

zealous veldt
#

same

#

no

slim heart
#

Pineapple no

zealous veldt
#

what don't you understand

#

DMing large amounts of people, whether it's everyone in a server or owners of guilds is not allowed

slim heart
#

yOu ArEnT aLlOwEd ToO

zealous veldt
#

Discord will ban your bot and maybe even you

slim heart
#

^

wide ruin
#

well can i make a list of the members who want updates?

slim heart
#

Still spam

earnest phoenix
#

yes with a role in support server

wide ruin
#

like make an ;update command

slim heart
#

Doesnt matter if they sign up for it or whatever

earnest phoenix
#

nd mention ping

wide ruin
#

and i wouldnt do it often

zealous veldt
#

The only bot that I'm ok with DMing me is that SpaceX one lol

#

Pineapple

#

it doesn't fucking matter

#

just mention people

#

mention that role

slim heart
#

What arent you getting Pineapple

earnest phoenix
#

MENTIONS. ANNOUNCEMENT ROLE. SUPPORT SERVER.

zealous veldt
#

^

slim heart
#

You DM too many people at once your bot will straight up be wiped off discord and probably your account with it

earnest phoenix
#

THESE ARE THE 3 SPECIAL INGREDIENTS

wide ruin
#

@olive briar sends dms to all members who are in a server with it

earnest phoenix
#

so if ur friend jump off a bridge

#

u would too?

slim heart
#

๐Ÿ˜‚

earnest phoenix
#

mate DONT DM EN MASSE

#

r u deaf

wide ruin
#

ok

zealous veldt
#

no but if my all my friends did... whats the point

slim heart
#

what

wide ruin
#

what about if i dont want an announcement channel

slim heart
#

then tooooo bad

earnest phoenix
#

then ur members dont get announcements

zealous veldt
#

that's your only option

slim heart
#

have fun getting your bot banned

zealous veldt
#

ffs

#

what's the issue with announcements channels?

wide ruin
#

ok ill go

earnest phoenix
#

yt in name tickYes mass dm tickYes cant figure out mass dm code since never learned basic problem solving tickYes must be dbk dev channel OMEGALUL

wide ruin
#

bye

zealous veldt
#

yup @earnest phoenix lmfao

slim heart
#

Fax tom

#

๐Ÿ˜‚

wide ruin
#

wait

#

with .js

#

how can you make the bot join the support servers vcs

topaz fjord
#

how to make a bot join a vc? @wide ruin

#

thats what u wanna know right

wide ruin
#

yeah

topaz fjord
#
// Only try to join the sender's voice channel if they are in one themselves
    if (message.member.voiceChannel) {
      message.member.voiceChannel.join()
        .then(connection => { // Connection is an instance of VoiceConnection
          message.reply('I have successfully connected to the channel!');
        })
        .catch(console.log);
    }
#

from d.js docs

wide ruin
#

is there a way to make a bot idle?

#

(.js)

gleaming glen
#

of course

#

<client>.user.setStatus('idle');

#

@wide ruin ^^

worn hull
#

hm

wide ruin
#

What's <client> @gleaming glen

#

Also, ping me when you respond

knotty steeple
#

what you defined new Discord.Client() as

#

@wide ruin

wide ruin
#

Wdym

#

What do you put there

knotty steeple
wide ruin
#

I'm guessing you can replace idle with online, dnd or invisible

#

Can you set it as streaming?

knotty steeple
#

yes

wide ruin
#

Can I just type client.user.setStatus('');

#

And add the thing in the ''

knotty steeple
#

what thing

wide ruin
#

Online, idle ect

knotty steeple
#

yes

wide ruin
#

Ok

#

That's easy

#

Thanks for help

earnest phoenix
#

@spring ember for bot.uptime is for hours "% 60" or / 60 like in days? (i noticed it adds a hour when it is not a hour passed)

ruby dust
#

a day has 24 hours, not 60

earnest phoenix
#

im talking for hours

ruby dust
#

huh?

earnest phoenix
#
  var botuptime = bot.uptime;
               x = botuptime / 1000
               seconds = Math.round(x % 60)
               x /= 60
               minutes =  Math.round(x % 60)
               x /= 60
               hours =  Math.round(x % 24)
               x /= 24
               days = Math.round(x / 24)
               var uptime = days + ' day(s) ' +  hours + ' hour(s) ' + minutes + ' Mins  ' + seconds + ' Secs'
#

here's the code

ruby dust
#

oh you mean 60 minutes?

earnest phoenix
#

ye

#

when i type &botinfo it shows 2 hours when it's 1 hour

#

passed by

#

basically if minutes reach 50 or so it adds another hour

knotty steeple
#

why are you using %

earnest phoenix
#

i dont know honestly

knotty steeple
ruby dust
#

well with my python knowledge the % kinda fits there

earnest phoenix
#

well % works for seconds & minutes

#

it works fine but it sometimes adds another hour when it's not 60 min

true hare
#

What's the bots library?

worn hull
#

how to use animated emojis in a bot?

inner jewel
#

<a:name:id>

#

name can be anything as long as id is right

worn hull
#

I did that

inner jewel
#

and the bot has to be in the guild that has the emojis

worn hull
#

It is

#

and has all perms

inner jewel
#

and have permission to send external emotes in the guild it's in (DMs will always have it)

earnest phoenix
#

is there a video totual to dail a number from a dm message of a dailer without it having to have bot status

inner jewel
worn hull
#

and i did

#

:online:

#

:online:

#

< a:online:476817651868499969 >

#

but all together

#

@inner jewel

inner jewel
#

if the bot is in the guild with that emote, it should work

earnest phoenix
#

How can I route ALL ACTIVITY from my app through a proxy?
I tried the module "tunnelingAgent" but it doesn't seem to work how I intended.

#

NodeJS ^

worn hull
#

it is in it

knotty steeple
#

also bot needs external emotes permission

worn hull
#

it has that aswell

#

the emojis

#

emoji server

#

so

#

it should work

earnest phoenix
#

Is it possible if anyone can figure out how to operate this coding for discord

ruby dust
#

what

knotty steeple
#

wat

earnest phoenix
ruby dust
#

scam baiting

#

i'm out

knotty steeple
#

what does that even mean

#

also why

ruby dust
#

Requires a WebRTC-compatible SIP server.

#

yeah..

zealous veldt
#

That's neat ish

earnest phoenix
#

Suppose to be a dialer app that works like a phone but to firertc website

pale marsh
#

@worn hull don't add spaces

worn hull
#

i didn't

#

i only did it in here

#

since it only does :online: in here

#

@pale marsh

knotty steeple
#

it wouldnt since its in this

worn hull
#

thats the code

#

@knotty steeple

knotty steeple
#

i didnt ask for it

worn hull
#

ik

knotty steeple
#

well then why did you ping me

worn hull
#

but what is the issue

#

with it

earnest phoenix
#

{"Id":722182658,"Username":"CharlesRBIX","AvatarUri":null,"AvatarFinal":false,"IsOnline":false} How would I separate things out?

zealous veldt
#

What do you mean @earnest phoenix ?

earnest phoenix
#

I want the number after ID.

#

so 722182658

topaz fjord
#

what lang

earnest phoenix
#

It is NodeJS.

zealous veldt
#

What is the object called?

topaz fjord
#

<whatever you called it>.Id

earnest phoenix
#

Its being grabbed from a webpage.

#
        var options = {
            host: 'api.roblox.com',
            path: `/users/get-by-username?username=${user}`
        }
        var request = http.request(options, function (res) {
            var data = '';
            res.on('data', function (chunk) {
                data += chunk;
            });
            res.on('end', function () {
                console.log(data);
        
            });
        });```
zealous veldt
topaz fjord
#

i see u edit moose

#

no sneaky

zealous veldt
#

Maybe JSON.parse(data).id

#

No u

earnest phoenix
#

You'll have to parse it

#

How :p

topaz fjord
#

JSON.parse(data)

earnest phoenix
#

JSON.parse(data)

#

smh jonas

zealous veldt
#
JSON.parse(data).Id```
earnest phoenix
#

๐Ÿ˜‚

zealous veldt
#

That would be the id

earnest phoenix
#

You will have to parse first, then you can get whatever object.

#

console.log(JSON.parse(data).Id);

#

:p

zealous veldt
#

Yes

earnest phoenix
#

o.o

#

thanks ๐Ÿ˜›

#

๐Ÿ‘

earnest phoenix
#

        var options = {
            host: 'api.roblox.com',
            path: `/users/get-by-username?username=${user}`
        }
        var request = http.request(options, function (res) {
            var data = '';
            res.on('data', function (chunk) {
                data += chunk;
            });
            res.on('end', function () {
                var Id = (JSON.parse(data).Id);
                message.channel.send(`**[BOT]:** *User Id: ${Id}*`);
            });
        });
        request.on('error', function (e) {
            console.log(e.message);
        });
        request.end();


        var options = {
            host: 'api.roblox.com',
            path: `/headshot-thumbnail/json?userId=${Id}&width=180&height=180`
        }
        var request = http.request(options, function (res) {
            var data = '';
            res.on('data', function (chunk) {
                data += chunk;
            });
            res.on('end', function () {
                var link = (JSON.parse(data).Url);
                message.channel.send(`**[BOT]:** *User Avatar: ${link}*`);
            });
        });
        request.on('error', function (e) {
            console.log(e.message);
        });
        request.end();

How can I transfer over my Id var to the second one

quartz kindle
#

either a callback, a promise, an async function, or put the entire second block inside the on 'end' of the first one

earnest phoenix
#

@quartz kindle thx Ill go look at some docs

#
if (msg.content.includes(word1)) return msg.delete(); channel.send("Please don't say that!");```
would this work as a word block
#

it dont seem to do anything

quartz kindle
#

you cant use multiple lines without brackets

#

also, "Something" is case sensitive

earnest phoenix
#

ik its case sensitive

knotty steeple
#

also msg.channel.send not channel.send

earnest phoenix
#

no that wont work

quartz kindle
#

nothing after return will work

#

return ends everything

earnest phoenix
#

if (msg.content.includes(word1)) msg.delete(); msg.channel.send("Please don't say that!");

#

?

quartz kindle
#

yes but with brackets

earnest phoenix
#

befor msg and after ;

#

?

quartz kindle
#

if(){}

earnest phoenix
#

if (msg.content.includes(word1)){msg.delete(); msg.channel.send("Please don't say that!");}

quartz kindle
#

yes

earnest phoenix
#

okay

quartz kindle
#

any error? permissions?

earnest phoenix
#

no

#

no errors

quartz kindle
#

console.log msg.content

earnest phoenix
#

log msg.content?

quartz kindle
#

yes

earnest phoenix
#

i did that

quartz kindle
#

to see if the message is showing up

earnest phoenix
#

and nothing happens

quartz kindle
#

then the message is not being received

earnest phoenix
#

no messages come up

#

and its in 6 servers

quartz kindle
#

show full code

earnest phoenix
#
    if (!msg.content.startsWith(keys.prefix)) return;
    if (msg.content.startsWith(keys.prefix + 'create-invite') && !msg.guild.member(bot.user).hasPermission('CREATE_INSTANT_INVITES') || !msg.guild.member(bot.user).hasPermission('SEND_MESSAGES')) return msg.reply(`Uh oh! An error accoured executing command: I don't have one of the following permissions: Create Instant Invites or Send Messages!`);
    if (msg.content.includes(word1)){msg.delete();}
    console.log(msg.content)
    if (commands.hasOwnProperty(msg.content.toLowerCase().slice(keys.prefix.length).split(' ')[0])) commands[msg.content.toLowerCase().slice(keys.prefix.length).split(' ')[0]](msg);
  });```
quartz kindle
#

if (!msg.content.startsWith(keys.prefix)) return;

#

this exits the function if it doesnt match the prefix

earnest phoenix
#

๐Ÿ‘€

knotty steeple
#

so put if (msg.content.includes(word1)){msg.delete();} above that

earnest phoenix
#

i should've probably seen that

knotty steeple
#

also

#

if the bot is here

#

maybe disable that for this server

#

or it'll get muted dblWink

quartz kindle
#

automatic interactions should be opt-in

earnest phoenix
#

?

#

oh geez now my console is full of messages

quartz kindle
#

if you want to keep it automatic regardless, then yes, ignore the guild id of this server (and any other bot lists or servers that forbid automated functions)

earnest phoenix
#

I just want it for 1 guild

quartz kindle
#

then do if guild id === 'server' instead

earnest phoenix
#

okay so would this work as a word block for only the server I set it to
if (member.guild.id === '0'){if (msg.content.includes(word1)){msg.delete();}}

knotty steeple
#

you can easily do

if(expression && anotherexpression) { 
// code
}
#

if expression === true and anotherexpression === true execute code

#

it wont run the code if neither or only one of the expressions is true

earnest phoenix
#

@knotty steeple
if(member.guild.id === '0' && msg.content.includes(word1)) {msg.delete(); msg.channel.send("Please don't say that!");}

knotty steeple
#

yes that would work

earnest phoenix
#

forgets to put guild id and runs code

#

@knotty steeple

knotty steeple
#

oh

earnest phoenix
#

tyvm @knotty steeple @quartz kindle

knotty steeple
#

np

earnest phoenix
#

guys i want the use nodemon(?) and log4js but how? i install it but they didn't work

#

cause of my os? maybe?

sick cloud
#

you gotta use it in the code?

earnest phoenix
#

(ubuntu 18.04 LTS)

sick cloud
#

nodemon is a utility so you start your bot with nodemon <file.js>

#

never heard of log4js though

#

look at their documentation

earnest phoenix
#

okay thx

sick cloud
#

np

surreal peak
#

Was there a new discord api update that lets you know which invite was used when a member joins?

sick cloud
#

Nope, it's still hard as to get them @surreal peak.

#

Discord probably won't ever add it, the same with invite events and such.

surreal peak
#

Hmmm weird

sick cloud
#

Why weird?

surreal peak
#

I joined a server and it told me which invite I used

sick cloud
#

Yeah, it's possible.

#

There's a guide on it. oh rip link

inner jewel
#

it's possible to try

#

but unreliable

#

they're going to add the used invite to join events soonโ„ข

sick cloud
#

i hope they do

surreal peak
#

Ahhh thats genius

sick cloud
#

as it says though, there are two big issues

#

and it ain't reliable/good with big servers

#

    Temporary one-use invites (when right-clicking someone, and doing Invite To => Server). Those exist only for a few moments and cannot be tracked at all.

    Invites created after the bot loaded. That would require fetching on a loop which is dangerous for API spam.```
earnest phoenix
#

I have this:

ROB:api.domain.com

#

in separate variables?

#

NodeJS

shy rose
#

is that a string your being given?

#

if so
message.split(":")

earnest phoenix
#

so

#

var name = `message.split(":")[1]`

#

?

#

would that work?

shy rose
#

yup

sick cloud
#

@earnest phoenix 1 will get you api.domain.com

#

also putting it in `` will make it text

vapid sun
#

Does anyone know c++ coding if so ping me plz

outer niche
#

It does not have to be that particular program it can be any program

sick cloud
#

@vapid sun read the channel topic

#

ask your question instead of asking if anyone knows

outer niche
#

We need someone to develop to get our bot online none of us know how to so we're trying to get help because our programmer left us

bright spear
#

uh

sick cloud
#

learn to code

bright spear
#

either find a programmer or learn and make it yourself

outer niche
#

It takes too much time I need it done tonight

sick cloud
#

why do you need a bot by tonight

bright spear
#

nobody here will make a bot for you

sick cloud
#

plus learning to code can be done quick enough if you just learn the basics well

#

yea

#

we don't spoonfeed or code for you

bright spear
#

btw gaming is spelled wrong in your username

sick cloud
#

lmao

outer niche
#

I can't code I don't have a computer

bright spear
#

you just use mobile?

outer niche
#

Right now yes

vapid sun
#

I have a computer

bright spear
#

why do you need a bot done by tonight???

outer niche
#

There's a lot of reasons why

vapid sun
#

We got a 5 hour notice

bright spear
#

well

#

nobody will make a bot for you

outer niche
#

Alright I'm out of here you guys aren't any help

bright spear
#

we help people who are making bots

#

you guys just want someone to do the work for you

#

which is stupid

outer niche
#

We're almost done we just need to get it online which none of us know how to do I would do it but I don't have a computer

vapid sun
#

I have a computer but I don't have access to the bot

bright spear
#

well

#

what do you want us to do

#

we dont have access either

slim heart
#

(Unless you pay them)

earnest phoenix
#

Mp4a.40.2 vs opus which is better sound quality?

slim heart
#

Opus

#

i think

sick cloud
#

opus

#

discord uses it as well so its better on discord

earnest phoenix
#

But then why mp4a.40.2 sounds a bit clearer on discord

#

My friends confirmed this too

long glade
#

Also @outer niche your only choices are to either find a new programmer who understands the language the bot was written in or learn the language yourself and finish it

slender thistle
#

That field is author one

outer niche
#

@long glade that's what I'm about to do I went out and bought a computer

long glade
#

@earnest phoenix Can you send me examples of both the mp4a.40.2 and Opus versions of the same audio?

#

@slender thistle Thank you, I'll look into it

slender thistle
#

๐Ÿ‘

long glade
#

@outer niche It's a long trial and error process, you most likely won't get it done as soon as you want but you can get it done with enough time and patience

outer niche
#

I've got someone coming to help me that knows the program that I'm using he's going to tell me what to do and we're going to get it done as soon as possible

viscid falcon
#

In discord.js, when making a leave message, is there any reason we can't use a slightly modified join message code, it didn't work for me

long glade
#

@outer niche Good luck with that then
Just be respectful to the people here willing to help others out, no one's obliged to code for you

outer niche
#

He's not doing it for me I'm doing it he's telling me what to do though

viscid falcon
#

@outer niche if your looking for someone to do it for a commission I can do it in js

quartz kindle
#

same

earnest phoenix
#

@long glade something isnt right, i retested it and its not the same, but here

long glade
#

@viscid falcon Can you show a sample of the code you're using?

viscid falcon
#

Rip, not at home rn, let me get you my github

earnest phoenix
#

i take the something not right back, the voice of the singer is clearer

viscid falcon
#

I just modified the client.on And the messsage.channel.send to make the leave message but it didn't work

long glade
#

@viscid falcon I'd assume it's a little something like this then:

client.on('guildMemberRemove', member => {
    const channel = member.guild.channels.find(ch => ch.name === 'member-log');
    if (!channel) return;        
    channel.send(`${member} has left the server!`);
});
quartz kindle
long glade
#

^

viscid falcon
#

It bassicly was that joshua

long glade
#

@earnest phoenix Which one did you say has the better sounding quality?
The .webm is the source quality (contains the Opus audio) and the .m4a is downsampled a little bit

viscid falcon
#

It didn't work for me, idk why

long glade
#

Won't really be able to help out until you get the exact snippet of what you wrote

earnest phoenix
#

@long glade the voice of the singers in the mp4a.40.2 sounds clearer

quartz kindle
#

you can always debug it yourself, set up a client on guildmemberremove with only a console.log(member), see if and what you get and continue from there

viscid falcon
#

Is It ok if I ping you in like 30 min?

long glade
#

@earnest phoenix Perhaps the downsampling to m4a removed some extra bits that strained the sound of the vocals
Are you testing these two audio files locally though? Because when both get streamed to Discord they're downsampled to the same sampling and should sound the same

quartz kindle
#

if something doesnt work, console.log everything so you can actually see what the code is doing step by step and where it breaks

long glade
#

@viscid falcon Yeah you can ping me if you need to, but follow Tim's advice first and do your own debugging before resorting to that

earnest phoenix
#

@long glade i tested it throught discord

viscid falcon
#

And tim I did do that, but it didn't even do the console.logs

earnest phoenix
#

@long glade if you want i can let you test it through discord and see what i'm talking about

quartz kindle
#

then the event is not being fired

earnest phoenix
#

@quartz kindle is the pfp you or me?

quartz kindle
#

or you're not getting it properly

viscid falcon
#

๐Ÿค” i and kicked and forced my friends to leave

quartz kindle
#

@earnest phoenix wat

earnest phoenix
#

@viscid falcon lad i got banned from the discord api just for a joke

#

@quartz kindle is your pfp you?

viscid falcon
#

How

quartz kindle
#

yes

earnest phoenix
#

looks over sharped abit but nice

#

magic people cant take jokes

#

thats why i'm a bit low here

viscid falcon
#

Add a fedora and you a neck beard

long glade
#

@earnest phoenix I can test both with my personal bot here in a little while, just not this second

quartz kindle
#

@_@

earnest phoenix
#

@long glade i can save you the hassle but if you want then you can

long glade
#

Nah I mean I'm in another VC right now so I can't test it at all at the moment

#

What do you have your audio encoding set to? Bitrate, sampling, etc

earnest phoenix
#

i didnt download it, it was the bot but referring to the spec sheet
webm audio only DASH audio 165k , opus @160k
m4a audio only DASH audio 138k , m4a_dash container, mp4a.40.2@128k (44100Hz)

long glade
#

Yeah the webm is gonna be source quality I'd hope
I meant what is the bot streaming it as?

#

For example, this is what I have mine set to for my high preset:

var encodeOptionsPresetHigh = &dca.EncodeOptions{
    Volume:           256,
    Channels:         2,
    FrameRate:        48000,
    FrameDuration:    20,
    Bitrate:          96,
    Application:      "lowdelay",
    CompressionLevel: 10,
    PacketLoss:       0,
    BufferedFrames:   100,
    VBR:              true,
    RawOutput:        true,
}
earnest phoenix
#

1 sec, thats java script, mine is python

long glade
#

Nah this is Go

#

It does look a little similar tho

earnest phoenix
#

mk

#

I have

api.app.com:passwordforapp

#

those are in a text document

#

how would I split those?

#

noidejs

old swallow
#

learn js

earnest phoenix
#

๐Ÿ˜

#

like that text is currently in the var data

shy rose
#

basiclly exact same question

earnest phoenix
#

@shy rose

                        ^

TypeError: line.split is not a function```
shy rose
#

whats the value of the variable line?

#

@bitter comet eval "api.app.com:passwordforapp".split(":")[1]

#

oh still rebooting

earnest phoenix
#

heh

#

oh wait

shy rose
#

wait nvm bots are muted in here?

earnest phoenix
#

yes

shy rose
#

point is it works

earnest phoenix
#

alright

#

maybe

#

og

#

wiat

#

its not loading the text in right

shy rose
earnest phoenix
#

thabjs man

#

wait

#

when I do both

#

it stops working

#
t:t
user undefined
pass t
#
        console.log(`${line}`);
        let pass = line.split(":")[1]
        let user = line.split(":")[2]
        console.log(`user ${user}`);
        console.log(`pass ${pass}`);```
#

@shy rose top is console

shy rose
#

arrays start at 0

#

also you could jsut do console.log(line)

earnest phoenix
#

ik

#

so how do I make it not undefined?

shy rose
#

arrays start from zero

#

youl want the zeroth elemnt

earnest phoenix
#

oh

#

i get it

#

thanks

blazing sequoia
#

comes in pretending i know how to code Y'know in light bot im on lvl 2-4 aint that impressive huh

shy rose
#

you know i made that

blazing sequoia
#

you know i have personally met the team who made that

shy rose
#

by personally meet means you joined support server

#

either way offtopic

blazing sequoia
#

ree

sick cloud
#

try using || and get a freaking array.includes

#

using && means it'll fire if one is correct

quasi marsh
#

On a second note why is "god" a swear

sick cloud
#

it won't work too well

#

i can say h eck or heckk

#

and boom, bypassed

shy rose
#

also could do

let lower=message.toLowerCase()
["abc","idk","lol","msg"].filter(c=>lower.includes(c)).length
#

that would be way cleaner

#

and to add more is jsut adding to array

earnest phoenix
#

Anyway to do a goto in node?

shy rose
#

ew

#

do a function call

#

ye

#

depending on your lib check dm's

#

cause some libs dont have nsfw tag on dm channels

#

k i think that gives null

#

dm not text

#

yes but any message sent will run through that same if statement

earnest phoenix
#

@shy rose I kinda NEED a goto

sick cloud
#

return if there isn't a msg.guild

shy rose
#

no you really dont

#

afik theres only go to in the lang basic

#

probs wrong

#

but like if you need go to then your doing something wrong

earnest phoenix
#

well how would I loop with a function call...

shy rose
#

for loop?

#

while loop?

#

forEach?

#

map?

earnest phoenix
#

just loop until a document has no more text in it

#

@shy rose

shy rose
#

?

#

define document

earnest phoenix
#

Txt file

pale marsh
#

God what have I just witnessed...

earnest phoenix
#

I'll pay u $.10 to help me :)

#

Lol

pale marsh
#

Use an array dude

#

Or a switch statement

shy rose
#

^

#

no

#

god

#

never

#

switches

earnest phoenix
#

ORRR chewy can help meh

pale marsh
#

In this case itโ€™s way better than an if, but arrays are the solution

shy rose
#

i had a bug that took 7months cause the error was about 2000 lines down from the real cause a missing break

pale marsh
#

Lmao

shy rose
#

so no

#

switches

#

(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป

pale marsh
#

I had to scroll down a lot on my phone because of that code lol

earnest phoenix
#

@shy rose pls help ._.

shy rose
#

how are you even loading in the txt?

earnest phoenix
#

fs

sick cloud
#

look, we aren't going to spoonfeed you

#

learn yourself, use the resources given

earnest phoenix
#

Tony I looked at the damn docs

shy rose
#
fs.readFile('/memes.txt', function (err, data) {
  if (err) throw err;
  console.log(data);
});
earnest phoenix
#

trust me

sick cloud
#

then look at them again

shy rose
#

i mean youve asked pretty googleable questions

earnest phoenix
#

Chewy I already have it loaded

#

I just want to know how to do a goto

sick cloud
#

what the fuck even is a goto

shy rose
#

you dont NEED one

#

its aline jumper

#

eg GOTO 50 would jump the runner to line 50

#

its the most jank thing yould ever see

earnest phoenix
#

well

sick cloud
#

oh

#

gross

#

who would even need that

earnest phoenix
#

me

shy rose
#

the only reason it exists is its needed for core machine lang compiling

#

thats how loops work at base level ๐Ÿ˜‰

#

but like your looking at problem all wrong...

#

explain what you want to do not what you need

earnest phoenix
#

mk

#

I have my application taking the first line into a variable

#

but I want it to eventually load the second line into the same variable

#

so my thought was

#

I was going to have a goto script keep removing the top line

#

then reading the new one

shy rose
#
fs.readFile('/memes.txt', function (err, data) {
  if (err) throw err;
  data.split('\n').forEach((currentLine)=>{
    console.log(currentLine)
})
});
earnest phoenix
#

So that will move down the list?

#

one line at a time?

shy rose
#

read what its doing

#

\n for the record is new line char

earnest phoenix
#

yeah

#

so its reading each line

#

one at a time

#

o.o

#

thanks

#

let me try something

#
               ^

TypeError: data.split is not a function```
shy rose
#

send code snippet

earnest phoenix
#
          if (err) throw err;
          data.split('\n').forEach((currentLine)=>{
            console.log(currentLine)
        })
        });  ```
shy rose
#

is your file named memes.txt?

earnest phoenix
#

yes

shy rose
#

try adding 'utf8' after the file name parm

#

or even jsut console logging data to check it loaded in

earnest phoenix
#

@earnest phoenix js fs.readFile(`./memes.txt`,`utf8`, function (err, data) { if (err) throw err; data.split('\n').forEach((currentLine)=>{ console.log(currentLine) }) });

#

this is what chewey ment i believe

shy rose
#

yeah

earnest phoenix
#
t:t
t:t
t:t
t:t
t:t
t:t
t:t
t:t
t:t
Unhandled rejection ReferenceError: user is not defined
    at roblox.login.then.catch (C:\Users\charl\Desktop\robloxapi\index.js:99:88)
    at tryCatcher (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise._settlePromise (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromise0 (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise._settlePromises (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\promise.js:689:18)
    at Async._drainQueue (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\async.js:133:16)
    at Async._drainQueues (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\async.js:143:10)
    at Immediate.Async.drainQueues (C:\Users\charl\Desktop\robloxapi\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)```
#

see

#

...

#

oh

#

roblox

#

okay

#

๐Ÿ˜‰

#

no wonder ur name is familiar

#

have you ever been on Void SB?

sick cloud
#

that's offtopic

earnest phoenix
#

Never heard of it.

sick cloud
earnest phoenix
#

oh, okay lets get back on topic

#

Kk

#

C:\Users\charl\Desktop\robloxapi\index.js:99:88

shy rose
#

also that stack trace doesnt match code sent cause never even use a variable called user

earnest phoenix
#

Oh

shy rose
#

as can see though it did print each line

earnest phoenix
#

Wait wait wait

#

I did a //

#

yea i believe hes calling member

#

Nvm

#

Ik

#

Ik

#

member.user

shy rose
#

prev question involved a user

#

was readin user data from txt

earnest phoenix
#

ah,

shy rose
#

GWcfcThonk wait still same question

earnest phoenix
#

you should really use json

#

or sqlite

shy rose
#

oof

#

json ftw

#

but txt works fine

earnest phoenix
#

who am i to judge xd

shy rose
#

all of them have there purpose

earnest phoenix
#

i backup all my sql data into a json file

shy rose
#

it works ยฏ_(ใƒ„)_/ยฏ

earnest phoenix
#

just incase mysql dies

#

yea

shy rose
#

cough

earnest phoenix
#

@earnest phoenix Ima do this later

#

I think I know what to do

shy rose
#

i mean that code works

earnest phoenix
#

Thx for the help guys

shy rose
#

that error was from something else

earnest phoenix
#

Ik

#

i believe on like 88

#

line*

#

But I need to repeatedly use the variable from it

#

So I gotta figure dat out

shy rose
#

gl

earnest phoenix
#

@earnest phoenix make a function that calls both user and what ever your trying to do

shy rose
#

if its not scoped you could use it there and then otherwise push to an array

earnest phoenix
#

global.a = 'b'

#

console.log(a)

#

is b

#

lewl

#

Like so

#

It's a login api

#

So

#

Basically

#

The first line

#

Is the ur

#

L

#

So it's like this:

#

are you trying to make an authentication using roblox login?

#

URL:URL INFO

shy rose
#

heck dont use txt for passwords

earnest phoenix
#

...

#

Chewy

#

It works xd

shy rose
#

oh god

earnest phoenix
#

It's basically taking my Roblox accounts

#

you can get in huge trouble

shy rose
#

dude

earnest phoenix
#

And giving me updates on them periodically

#

@earnest phoenix how...

shy rose
#

dude....

#

like

#

how isnt it

earnest phoenix
#

uh in every way its illegal

#

They are my accounts

shy rose
#

not even encrypted

earnest phoenix
#

How is it illegal

#

you cant store passwords in any file

shy rose
#

or hashed

#

or salted

#

or like

#

SECURE

earnest phoenix
#

@earnest phoenix YES YOU CAN LOL

#

If they are my passwords

#

I can

shy rose
#

no...

#

you really

#

no

earnest phoenix
#

:/

shy rose
#

jsut no

earnest phoenix
#

I mean

#

you need to salt + hash + rot

shy rose
#

rot?

#

rotator?

earnest phoenix
#

Tf is rot

#

rot15

shy rose
#

wot

#

just use md5 sha256

#

with salts

#

or at least some form of encrypt

earnest phoenix
#

md5 is bad

shy rose
#

jsut not plain

#

ik

earnest phoenix
#

they found out how to deob

shy rose
#

i mean if its salted its better

#

wait can they?

earnest phoenix
#

Well if I can figure out the reading

shy rose
#

afik they only use rainbow tables

earnest phoenix
#

I can encrypt later

#

Lol

#

uh

shy rose
#

can they reverse salted md5 now?

#

without rainbow table

earnest phoenix
#

if you decide to make this a global bot

#

you can be sued

#

It's not global...

shy rose
#

either way passwords

#

never

#

store

#

plain

earnest phoenix
#

It's a personal bot

shy rose
#

every

#

NEVER

earnest phoenix
#

okay good

shy rose
#

even then...

earnest phoenix
#

but not a good idea

shy rose
#

plain text storage is phivbited on most/all services

earnest phoenix
#

I mean when I get it done its gonna use encrypted cookies

#

Soo

shy rose
#

no

#

wrong end

earnest phoenix
#

Boi