Coding is Life
@elipie
when pog
I know it has been a while since the new .draw file came out, but I was just experimenting with it this weekend, and I had an idea for one of my proje
Coder100 draw is a replit exclusive file extension.
So that means only repliters can use draw 😎
choose replit®
btw the .draw file is literally just a json file so maybe you could create a github ext to make it render into a png idk2 years ago
lsikora Overall I couldn’t get GitHub to work with Repl.it at all. Basically I imported a GitHub and put in the language. Then it asks you to put in a command and the program will run. I never yet figured out what command to run and so I haven’t been very successful.
Thanks,
CodeMaster 0072 years ago
1
SwirlCreated by @theangryepicbanana | Write Processing in Java using processing.js. Edit the .java file to get started. Share the web URL!
one of my first java processing projects. I made this in 2020!
14
1
1
Hello, I have been working on a project recently, and I have ran into a problem.
None of the things I google give me clear answers to what I am askin
Coder100 YOOO WORKING REPL
https://replit.com/@Coder100/elipie-go-BRRRRRRRRr-AmpleElatedAgents#main.py2 years ago
ok i kinda get it... they are good at the language and they want to show others how good they are at the language. Oh and sometimes help people out
b
Ok im back, and I was on teh search of epikk and trashy memes. Some I made, some, others made.
Right now its pretty small, so I really dont care if t
HTML, CSS, JS
FlaminHotValdez yknow i've been forced to use k,l,m, and one time o, p, and q in loops. #dealwithit2 years ago
I am finally back from my break from replit. Yay! I worked a lot on unity and stuff but I missed this place... oh ye we finished the tutorial finally,
JBloves27 Maybe some kind of sim?
Or a 3d game? that would seem pleasant
oh! how about something with all the langs you know combined? XD2 years ago
As you can see from the repl, I have a folder named parser and in that folder are three files: parser.cpp parser.h ast.cpp.
In parser.cpp I am trying
C++
programmeruser Try #include "../Lexer.h"
Also, you shouldn't be including Lexer.h, the lexer and parser should be two different things.2 years ago
The error:
main.cpp(stuff): undefined reference to 'mainLexer()'
How can I fix this?
I define the lexer struct to obj(i think its like that) and then
C++
yeah, I am trying to create a simple music app, but I can't even link the CSS style sheet please help!!
Python
RYANTADIPARTHI try this in your html page
it's in the folder static, and in the folder of static is a folder called css, and in there is main.css. like that.
static - css - main.css2 years ago
BD103 You have to use url_for(). Your index.html file should look like this:
repl.it
PieMusic
Also rename your Other folder to static.
For more info, you can go here and here.
:D2 years ago
programmeruser @app.route('/')
def send_static(path):
return sendfromdirectory('other', path)
`2 years ago
hi, i haven't been that active on repl talk, because i got some school(smh) and I am resuming the 100 days of language development. Here is a question
I am currently learning more of C++, Rust, and Ruby, and I wanted to post one of my exercise projects on repl so some of you can see what I am doing!
C++
Right now, this is obviously not finished. It can do basic stuff like: 1 != 2, and I think I really needed this, because now I have a better point of
Python
BobTheTomatoPie bruh wont even let me do equations past 2 numbers. You can use eval although it will make hacking this extremely easy, and it would then most likely be unlisted. Not sure what all the checking if equal stuff is about.2 years ago
Hello peoples
Today I will be teaching you some discord.py stuff. Its gonna be epiiccc!!
Lets get into it :))
Number one VERY IMPORTANT
Create an ap
TsunamiOrSumth i have a suggestion; make the title
DISCORD.PY TUTORIAL [POG] MAKE YOUR OWN DISCORD BOT!! [POG] [SUPER POG]2 years ago
So if you are moderating talk(like @Coder100) then you would know that I am making a...
DISCORD BOT
in python :|
:)
Oke, so now whenever I turn off m
I want to delete a message when a user says 'nono word' and I tried doing this:
message.delete()
but nah it dont work
ALL MEH NED TO KNOW IS HOW TO
Coder100 There are two things that are required
1. you have permissions (DELETE_MESSAGES)
2. you can do it
client.on('message', msg => {
if (msg == 'nono word') {
msg.delete()
}
})
https://stackoverflow.com/questions/60817877/discord-js-delete-message-by-id2 years ago
SixBeeps Does your bot have the permissions to do so? I was doing something similar with Discord.js and I ran into that.2 years ago
So, I am making another discord bot, but this time in python. I hoped I would get flawless, beautiful code, but nahhhh. That is not coding. Coding is
CoolJames1610 Also, I would store your TOKEN in a .env file as it is visible TO ALL - which means anybody can control your bot.
To do this in python, create a .env file and put token=[YOUR TOKEN]
then in your main program have
import os
token = os.environ.get("token")
bot.run(token)
`2 years ago
Alrighty
da program
Ok so I am trying to make a program to sort through files, its gonna be noice. I am reading it char by char chars and word by wor
Python
KHZ @elipie There are many things that can be corrected in your program so I just made a new one. You can take a look at this one:
file = open("file.txt", "r")
words = 0
chars = 0
This reads the whole program and converts it into a string
c = file.read()
This then splits that string at new lines and converts it to a list
lines = c.split("\n")
We then loop through the splitted list
for line in lines:
Then we check each char of a line and if it is not a space it will add one to the char variable
f2 years ago
Alr, so basically, I need help styling and someone who knows their stuff. By someone who knows their stuff, I mean knows stuff about coding. This mean
elipie @pepelaugh @xxpertHacker @OscarSowerbutts @Coder100 everyone check my profile pins, its not that i am trying to create a language, I am literally just trying to make a website kinda like w3schools but with the name...
Piecademy
2 years ago
The results
Before we get into the results I want to say that I hate judging, and I wish everyone could get something, though no one sponsered this,
Python
Ok first off, I suck at js in general, second off my friends gave me this theme for all the types so do NOT judge me. Pls do not judge me
const Discor
Squirrel777 Like this:
client.on('message', msg => {
var myArray = ['Hi', 'Goodbye', 'poopy lol'];
const random = Math.floor(Math.random() * myArray.length);
msg.reply(myArray[random])
});
Like that?
And to display it in different lines of the message, dont do \n in discord.js! Instead, use:
const list = myArray.map((item, i) => ${item}).join("\r\n");
const displayMyArray = commands.map((item, i) => ${item}).join("\r\n");
`2 years ago
ObiVibKenobi const Discord = require('discord.js');
module.exports = {
name: 'pie',
aliases: ['pie','pie'],
description: "Have the pie nerd generate a random pie recipe!",
ownerOnly: false,
guildOnly: false,
cooldown: 3,
async run(client, message, args ){
var piecrusts = ['wrinkled toes', 'epic long fingers', 'skin', 'delightful melting ice cream crust', 'mystery', 'ice cream(how tf does that work!?)', 'regular crust boi']
var pie_fillings = ['long fingers', 'gamers', 'headphones', 'b2 years ago
Coder100 what was that js?
const Discord = require('discord.js');
module.exports = {
name: 'pie',
aliases: ['pie','pie'],
description: "Have the pie nerd generate a random pie recipe!",
ownerOnly: false,
guildOnly: false,
cooldown: 3,
async run(client, message, args ){
var piecrusts = ['wrinkled toes', 'epic long fingers', 'skin', 'delightful melting ice cream crust', 'mystery', 'ice cream(how tf does that work!?)', 'regular crust boi']
var pie_fillings = ['long fingers'2 years ago