Questions tagged [repl.it]

Questions related to the popular online development environment repl.it. Questions should be related to the use and functionality of the repl.it editor/console itself rather than questions about programs developed on repl.it.

Website link: https://repl.it.

318 questions
0
votes
1 answer

I'm coding a discord bot and getting "UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of null"

I'm asking the person a question, and they reply with the time they want to get pinged at. I push all the data to an array after the collector has ended, then split the last string at ":" to get the hour and minute for the ping, then save it to a…
0
votes
2 answers

Incompatible code with node version on repl.it

As you can see, this is regarding discord.js bot. I've already upgrade node.js on repl.it into version 16 but even after I update it, when I click run, the following error still pops up on the…
0
votes
1 answer

discord.js want to set database for all guild member

I need to set the bank database for all server members as 10000 and here is my code client.on('message', async message => { if (message.content === '#bank') { var guild = client.guilds.cache.get('644523866638647316'); await…
0
votes
2 answers

Python: yahoo_fin.stock_info.get_quote_table() not returning table

Goal: The goal is to generate a robot in replit which will iteratively scrape yahoo pages like this amazon page, and track the dynamic 'Volume' datapoint for abnormally large changes. I'm currently trying to be able to reliably pull this exact…
Seth Bowers
  • 31
  • 1
  • 6
0
votes
1 answer

Discord.py Bot Takes too Long to Respond

Goal: I'm developing a discord bot which scans a url every 5 seconds or so, checks for a specified change on that webpage, and will send a message in the discord channel if that change occurs. I've done this by sending the url to the bot using an if…
Seth Bowers
  • 31
  • 1
  • 6
0
votes
1 answer

Repl.it unhandled promise rejection

I wanted to implement a rudimentary leaderboard to my game on Repl.it, so I created a node.js backend. This is what I have on the backend: const express = require('express'); const Client = require('@replit/database'); const db = new…
new Q Open Wid
  • 2,225
  • 2
  • 18
  • 34
0
votes
0 answers

How to get the url of the webpage which is currently opened in my browser?

I am working on replit.com. I have created a repl. I want to get the complete URL of the webpage I am currently on using python. How can I to do so?? Thanks. I marked the URL which I want.
0
votes
1 answer

Value error circular reference detected Python

I was writing a simple function on discord.py I had tried online databases to host the bot import discord from discord.ext import commands from replit import db client = discord.Client() bot = commands.Bot(">", case_insensitive =…
Vishal
  • 11
  • 2
0
votes
3 answers

How to access node_modules folder in replit?

I want to copy some files in node_modules folder in replit but it seems that the folder is hidden and i cant create the folder too as it says that the name is reserved. Any solution to add files there ?
0
votes
1 answer

How to prevent weekly / periodic discord bot offline statuses (hosted on Repl.it)?

So I'm hosting my discord bot on Repl.it with the hacker plan and its on the always on mode and for the most part, the bot is online 24/7. However, I've started to notice weekly / after a couple days of being online, the Discord bot randomly goes…
Harshith
  • 66
  • 2
  • 5
0
votes
1 answer

Dependencies Issue of Chromium | Puppeteer | Repl.it

I am recently working on a fun project in repl.it where I need to use puppeteer as a browser automation tool. And after adding this package in my repl some error showed up saying, Failed to launch the browser…
0
votes
1 answer

Login and password variables

Good afternoon! I was told to do login and password variables with python on repl.it. The program should check them for these values: The password must consist of numbers and letters, with a minimum length of 8 characters Login must be 5 characters…
Andriy
  • 35
  • 5
0
votes
1 answer

Using Star Growth with letters in a string

I have this activity where I have to use star growth in a string where it grows with the amount of a character in the string. Here is an example: star_match_growth("incandescent", "c") and have it return as: inc*andesc**ent and have it continue if…
Zoren Singh
  • 310
  • 2
  • 8
0
votes
0 answers

Replacement Character appearing in my colored output

I've got a strange problem I can't seem to diagnose effectively. I wanted a simple tool that could take a BufferedImage and print it to a console for my class. In relpit, the console's font uses perfect 2-1 characters, so to print a pixel, you only…
0
votes
2 answers

Issue in scraping data in bs4

I want to scrape data from this website: "https://sephora.ae" and I have written this code import requests from bs4 import BeautifulSoup import json def sephora(URL): # opening our output file in append mode File = open("out.csv", "a") …