#development

1 messages · Page 1397 of 1

pale vessel
#

let preferredGames = response.preferredGames?.[0] || 'None' wesmart

quartz kindle
#

lmao

crimson vapor
#

its not that big of a deal

restive furnace
#

almost same thing

carmine summit
#

?

crimson vapor
#

yes

carmine summit
#

????????????//

pale vessel
earnest phoenix
#

nice regex at the end @carmine summit

carmine summit
#

Huh?

earnest phoenix
#

????????????/ /

carmine summit
#

that's a comment

#

not a regex

earnest phoenix
#

¯_(ツ)_/¯

#

now it is a regex

carmine summit
#

can ya help me

earnest phoenix
#

k

pale vessel
carmine summit
#

k

earnest phoenix
#

k

carmine summit
#

tf?

pale vessel
earnest phoenix
#

yes

carmine summit
#

Just realized I am running on node 6

#

and i cannot update it cuz missing perms

#

AHHHHHHHHHHHHHHHHHH

#

help

earnest phoenix
#

nvm

#

use nvm

#

nevermind node version manager

carmine summit
pale vessel
#

Do node -v

carmine summit
#

v12

pale vessel
#

That is the npm version

carmine summit
#

of they're different

#

v12.18.3

earnest phoenix
#

of

carmine summit
#

of

earnest phoenix
#

of

carmine summit
#

hof

pale vessel
#

Use let preferredGames = (response.preferredGames || [])[0] || 'None' then

carmine summit
#

!!??

#

Can you "un-confuse" me

earnest phoenix
#

@carmine summit allow me to explain

carmine summit
#

i'll allow you ofcourse

earnest phoenix
#

whats use of fs.existsSync ?

pale vessel
#

Checks if the path exists

earnest phoenix
#
let preferredGames = (response.preferredGames || [])[0] || 'None'
// (response.preferredGames || []) tells javascript to check if response.preferredGames exists and if it doesn't it returns an empty array

// [0] this just gets the first element of the array duh

// || 'None' if the first element of the array doesn't exist (we returned an empty array if the user has no preferred games) it returns 'None'
carmine summit
#

right

earnest phoenix
#

@pale vessel didn't you know I'm allergic to strings created with '?

pale vessel
#

Me too

#

I use double quotes lol

earnest phoenix
#

yeah

pale vessel
#

I just copy pasted his code

carmine summit
#

WOT

pale vessel
#

and I use semicolons

earnest phoenix
#
templateStrings || doubleQuotes || process.exit
carmine summit
#

#noSemicolonClub

pale vessel
#

Nm

carmine summit
#

Nm

earnest phoenix
#

nvm

#

nevermind => nvm => node version manager

why is this so funny

carmine summit
#

I was confused

#

about that

earnest phoenix
pale vessel
#

Probably nothing happens

carmine summit
earnest phoenix
#

@earnest phoenix your node app fucks up

pale vessel
#

It will be regenerated

earnest phoenix
#

@carmine summit @pale vessel what if i delte these files and my code stops working ?

#

what does a 5head mean? (flazepe reacted to my message with that emote)

carmine summit
earnest phoenix
carmine summit
#

btw if you delete those files, all your packages gets updated

earnest phoenix
#

@earnest phoenix you mean reinstall my all packages ?

#

for package-lock.json at least

#

the other stuff idk how

carmine summit
#

My RAM when I close chrome with 15 tabs:

earnest phoenix
#

@earnest phoenix so can i delete those files except package-lock.json without getting code stop working

earnest phoenix
#

@earnest phoenix can you got https://beautifier.io to clean up your code then come back and edit the message? unformatted code is hard to debug

#

we are not computers

#

we cant evaluate your code and pinpoint the error

#

that's not what this channel is for

#

debug your code

earnest phoenix
pale vessel
#

😩

earnest phoenix
#

lol

pale vessel
#

It's not even funny

earnest phoenix
#

also this

we cant evaluate your code and pinpoint the error
that's not what this channel is for
debug your code

pale vessel
#

It's sad and depressing

earnest phoenix
#

honestly though

#

@earnest phoenix i found the error just by reading do i permission to tell him where the error is or do i let them figure it on their own

#

you know you're at the lowest point when you get happy when someone asks a question properly

earnest phoenix
#

up to you, code

#
return messafe.channel.send(`**${message.author.username}**, You do not have perms to unban someone`)

find the error here on this line

#

@earnest phoenix

pale vessel
#

It means that this channel is full of help vampires instead of people who are actually trying

earnest phoenix
#

it's not even learn how to use your language

#

the guy who asked the question must be feeling like oh god what the fuck have i done

#

but rather people who don't and can't think logically trying to do programming, when programming demands logic problem solving skills

#

hey guys wanna test my new thing

#

(don't mind the participants tab it's broken)

late hedge
#

haha

quartz kindle
rich ether
#

hello @quartz kindle how u doin g

earnest phoenix
#

him

safe creek
#

is there any way i can make my bot send a reply into a channel the command was executed inside and allow the users to customize the prefix on discord.py

quartz kindle
#

is there a way? yes there is away

#

there is always a way

safe creek
#

i see

#

have any where i should look lke yt or the docs?

quartz kindle
#

for custom prefixes you need a database

safe creek
#

i see

#

but that does make sence

slender thistle
#

@quartz kindle do you know da wae?

quartz kindle
#

no my bruda

#

do you know da wae?

earnest phoenix
#

@quartz kindle can you explain where the fuck this null is coming from? on the server-side code it says undefined instead of null

quartz kindle
#

show your "has left the chat" code

earnest phoenix
#

@quartz kindle

socket.on("disconnect", () => {
    participantsArray.splice(participantsArray.indexOf(name), 1);
    io.emit("leave", name, participantsArray);
    console.log(`${name} disconnected`);
});
#

name should be undefined since it's logging undefined disconnected in the console

#

which means the user never entered their name on the namePrompt event

quartz kindle
#

and your client side code?

#

the code that listens to the leave event

safe creek
#

does it happen every time you leave the tab or window or just by itts self

south sinew
#

When you do namePrompt, have it set a name, something like "Anonymous" if they don't enter their name

earnest phoenix
quartz kindle
#

yes

#

io.on("leave")

earnest phoenix
#
socket.on("leave", (n, participantsArray) => {
    let leaveMsg = document.createElement("p");
    leaveMsg.innerHTML = `${n} has left the chat`;
    document.querySelector("#messages").appendChild(leaveMsg);
    updateParticipants(participantsArray);
});
quartz kindle
#

so the undefined is probably being converted to null by socket.io itself

#

because json doesnt support undefined

earnest phoenix
#

but why does it execute more than once?

#

oh i get it now

#

socket.io-client's default reconnecting tries is set to Infinity by default

#

@quartz kindle I added this line in the disconnect code:

socket.on("disconnect", () => {
  if (!name) return;
  // ...
});
willow mirage
#

what are u trying to do?

earnest phoenix
#

make a smol chat app

willow mirage
#

i have made one before

#

but nice bro

earnest phoenix
#

you made one before?

viral spade
#

Can i get priviliged intents for my testbot, without it having the required amount of users?

pale vessel
#

Yes

#

If your bot is in less than 100 servers, you can have the intent without whitelisting

#

Enable the intent in developer portal

viral spade
#

ok thanks!

earnest phoenix
#

do you guys mind if i use callback hell
because i just fixed the site and now it's callback hell

safe creek
#

will i have to have client.run("TOKEN HERE") in every command i create for my bot?

safe creek
#

ok thanks

#

just wondering incase i need to do it so the command works

#

and gets ran propperly

cinder patio
safe creek
#

yes ik and i didnt know if i need it in every file for my py bot

weary ridge
#

Does anyone know php?

safe creek
#

nope

#

if you need to learn it go take a few courses

pale vessel
#

Is code913 here? If he's here, can I ask something?

earnest phoenix
#

ye

#

s

pale vessel
#

Can I ask something?

earnest phoenix
#

ye

#

s

pale vessel
#

Do you know JavaScript?

earnest phoenix
#

kind

#

a

weary ridge
#

bruh

earnest phoenix
#

hello just wanna ask how to print the result into an embed? thank you!

sudden geyser
#

What does Auction.aggregate([...]) return? Does it accept a callback?

lethal grail
#

ee any idea how to make a variable using d.js

pale vessel
#

Say what now

lethal grail
#

ee any idea how to make a variable using d.js
@lethal grail

pale vessel
#

That is a constant fullbruh

#

Thank god

#

I thought you were about to say var

lethal grail
#

well how do I modify the variable value in a command?

pale vessel
#

variable = "newVariable"

earnest phoenix
#

OH so you guys are discussing JavaScript? process.exit(500) // server cant handle freaks using a spaghetti language

lethal grail
#

@pale vessel no like, in an autorole command it will modify the variable value

earnest phoenix
#

^

#

it doesnt accept objects

#

also that 500 means the HTTP internal server error

#

IT EEZ WHAT IT EEZ

willow mirage
#

im done with express

#

the routes and bla bla

#

that piss me off

quartz kindle
#

process.exit() fires an exit code lol

#

1 - Catchall for general errors
2 - Misuse of shell builtins (according to Bash documentation)
126 - Command invoked cannot execute
127 - “command not found”
128 - Invalid argument to exit
128+n - Fatal error signal “n”
130 - Script terminated by Control-C
255* - Exit status out of range

earnest phoenix
#

What's funny?

willow mirage
#

damm

#

those error codes

lethal grail
#

meh, alr. I've made a variable. how do I get the variable value? for example I have a configuration command and I want to get the value of the "autorole" variable.

earnest phoenix
#

im done with express
the routes and bla bla
that piss me off
@willow mirage if you're making a new app.get path for EVERY SINGLE FILE lemme tell you about this:

app.use(express.static(__dirname)); // automatically serves every single file
earnest phoenix
willow mirage
#

@earnest phoenix ik

#

i already knew that

#

i just lazy to open new routers

#

and write codes to render pages

lethal grail
#

so like :
Autorole status: autorolevariable

willow mirage
#

and design pages

#

and bla bla

#

just pissed off from programming

earnest phoenix
#
var myAss = {
  soft: true,
  stinky: true
};
console.log(myAss);
willow mirage
#

imma stop programming for a while

earnest phoenix
willow mirage
#

comeback to the real life

earnest phoenix
#

i want my ass to be available outside the current scope

willow mirage
#

play with ma friends and . . . (don't think dark 😉 )

near stratus
#

Hey guys,
Is message.guild.owner deprecated ?

quartz kindle
#

no

earnest phoenix
near stratus
#

I'm getting a null return

quartz kindle
#

its a getter

lethal grail
#
var myAss = {
  soft: true,
  stinky: true
};
console.log(myAss);

@earnest phoenix that's setting up the variable, how about getting the value in a command?

quartz kindle
#

it returns null if not cached

near stratus
#

oh

earnest phoenix
willow mirage
#

there are no client.user.owner or client.owner right?

quartz kindle
#

there is client.user

willow mirage
#

typo

quartz kindle
#

you can get owner via client.fetchApplication

near stratus
#

I was using
message.guild.owner.user.username and it returns a typeerror

quartz kindle
#

you need to fetch the owner if its not cached

lethal grail
#

see the last line also PLEASE FOR GOD'S SAKE USE REPLIES NOT QUOTE
@earnest phoenix well, I'm asking for the value to be displayed in the message not in the logs?

willow mirage
#

bruh

#

no

near stratus
willow mirage
#

imma just do client.users.cache.get("MY ID")

lethal grail
#

you can get a user id in like 2 seconds

earnest phoenix
lethal grail
#

hm? > you need to get the value to log it duh
@earnest phoenix

earnest phoenix
#

by typing myAss you are getting the value of the variable and there is a console.log() around it which you pass the variable's value to

willow mirage
#

I love the Quote more then reply

because Quote is cool

lethal grail
#

but HOW will the value be sent as a message

earnest phoenix
#

fetch the value by typing the variable name => pass it to console.log function

viral spade
#

discord.js
How can i know which invite link was used by the user?

willow mirage
#

Guild.fetchInvites()

earnest phoenix
#

no?

willow mirage
#

._.

#

@earnest phoenix then waht

#

tell me

viral spade
#

@willow mirage this is only a list of invites. How can i know in the guildMemberAdd event which invite of those was used for the joining user?

willow mirage
#

then say it

earnest phoenix
#

idk

willow mirage
#

._.

earnest phoenix
#

but I'm sure what cutie cat said is not how to do it

willow mirage
#

._.

cinder patio
#

I don't think you can

earnest phoenix
#

you can mate

willow mirage
#

but you can't do it mate

earnest phoenix
#

how do invite logging bots work then

lethal grail
#

^

earnest phoenix
#

even after discord changed the API stuff for privileged intents

willow mirage
#

my logger so op

#

it took me 1 days to do it

lethal grail
#

moddy

#

Nice name

quartz kindle
#

@near stratus client.users.fetch(message.guild.ownerID)

near stratus
viral spade
#

discord.js
After the guildMemberAdd event is fired with the member parameter, how can i find out which invite link this member used?

solemn latch
clear arch
#

discord.py
Hello :)
Is there actually a way to determine which device someone use?
Like:
if user = mobile...
or
if user = desktop...

lethal grail
#

I know on d. js but not py rip

clear arch
#

yea js i found too 😦

viral spade
#

@solemn latch Thank you very much! on point!

Will i run into any api limits when i do a member.guild.fetchInvites() whenever a guild member joins the guild?

solemn latch
#

Hopefully not, but its hard to say.
Some communities have huge events where hundreds of users join in short periods of time.
I know of giveaway communities that had 2-3 people join per second on average for over 5 minutes.

Its certainly possible to hit a ratelimit.

drifting wedge
#
<div class="form-group">
                        <label class="form-control-label" for="basic-url" style="color:white">Command Prefix</label>
                        <form action="../guild" method="POST">
                          <input class="input-group-text" aria-describedby="basic-addon1" name="prefix" value="{{ serverprefix }}" type="text" style="color: white; background-color: #2F3136">
                    </div>```
earnest phoenix
#

use border: 0;

#

browsers automatically apply styling to inputs

drifting wedge
#

o ok ty

#

@earnest phoenix tysm lol

#

ty

earnest phoenix
#

is there a way to reply to users with the new reply feature in dpy?

#

see their github

#

which one?

#

specifically issues/PRs to see if it's in the works

drifting wedge
earnest phoenix
drifting wedge
earnest phoenix
#

yeah pog

drifting wedge
#

if messages gets deleted the reply context gets fucked up tho

#

not for bot or something

earnest phoenix
#

yea

drifting wedge
#

but like for users

#

it looks strange

#

b

#

see

tawny scroll
#

I want the message ID to be searched on all channels, how can I do it?

lethal grail
#

module.exports = {
 name:"userinfo", 
 usage: "userinfo", 
 description: "shows information about a user.", 
 execute: async (message, args, client) => {
  const Embed = new Discord.MessageEmbed() 
 .setTitle(`User information`)
 .setDescription(`Name:\n${message.author} \nDevice:\n${message.guild.members.cache.filter(m => m.user.presence.status === current).size, acc) {}) } \nCreation Date:\n${message.author.createdAt}`) 
 .setColor("RANDOM")
 message.channel.send(Embed)
}
}```
#

don't see where the problem is

tawny scroll
#
 let msg;

            message.guild.channels.cache.forEach(async channel => {
               if(msg) return;
               msg = await channel.messages.fetch(args[2] || message.id).catch(() => undefined);
          
            
            reactionRoleManager.createReactionRole({
                message: msg,
                role,
                emoji
            
            });
            });
#

I wrote this code but I'm getting an error

thin turret
#

Error?

tawny scroll
#

Unkown message

earnest phoenix
#

I want cod for music bot 🤖

solemn latch
#

Then write it.

eternal osprey
#

hey guys!

sudden geyser
#

hi

eternal osprey
#
let res = await afetch("https://nycpokemap.com/raids.php?time=" + new Date().valueOf())
      let data = await res.json();
      const getName = id => nameList.filter(el => el.i === id)[0].n;
      let raids = data.raids.filter(raid => getName(raid.pokemon_id).toLowerCase() === options.name.toLowerCase() && raid.level >= (options.level ? options.level : 5))
      console.log(raid.pokemon_id + options.name)
      const reactionEmoji1 = message.guild.emojis.cache.find(emoji => emoji.name === 'valor');
      const reactionEmoji2 = message.guild.emojis.cache.find(emoji => emoji.name === 'mystic');
      const reactionEmoji3 = message.guild.emojis.cache.find(emoji => emoji.name === 'instinct');

      if (timer !== null)
      {``` still at this problem! Cannot read toLowerCase of undefined
earnest phoenix
#

No file ready ؟

eternal osprey
#

@sudden geyser how are you doing today?

earnest phoenix
#
const Discord = require('discord.js');
const yt = require('ytdl-core');
const client = new Discord.Client();


client.on('guildMemberAdd', member => {
  const voiceChannel = member.voiceChannel;
    if (!voiceChannel) {
      return;
    }
    voiceChannel.join()
      .then(connnection => {
        let stream = yt('https://www.youtube.com/watch?v=uKF3nWssCoE', {audioonly: true});
        const dispatcher = connnection.playStream(stream);
       
      });
})
client.on('guildMemberAdd', member => {
  
            member.addRole(member.guild.roles.find('name', '--1'));

})
client.login("token")
pale vessel
#

That is v11 code

solemn latch
#

v11 is depreciated.

stark abyss
earnest phoenix
#
const client = new Discord.Client();

client.on('ready', () => {
    console.log(`Logged in as ${client.user.tag}!`);
    client.user.setGame(` Coloring Team`,'https://www.twitch.tv/zya2d_')
    client.user.setStatus('ldle');
});
var prefix = "#";

client.on("message", message => {

            if (message.content.startsWith(prefix + "obc")) {
                         if (!message.member.hasPermission("ADMINISTRATOR"))  return;
  let args = message.content.split(" ").slice(1);
  var argresult = args.join(' '); 
  message.guild.members.filter(m => m.presence.status !== 'offline').forEach(m => {
 m.send(`${argresult}\n ${m}`);
})
 message.channel.send(`\`${message.guild.members.filter(m => m.presence.status !== 'online').size}\` : عدد الاعضاء المستلمين`); 
 message.delete(); 
};     
});
client.login("Token");```
eternal osprey
#

@earnest phoenix why are you sending your same code twice

earnest phoenix
#

@eternal osprey it’s not the same

livid lichen
#

Anyone know why I cannot install Discordjs-commando?

#
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058      
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/discordjs/commando.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent ```
sudden geyser
#

@livid lichen type git --version into your command prompt to see if you have git installed on your system/path

livid lichen
#

I will try.

#

@sudden geyser 6.14.8.

quartz kindle
#

how did you try to install commando?

livid lichen
#

@quartz kindle npm install discord.js/Commando

#

wait

quartz kindle
#

and your git version is v6? there is no git v6

livid lichen
#

npm install discord.js/commando

quartz kindle
#

git is on v2

sudden geyser
#

I think it's supposed to be discord.js-commando

quartz kindle
#

discord.js-commando is outdated

sudden geyser
#

o

#

why though

livid lichen
quartz kindle
#

show the output of git --version

livid lichen
# quartz kindle show the output of `git --version`
included, verify that the path is correct and try again.
At line:1 char:1
+ git version
+ ~~~
    + CategoryInfo          : ObjectNotFound: (git:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException```
quartz kindle
#

there you go

#

install git

livid lichen
#

Oh?

sudden geyser
#

just wondering, but where did you get 6.14.8 from

#

and yes install git

livid lichen
#

No clue.

quartz kindle
#

probably confused with git with npm

livid lichen
#

I downloaded it.

#

What now?

quartz kindle
#

install it?

pale vessel
quartz kindle
pale vessel
#

Lmao

quartz kindle
#

afaik the npm version of commando is for djs v11

livid lichen
#

Thanks for the help so far, it's downloading,

pale vessel
#

At least it's not deprecated (yet, maybe)

quartz kindle
#

it should tbh

pale vessel
#

Klasa is also gone

quartz kindle
#

lmao

#

klasa is gone? they gave up on klasa-core?

pale vessel
#

What happened to these frameworks

#

Yeah, some drama

quartz kindle
#

lmao rip

pale vessel
#

So you need to self maintain it 😩

livid lichen
#

@quartz kindle I downloaded it and it is all installed. Should I restart Studio?

#

Or my entire computer.

sudden geyser
quartz kindle
#

i dont feel like maintaining a discord lib otherwise i'd make one myself

livid lichen
pale vessel
sudden geyser
#

You may need to re-open the terminal

#

Then install it

livid lichen
#

Oh.

quartz kindle
#

@livid lichen see if git --version now works

#

if not, restart

sudden geyser
#

If it still fails, try closing vscode then installing.

#

It should be added to your path

livid lichen
#

It requires Git Hub?

#

How could I be so stupid-

sudden geyser
#

Another one of Ao's actions was to ban Kyra over "breaking copyright", and filing an unofficial DMCA takedown request to Kyra's work-in-progress framework.
He tried lol

sly stream
#

@abstract spire

quartz kindle
#

so they forked klasa into sapphire

#

but gave up on the whole custom lib part and went with discord.js

#

what a pitty

eternal osprey
#

hey

#

how do i set the server and player count of servers where the bot is in, as status?

rustic nova
#

oh wait no

#

you want it inside your status

eternal osprey
#

my bot's status yeah

#

yeah i have seen that

#

but how do i set the server amount in the status

#

isn't explained there

rustic nova
#

guildmanager has a .cache property, with which you can do .size to get your server count

eternal osprey
#

hmm so something like: js client.guilds.cache.size

rustic nova
#

yes

#

that should work from my knowledge, test it out with an eval if possible

eternal osprey
#

should guilds be defined?

rustic nova
#

guilds is defined through the GuildManager of client, so i don't think you'd need to

#

just test it out

eternal osprey
#

yeah i did

#

TypeError: Cannot read property 'size' of undefined

rustic nova
#

well that is at least what i get from the docs, do you get anything on client.guilds itself?

#

ohh wait

#

use size() instead of only size

eternal osprey
#

okay lets try that 🙂

#

nope

rustic nova
#

no clue then 2DSad

pale vessel
#

Show your code

safe creek
#
from discord.ext import commands


client = commands.Bot(command_prefix = "!", case_insensitive=True)

@client.event
async def onready():
    print("Im ready and online!")



@client.command()
async def Help(ctx):
    await ctx.send("test")```
#

doesnr send the word test

#

kinda annoying

#

just says Ignoring exception in command None: discord.ext.commands.errors.CommandNotFound: Command "Help" is not found

pale vessel
#

Did that onready work?

#

It should be on_ready

safe creek
#

whoops

#

ok i fixed that and it didnt reply

#

still

#

@pale vessel

pale vessel
#

Idk man

slender thistle
#

Is that all

pale vessel
#

You already set case_insensitive to true

safe creek
#

yup thats all

#

it sjust a wuick command

slender thistle
#

Are you sure you aren't overwriting client

safe creek
#

im not too sure

#

want the mainpy code

slender thistle
#

Sure

safe creek
#

k

#

how do i undo an delete

#

i just fucking fat fingered

jovial kite
#

ctr and z

slender thistle
#

Ctrl Shift Z

safe creek
#

ty

jovial kite
#

ctr z does the trick to

safe creek
#

it just closed the app

#

i have auto save on too

jovial kite
#

what

#

what are you using for coding?

safe creek
#

it closed VSC

jovial kite
#

it shouldnt

safe creek
#

I have auto save on

#

the code

#

the very long code

jovial kite
#

are you running windows?

#

or something else

safe creek
#

mhm

#

it closed VSC and now i cant undo

#

now i have to fucking rewrite it all

eternal osprey
#
const n = require("../n.json");
const Discord = require("discord.js");
const human = require('humanize');
exports.run = (client, message, args) => {
  if (message.author.bot) return;
  if (!message.guild) return;
  if (!message.member.hasPermission("BAN_MEMBERS") || message.author.id !== n.oID) {
    message.channel.send("You are missing the permission(s): Ban Members.");
  } else {``` cannot read property hasPermission of null?
sudden geyser
#

You sure Visual Studio Code doesn't save a log of persistent file changes.

#

eh nah, would expect you to save the file.

#

message.member is undefined.

eternal osprey
#

huh wait how

prisma oriole
#

probably because its a

#

dm

#

or its not cached

rustic nova
#

dm gets filtered out from if (!message.guild) return;

loud ingot
#

this is my code, and if you write wrong alias for the language, it gives and error message to me and stops the bot completely, any idea how to make it return an message in the channel the command got executed in and continue on as normal?

eternal osprey
#

@prisma oriole it is not

sudden geyser
#

You could log the value of message to see if member holds a guild member sometimes, or never.

eternal osprey
#

well damn it holds a lot of info

#

and yes, it does hold a member

loud ingot
#

Anyone have an idea how I can fix my code?

eternal osprey
#

@loud ingot you can also just wait until all the others have been helped.

loud ingot
#

I can wait, I was just wondering.

eternal osprey
#

yeah that's okay.

sudden geyser
#

Though I don't know why it would warrant a crash since I don't have most of your code. Just by looking at it the most it looks like are a few mistypings. Are you using the translate function correctly? Is there any special condition for it?

steel agate
#

Does anyone know why this isn't working please


// Welcome Message
client.on('guildMemberAdd', member => {
const guild = member.guild;
const channel = member.guild.channels.cache.find(channel => channel.name === "welcome");
if (!channel) return;

const Embed = new Discord.MessageEmbed()
    .setColor('#0a6af5')
    .setTitle(`Welcome to Server ${guild.server}`)
    .setAuthor('member.user', 'member.avatar')
    .setDescription('Server description')
    .addFields({ name: 'New member', value: 'member.user' }, { name: 'Account Created', value: 'account.created' }, { name: 'New Total Members', value: `${total.guild.members}` }, )
    .setFooter('ICE BOT' | './images/ice-bot');

channel.send(Embed);

});

loud ingot
#

I am using it correctly yes. And no, I don't think there is any special condition.

pale vessel
#

@steel agate Any errors?

#

If not then you most likely don't have the guild members intent

steel agate
#

ye no errors

#

what does that mean

pale vessel
#

Go to your bot page in developer portal

steel agate
#

okok

pale vessel
#

Look for guild members intent

#

Make sure you have it switched on

steel agate
#

where would it be please

rustic nova
#

Don't know if you have to specifically enable your Intents on discordjs too like in Javacord

pale vessel
#

You don't need to yet

pale vessel
#

Go to "Bot" section

#

Scroll down

steel agate
#

yep

stark abyss
rustic nova
#

yeah

steel agate
#

right ye there both on

stark abyss
#

hmm strange

steel agate
#

ill try again

stark abyss
#

console.log right at first line to see if it's your mechanic issue

steel agate
#

ok thanks

#

now it says total is not defined

#

client.on('guildMemberAdd', member => {
const guild = member.guild;
const channel = member.guild.channels.cache.find(channel => channel.name === "welcome");
if (!channel) return;

const Embed = new Discord.MessageEmbed()
    .setColor('#0a6af5')
    .setTitle(`Welcome to Server ${guild.server}`)
    .setAuthor('member.user', 'member.avatar')
    .setDescription('Server description')
    .addFields({ name: 'New member', value: 'member.user' }, { name: 'Account Created', value: 'account.created' }, { name: 'New Total Members', value: `${total.guild.members}` }, )
    .setFooter('ICE BOT' | './images/ice-bot');

message.channel.send(Embed);

});

earnest phoenix
#

Hello , I just DSL Bot to my servers now how to send voting link in my server ??

pale vessel
#

Well, it isn't defined so

#

It should be guild.memberCount

#

total.guild.members sounds like a pseudocode

flint sleet
#

How to setup channel who votes and when for my server? Using webhook

earnest phoenix
#

@languid dragon Hello , I just DSL Bot to my servers now how to send voting link in my server ??

pale vessel
#

Nice

earnest phoenix
#

@pale vessel HELP PLS

flint sleet
#

Yes me need help

#

@molten yarrow how to setup webhook for who vote when for my server .how much vote ..

loud ingot
molten yarrow
#

put your whole embed and send into result cb
you dont have result outside of your cb :3

steel agate
#

now its saying message is not defined

#

client.on('guildMemberAdd', member => {
const guild = member.guild;
const channel = member.guild.channels.cache.find(channel => channel.name === "welcome");
if (!channel) return;

const Embed = new Discord.MessageEmbed()
    .setColor('#ae0e00')
    .setTitle(`Welcome to`)
    .setAuthor('member.user', 'member.avatar')
    .setDescription('Server description')
    .addFields({ name: 'New member', value: 'member.user' }, { name: 'Account Created', value: 'account.created' }, { name: 'New Total Members' }, )
    .setFooter('ICE BOT' | './images/ice-bot');

message.channel.send(Embed);

});

molten yarrow
#

use code blocks when u post code, its easier to read @steel agate

flint sleet
#

Anybody help ?

molten yarrow
flint sleet
#

@rustic nova can u help

#

Sry for ping

pale vessel
#

It's a guildMemberAdd event

molten yarrow
pale vessel
#

There's no message lol

steel agate
#

ah 😦

flint sleet
#

Hoggers ?

loud ingot
#

@molten yarrow thank you so much! Your help was a lifesaver. I really appreciate it!

molten yarrow
#

u welcome :3

stark abyss
#

@steel agate you just do channel.send(Embed) not message.channel

molten yarrow
#

@loud ingot you also see if your definition is grey, its not used

loud ingot
#

Ah, i'll remember that. Thanks!

flint sleet
#

@stark abyss hey

stark abyss
#

Hi

#

don't ask to ask just ask

flint sleet
#

I need help setting up webhook . To know who voted my server and when ..
I asked alot of times here bt no response

flint sleet
stark abyss
#

if you need help feel free to ping me again but you should read the docs and try first

flint sleet
#

Sure .

plain axle
#

How do i set CSS backgrounds?

#

On my bot

past needle
#

you want to

#

add a css background

#

to a discord bot

#

,_,

#

?

stark abyss
#

I think he means he wants a css background on his top gg bot website

fringe shale
cinder patio
#

Just add a style tag to your bot description. If you are using markdown for the description, I'm pretty sure you'll have to switch over to html in order to be able to use css

rustic nova
#

Not really, you can also add style if you have existing markdown

frail yarrow
#

how i put an embed in message.channel.send
like: message.channel.send({embed: ...})

#

;-;

rustic nova
#

@frail yarrow

frail yarrow
#

ok

#

thanks

rustic nova
#

Define MessageEmbed, insert the things you want inside it, and then use the embed variable to use it inside send

frail yarrow
#

i now that\

#

but i want something more practice

#

''-'

rustic nova
#

practice?

earnest phoenix
#
message.channel.send({
    embed: {
      color: '#000000'
      description: 'okay'
    }
})``` u mean something like this @frail yarrow
safe creek
#
from discord.ext import commands
import asyncio

client = commands.Bot(command_prefix = "!", case_insensitive=True)

@client.event
async def on_ready():
    print("Ready")
    return await client.change_presence(activity=discord.CustomActivity(name="Do !help to get commands", emoji=None,))

@client.command()
async def ping(ctx):
    await ctx.send("Pong!")``` Doesnt show the custom activity but the streaming one works fine?
slender thistle
#

Bots can't have custom statuses

earnest phoenix
#

$hi

safe creek
#

but it says in the docs

earnest phoenix
#

that's wrong then

slender thistle
#

discord.py covers all parts of the API, yes. However, that doesn't mean all of them are prone to work on specific accounts.

#

Friendships are supported by discord.py, but those are available to users only.

safe creek
#

hmmm but if it cant have custom activitys why is it in the docs?

earnest phoenix
#

it's not for bots

safe creek
#

oh

slender thistle
#

Users can have custom statuses, bots can't

safe creek
#

huh ok

jovial kite
#

you can set a game status

#

but not a custom one

safe creek
#

also is there anyway i can change my bots #2024?

earnest phoenix
#

nope

safe creek
slender thistle
#

Can receive custom status, can't use it

safe creek
#

mmmk so mee6 is special FeelsSpecialMan

earnest phoenix
#

how?

safe creek
#

dw

earnest phoenix
#

ok....

safe creek
#

anyway thanks

drifting wedge
restive furnace
slender thistle
#

Asking for codes generally isn't allowed here

#

And specifically in cases with bot makers, you'll have even less help

safe creek
slender thistle
#

as those are not tolerated/supported here

drifting wedge
#

offtopic whats bdfd? bot maker for discord?

#

like a bot maker app?

earnest phoenix
#

yeah

safe creek
#

Yeah he means bot maker for discord

#

Which is really easy any way lmao

#

The have an literal doc build inside the fucking app lmao

slender thistle
#

Bot Designer For Discord

drifting wedge
#

o ok

#

umm i recommend honestly coding it

#

like you can make stuff so easily and you can be like: "I made this!"

safe creek
#

Just some people can’t code or are just FeelsSpecialMan

drifting wedge
#

i mean honestly coding isnt even that hard

safe creek
#

Ikr

drifting wedge
#

i started coding what like 3-5 months ago

#

i am already a python wizard

#

tho i started with dpy

safe creek
#

It only took me 5 hours and a lot of errors to install discord.py but apart from that it’s really easy

drifting wedge
#

i dint know any python

earnest phoenix
#

how many servers are required to verify my bot?

safe creek
#

I only know print(“”) lol

drifting wedge
#

i wanted to start coding a lot earlier but i couldnt figure out how to install python (PATH thingy) so i just kept giving yp

safe creek
#

Whoops that emoji had the nword

#

I did not notice

drifting wedge
#

?

safe creek
hollow sedge
safe creek
#

It’s not @hollow sedge

drifting wedge
#

not serious

safe creek
#

For some people who are FeelsSpecialMan the it is

hollow sedge
#

alright, sure, maybe what you're doing isn't hard

#

but coding IS hard

safe creek
#

No

#

Not really

#

Pogchamp

drifting wedge
#

I AM SERIOUS MAN!

hollow sedge
#

oh wow we've got a genius over here

safe creek
#

Yes 👍

hollow sedge
#

so

#

what have you done so far?

#

with coding

safe creek
#

Bot stuff

hollow sedge
#

discord py?

#

how can you say it's easy when you've only done one thing

safe creek
#

I haven’t done just one thing

stark abyss
#

python is one of the easiest language

hollow sedge
#

^

safe creek
#

^

hollow sedge
#

what?

drifting wedge
#

guys

hollow sedge
#

how are you agreeing with that

safe creek
#

Yes

drifting wedge
#

u guys have atom?

safe creek
#

What

drifting wedge
#

imma share a teletype link here, lets all make a bot together lmao

safe creek
#

ok

stark abyss
#

I don't have atom

hollow sedge
#

so you have made something other than a bot? @safe creek

#

what is that

safe creek
#

Time to destroy the bot FeelsSpecialMan

drifting wedge
hollow sedge
#

so you said you have, but you haven't?

#

wth

safe creek
#

When?

drifting wedge
#

ive made some stuff

#

but nothing bug

hollow sedge
drifting wedge
#

like the bot is the driving force for me learning python you know

stark abyss
safe creek
#

Yeah I was talking about my bot @hollow sedge lmao

hollow sedge
#

bruh

drifting wedge
#

html is easiest

#

not even a lang doe

safe creek
#

Very

drifting wedge
#

but u can do a lot with it

safe creek
#

Lol

#

Ikr

hollow sedge
drifting wedge
#

i thought css was complicated, but honestly its just python style tags lmao

safe creek
#

@stark abyss you find html hard?

drifting wedge
#

html style tags*

hollow sedge
#

try making something else before you say coding is easy

stark abyss
#

idk

safe creek
#

Hmmm?

hollow sedge
#

yes

safe creek
#

Like?

hollow sedge
#

but i dont have to justify that because I'm not the one saying that it's easy

safe creek
#

And that’s where I say bullshit and also say “try making something else before you say coding is easy”

hollow sedge
#

alright i dont understand what you're saying

stark abyss
#

try making something else before you say coding is easy

hollow sedge
#

it's obvious this isnt going anywhere anyway

stark abyss
#

yep let it be

safe creek
#

Yup

stark abyss
#

let me look at your bot dm invite link

livid lichen
#
                     ^

ReferenceError: Cannot access 'CommandFiles' before initialization ```
#

No matter where I put my line of code, it always says this.

earnest phoenix
#

u defined CommandFiles after that line of code

#

put it before and remember to save

livid lichen
#

Oh lol

#

Thanks.

earnest phoenix
#

np

#

how many servers are rquired to verifiy my bot

#

?

solemn latch
#

verify as in discord verification?

earnest phoenix
#

yep

#

get my bot verified

#

like this bot

#

it needs to be in 100+ servers i assume

#

jum

#

i'll ask to discord support

stark abyss
#

@earnest phoenix 75+ servers but fake servers won't count

#

it will dm you if you can apply for verification

hot flare
drifting wedge
#

i have a side navbar

#

how does this happen?

#

it like glows kinda

#

dont know how lmoa

digital ibex
#

just manually change it

hollow sedge
#

@drifting wedge wdym? it's so easy /s

drifting wedge
#

i dont know how

#

like i dont know what css is making it do it?

#

likt its kinda of a glow

flint sleet
drifting wedge
#

lemme take another pic

stark abyss
#

what do you mean?

drifting wedge
#

here

#

like it kinda glows

#

its wierd

hollow sedge
#

probably box-shadow

flint sleet
#

@stark abyss

hollow sedge
#

why would you do that in mobile?

stark abyss
#

oh

#

i think there is a bot for that

drifting wedge
#

shadowfox, yet again

#

thanks

flint sleet
#

Bot name ?

drifting wedge
#

cloudfox

#

lmaooo

hollow sedge
#

lol

#

i was confused

drifting wedge
#

thanks tho

hollow sedge
#

np

flint sleet
#

@stark abyss

drifting wedge
#

making my dashboard

#

so its a big complicated lol

hollow sedge
#

yeah

#

gl

drifting wedge
#

thanks

stark abyss
#

one bot i know is Fuku Kaichou#8631

#

there are probably others

#

and lmao i wasn't aware you were thinking for your server i thought it was your bot

flint sleet
#

Nope .i was looking for server .not for bot @stark abyss

#

Can u tell me some more bots .to do this?

stark abyss
#

Just use top gg

#

I meant use top gg to search for bot

#

I don’t know other bots

flint sleet
#

No bot found in name "fuku kaichou"

frail yarrow
#

;-;

hard anchor
#

||@client.command(pass_context=True) async def meme(ctx): embed = discord.Embed(title="", description="")
async with aiohttp.ClientSession() as cs:
async with cs.get('https://www.reddit.com/r/dankmemes/new.json?sort=hot') as r:
res = await r.json()
embed.set_image(url=res['data']['children'] [random.randint(0, 25)]['data']['url'])
await ctx.send(embed=emb||ed)

shadow crag
#

how do i hyperlink embed

bold moon
rustic nova
#

@shadow crag (text)[link]

shadow crag
#

ok thank

rustic nova
#

ah fuck i did it wrong way lmao

bold moon
#

i think its the other way around h

#

haha, its fine

#

i messed up when coding that as well

#

happens.

rustic nova
shadow crag
misty sigil
#

footer or field titles dont work

#

or title

rustic nova
#

yes

hard anchor
#

send me the code without the error? I would really appreciate it

misty sigil
#

or author iirc

opaque lake
daring sonnet
#

Does any bot that anyone knows of, have a way to - Take a DM and send it to a server channel? Example: I want to set up a suggestion bot, where people can DM the bot suggestions for my product, and the bot will then send that message to a channel in my discord that only my admins can read?

haughty mirage
#

Ez

#

Filter messages by DM, then use .content to get the message

#

@daring sonnet ^

daring sonnet
#

I have no idea what that means.

#

I am looking for a bot that does this. I am not interested in making my own at this time

haughty mirage
#

Lol

#

Wrong channel to ask in then

daring sonnet
#

I asked in General, I got sent here.

#

Suggest another channel for me then?

past needle
#
client.on('message',  message =>{
if(message.content.startsWith('!suggest') && message.channel.type === 'dm'){
message.reply('suggestion sent!') // be sure the command works
const suggestion = new Discord.MessageEmbed() // create an embed
.setAuthor(message.author.username,message.author.displayAvatarURL({dynamic : true /* nitro profile picture too*/}))
.setDescription(message.content.split(' ').slice(1).join(' ')) // the message content without the command
client.channels.cache.get('channel id').send(suggestion) // send the embed
}
})
``` @daring sonnet
rustic nova
haughty mirage
#

Tsk

past needle
rustic nova
#

though, they are referring to an actual bot that has that feature, because they are not experienced with coding

past needle
#

ooooooooooooh

#

fk

hollow sedge
#

why would you just write the whole thing

past needle
haughty mirage
sudden geyser
#

you legit just exit

#

What do you want to do.

#

debug what though. Why not just run the app?

#

I'm still confused. Do you want to run your program or something? You should create a script for running your app called start, where the value will be node .

#

Aka json { "start": "node .", "test": "..." }

#

but I just told you what you need

haughty mirage
#

Yes

mortal star
#

does anyone know why the Message object in my case does not have a delete method? in discord.js documentation this method is described

#

node <filename>

haughty mirage
#

.js on end?

sudden geyser
#

node . should work, they specify the main file in their package.json

mortal star
#

you can not indicate it

sudden geyser
#

that's considering their main file is called index.js

sudden geyser
# mortal star

message.reply(...) returns a Promise. You need to resolve it via async/await or .then/.catch.

mortal star
#

oh he already has that

mortal star
sudden geyser
#

Yes, but it's still wrapped behind a promise.

#

So you still need to use async/await

mortal star
#

oh okay

sudden geyser
#

You may want to start by learning the language and Node.js first

earnest phoenix
#

tf

sudden geyser
#

xLyniix do you understand what npm is and how to use it.

#

Okay, now do you understand JavaScript as a language?

leaden lake
#

if (resultbypass != (None,)) or (resultbypass is not None) :
Can anyone help me ? I got an error because it goes inside of the if, but when I print it, it is (None,)
I don't know how to fix this

python language

sudden geyser
#

@leaden lake you don't need the parenthesis around your expressions in the if condition.

#

What is resultbypass equal to?

leaden lake
#

resultbypass is equal to (None,)

#

it's a tuple

sudden geyser
#

Hmm, but when you print it inside the if condition, resultbypass is still (None,)? Could you possibly rephrase your question? I'm a bit confused on, "because it goes inside of the if"

leaden lake
#

@sudden geyser

quartz kindle
#

not sure about python, but im pretty sure you cannot compare tuples directly like that

sudden geyser
#

I think you can

quartz kindle
#

if you do () == () will it return true?

sudden geyser
#

yes

#

@leaden lake I think the issue is the or operator. resultbypass fails the first check, but passes the second one as a tuple is not equal to None.

leaden lake
#

I tried if not None in resultbypass :

past needle
#

||t'est fr||

leaden lake
#

||yep||

earnest phoenix
#

Is it possible to put data in a specific position when using the method updateMany in mongoose

#

wait it's not possible ^

sudden geyser
#

Then you may want to remove the user ID check in your filter.

#

You should also await message.react(...) so there's no chance the bot's reaction is counted first.

earnest phoenix
#

i need help with pymongo, how can i get whole row from collection

#

thanks

hollow sedge
#

MongoDB doesn't have rows

#

Do you mean a document?

earnest phoenix
#

yeah

hollow sedge
eternal osprey
#

hey is anyone here familiar with heroku?

hollow sedge
#

what's the problem @eternal osprey

eternal osprey
#

this is the problem

#

it is killing me

earnest phoenix
#

i need help, my code stucks at collection.insert_one() and not advance

#

no errors

eternal osprey
#

@earnest phoenix sorry i don't know. Couldn't you wait with your question as someone already was first?

earnest phoenix
#

yes sorry

past needle
#

no need to be aggressive :-:

eternal osprey
#

it's okay 🙂

#

i am not aggresive

earnest phoenix
#

i just want to this work i am very sorry

eternal osprey
#

bro it is all good!

#

could you show your code?

#

bin it

earnest phoenix
#

yes

hollow sedge
#

why are you pushing from heroku anyway @eternal osprey

#

what is mint @earnest phoenix

earnest phoenix
#

so in my bingo bot command is &startBingo 10 y, 10 is mint minutes from now when will bingo start and y is yes (to loop)

hollow sedge
#

i dont understand what you are saying

#

where is mint defined?

#

and how are there no errors?

earnest phoenix
#

async def startBingo(ctx, mint, loop):

#

&startBingo 10 y

frank crescent
#

Hello

#

I need some help

#
raise ClientConnectorCertificateError(
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1124)')]
#

I got this error

earnest phoenix
#

and my code doesnt advance

hollow sedge
#

so "made database" does not print?

earnest phoenix
#

yes

#

ohhh i get it why theres no error

#

i didnt put raise error

frank crescent
#

did you realise that from my post

earnest phoenix
#

let me check error

#

sorry for my stupidity

hollow sedge
#

wait what? you shouldnt have to do that

frank crescent
#

I'm going to give more context

#

So, I'm using python. Discord.py and all. I made a code that just does a basic command, just wanted to see if I can get the bot up and running.

earnest phoenix
#

so the error was bson.errors.InvalidDocument: cannot encode object: <discord.ext.commands.context.Context object at 0x000002C8AFDFFF70>, of type: <class 'discord.ext.commands.context.Context'>

frank crescent
#

I tried to run the code but I got the error message from above

#

B[

earnest phoenix
#

the error was causing "ctx": ctx, thanks

earnest phoenix
#

how to get channel id from ctx i cant find on google

frank crescent
#

I figured it out

errant perch
#

whenever i try to run the function inside of the for loop it only gets the last value of the array. i want it to use all the values inside of the array

setInterval(() => {
    var array = ['719362069975138354', '331222209299349504']
    for (var i = 0; i < array.length; i++) {
      var userID = array[i]
      const tdvApi = require('tradingview-scraper');
      const tv = new tdvApi.TradingViewAPI();
        tv.getTicker("aapl").then((resp) => {
         console.log(userID);
      }).catch(err => {console.log(err)})}
    }, 5000);
});```
silver lintel
#

in message.mentions.users.first(), how would you get he second mention

errant perch
#

const userArray = message.mentions.users.array();
console.log(userArray[1]);

#

im pretty sure that would get the second mention

#

if it gets the first one change the 1 to 2

cold basalt
#

id

sudden geyser
#

@errant perch I'm not entirely sure, but I think this is due to JavaScript saving the values by references rather than values. Instead of using .then/.catch, could you try using async/await instead?

errant perch
#

ok i'll try that out

frank crescent
#

If anyone's free I have a few questions, I'm coding a bot using Python.

#

First time.

sudden geyser
#

Feel free to explain your issues here

frank crescent
#

It's not an issue, I just want to clear some stuff up

#

Can my bot use CSV to store and read data

#

A CSV file

sudden geyser
#

Yes, but why not use a database (SQLite, Postgres, etc.)?

frank crescent
#

First time

#

I'm not sure what those are

#

The purpose of my bot is to make a Character profile and show/edit the amount of capital the character holds

earnest phoenix
frank crescent
#

I know the syntax and I've done Eulars project

#

I'm not sure if I've done a lot but I've done a good number of them

earnest phoenix
#

Do you know about defines and variables

frank crescent
#

def

#

Yeah

earnest phoenix
#

Variables?

frank crescent
#

I'm pretty sure I do

#

I'm going to say yes

earnest phoenix
#

Variables are like
variablename = "string output"

frank crescent
#

Yeah

earnest phoenix
#

You can use input aswell

sudden geyser
frank crescent
#

Okay

#

Thank you

sudden geyser
#

Np, I recommend you use SQLite if you're new though.

frank crescent
#

Gotcha, I'll watch some YouTube videos

#

B]

earnest phoenix
#

@frank crescent if you want useful resources for python you should join the python discord ducky_dave

frank crescent
#

I'm in a programming discord

#

Programming discussion

hollow sedge
#

@frank crescent you can start with csv files if you want

#

and then move on to an actual db

frank crescent
#

Alright

#

I think I'll do that then

earnest phoenix
#

@frank crescent it has resources for the python coding language and its a non toxic discord

frank crescent
#

But I will look into SQlite too

#

Once I get tha hang of it I'll implement it

#

@earnest phoenix hit me up with an invite

earnest phoenix
#

Just google python discord

frank crescent
#

Oh okay

earnest phoenix
#

It's partnered with discord as well omegahaha

sudden geyser
#

When learning Python, I recommend three sites:

  • The Python Tutorial (glossary tutorial)
  • Realpython (articles, long)
  • Hyperskill (courses, recommended for beginners)

Hyperskill, in my opinion, is the best for beginners, but it's moving towards a subscription model by the end of the year. Though, if you sign up early, you can get some additional months added for free.

earnest phoenix
#

Or use pycharm edu Community courses

sudden geyser
#

They also have Java & Kotlin courses.

#

Crewmate Hyperskill uses that educational stuff

frank crescent
#

I've learnt python

#

It's more of putting what I learnt into practice now

earnest phoenix
frank crescent
#

But ima save these thingies

earnest phoenix
#

For some reason pycharm edu has rust lessons

frank crescent
#

@sudden geyser was it called SQLite

earnest phoenix
#

Yeah

sudden geyser
#

that's the name of a database

earnest phoenix
#

I use json for server prefixes

#

Should i use sqlite

frank crescent
#

I need to learn json

#

I've put it off for too long

#

Man lyk json

earnest phoenix
#

@frank crescent what ide do you use

frank crescent
#

IDE?

earnest phoenix
#

A text editor that's designed for a specific coding language

frank crescent
#

I use Visual studio code

earnest phoenix
#

Like pycharm community and edu is directed at python

#

@frank crescent what os do you use (windows mac linux and ect)

frank crescent
#

Windows but I'm learning Linux

#

Going to learn Linux*

earnest phoenix
#

Linux is a operating system

frank crescent
#

I need a laptop to put Linux on

earnest phoenix
#

Oh

frank crescent
#

Kali Linux ✊

#

Mr Robot time

earnest phoenix
#

Use ubuntu

#

Or debian

#

They're secure

frank crescent
#

Ty

#

I've never done Linux before

#

Mr Robot was why I got into python lol

earnest phoenix
#

Ubuntu has guides for installing python

#

I meant installing it from a windows machine facepalm

frank crescent
#

I've heard of something

#

Called R

#

In Linux

#

Is R a terminal?

earnest phoenix
#

R is a programming language