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
0 answers

A normal discord bot hosted on replit running live for more than a month

I don't know what happened. A live bot on repl.it had been running for more than a month goes offline suddenly. console.log(`Logged in as ${client.user.tag}!`); }) This part doesn't happen to work. I tried changing the login id as well…
0
votes
1 answer

Python script to send a notification on Widows

I want a Python script running on repl.it to send a notification to my Windows PC. How can I achieve this? The script runs 24/7 in REPL, I want it to send a notification to my PC if it's online when a value becomes True.
NitroX
  • 9
  • 2
0
votes
1 answer

how do I import replit module to python?

I made a blackjack game and a calculator following an online tutorial, however the only tutorial used replit module (from replit import clear -> clear() ) (replit being the website/online interpreter). I am now trying the same program in vscode: is…
Seedr San
  • 1
  • 1
0
votes
0 answers

I can't make a request to an API in Repl.it

I'm creating a discord bot in JavaScript and I make a request to an API, when I run the bot on my computer everything works fine, and I wanted to automate my bot so I moved it to Repl.it, the problem it's that on Repl.it, my requests don't work, it…
Kilyan_T
  • 9
  • 1
0
votes
1 answer

How do I use environment variables (repl.it) to create an array?

If you're not aware of this, environment variables are kind of like secret values in Repl.it as Repl.it makes your code publicly available for everybody. I have a set of keys that I want to remain hidden on the website, and I want the website to…
grf
  • 3
  • 1
0
votes
1 answer

Discord.py 2.0 on Repl.it

I want to make discord bot that uses buttons I downloaded library and ewerything. It works but because I am using Repl.it i have to use web + uptimerobot so it will never turn off. Even after that it seems every few hours to quickly turn off and…
user19167602
0
votes
1 answer

How do I fix an error where i want to check if a letter is in a word?

I am writing a game which has a set of rules to determine which card is a top trump however, when i want to say if "R" for example is in the word R1 do something, as i think that is my error, much appreciated help, Thanks. My game has 3 different…
0
votes
1 answer

DiscordAPIError: Cannot send an empty message at RequestHandler.execute

As one of the first bigger js/node projects I decided to make a discord bot using discord.js. Every user is able to add new messages to the repl.it (the website I host the bot on) database and read random ones. The bot is working fine so I wanted to…
farima4
  • 13
  • 6
0
votes
1 answer

Two packages with same import namespace causing package manager to install additional package

I'm using repl.it with the discord2 package for slash commands. This package shares the same import namespace with discord.py. When I run "import discord", repl.it's package manager (poetry?) automatically goes and installs discord (the mirror for…
boxcartenant
  • 271
  • 2
  • 14
0
votes
1 answer

Discord.js bot doesn't have permissions but it does

This is my code: await message.member.timeout(spamTimeout, 'Recieved a timeout for exceeding max message limit.'); It gives me an error saying: DiscordAPIError: Missing Permissions But the bot is the owner of the guild so why would it not have…
0
votes
0 answers

setInterval() doesn't work if a forever loop exists

Overview: (Skip if you want) I have basic knowledge of Javascript, I usually use javascript using node.js to code discord bots. As discord users know, discord already has bots for almost EVERYTHING. I needed some special ideas so I just decided to…
0
votes
1 answer

install-pkg command in not working in repl.it

Here is my code: install-pkg "Minecraft.deb" I am trying to install a .deb package and whenever I run the code, I get an error message telling me that they could not find the install-pkg command. I cannot find out how to do it. Any help?
fnab West
  • 1
  • 1
0
votes
1 answer

React code snippet does not run in repl.it

I am unable to run this React code snippet using repl.it. Can you please guide me where I am going wrong.
Nosail
  • 465
  • 2
  • 7
  • 19
0
votes
0 answers

Discord.py/ext function isn't working (nest_asyncio and process_commands already tried)

Basically, I've been trying to run this code on repl.it but it just isn't working. I've tried the nest.asyncio and bot.process.commands fixes but they won't work. Basically the bot.event functions work perfectly fine, but the bot.command() won't…
Mekaeel Malik
  • 61
  • 1
  • 5
0
votes
1 answer

Cogs don't work on repl.it discord.py (i used the method with flask to keep it always on)

As said in the title it doesn't work the bot doesn't respond and no error shows up. Works on my pc