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
8
votes
1 answer

How can I customize Repl.it to not use poetry?

I am trying to create a Repl.it on my Python project, and when I run, it fails at not finding [tool.poetry] section. And yes my project has a pyproject.toml file. Repl.it: Updating package configuration --> /usr/local/bin/python3 -m poetry add halo…
Frost Ming
  • 232
  • 2
  • 9
4
votes
1 answer

How to make bot run a slash command discord.py

I'm trying to send slash commands with a selfbot ran on repl.it but they are sent as a normal message and not detected as slash commands. I know discord selfbots are against TOS but for testing purposes how would i make it so that they detect as a…
Saharsh
  • 39
  • 1
  • 12
4
votes
2 answers

Replit console error <--- Last few GCs ---> and <--- JS stacktrace --->

So I was using my bot but since it didn't respond, I decided to check why it was offline. I opened up my code and I found this error in the console. I just wanna know what it means. Here : <--- Last few GCs ---> [880:0x4b70e20] 26014144 ms:…
Darshan B
  • 658
  • 1
  • 5
  • 19
4
votes
1 answer

Are tuples strict in haskell?

If have problems understanding why the code below doesn't stop when I run it on repl.it. -- The second argument is meant to be an infinite ascending list, don't bother yourself with any other case isin :: Int -> [Int] -> (Bool, [Int]) isin n [] …
lsmor
  • 4,698
  • 17
  • 38
4
votes
2 answers

Check if user has permission in discord.py

I am making a kick command for my discord.py bot. Here is some code that the kick command might be: async kick_command(self, ctx, userName: discord.User): prefix_used = ctx.prefix alias_used = ctx.invoked_with text =…
user12327406
4
votes
3 answers

Repl.it and FFmpeg

Hi I am building a discord bot and would like to use ffmpeg in it but am working on repl.it. How can I use ffmpeg on repl.it if I can? This is for translating a .webm file into an .mp4 file, running on python 3.7.4. I have had a look on the repl.it…
user12238231
4
votes
2 answers

Undefined method `filter' for array

So I am trying to solve a class problem/homework on repl.it, in ruby, and this is the error listing I'm given. ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux] undefined method `filter' for [{:r=>1, :c=>0}, {:r=>0,…
kchak
  • 7,570
  • 4
  • 20
  • 31
3
votes
0 answers

Add PowerShell package as native dependency

How should one add the PowerShell package as a Native dependency? In spite of adding it one is unable to run basic PowerShell commands to show output on the screen. PFB REPL link. https://blazorrepl.telerik.com/GQacljYn3647KP3G59 The HTML and C#…
3
votes
1 answer

Cannot import: "from trello import TrelloClient" py-trello and trello packages (replit)

To be simple, I couldn't import py-trello bcs there is also a package named trello. when I run from trello import TrelloClient replit thinks that I'm working on python trello package and installs trello package. And then my code gives error like…
3
votes
2 answers

How to change two font sizes within one table data?

I want to have two different font sizes within one block. How can I make "The Falcon Family" size 20pt and "The Falcon fam is from..." size 15pt and still be one table data.
3
votes
1 answer

How to make the discord bot queue local mp3?

I'm new to python, so I wonder if there's a way to do so. Here's my play mp3 command: @bot.command() async def play_song1(ctx): global voice channel = ctx.message.author.voice.channel voice = get(bot.voice_clients, guild=ctx.guild) if voice…
jaos1
  • 33
  • 4
3
votes
1 answer

chatterbot taking ages to return response

I have a piece of code I took from an example. It was running fine on repl.it, like a response after few secs. But, some time later, it started returning a response after like 1-3 mins, even more or never. That started happening suddenly on a run…
Nouman
  • 6,947
  • 7
  • 32
  • 60
2
votes
1 answer

How can you change the position of your input in python?

I've read many other articles on here about how to move the position of the input, but I've only seen how to move it back. I tried using "\b" for this but it doesn't work, can anyone help? btw I'm using repl.it,I'm not sure what version of python it…
Pricey
  • 21
  • 2
2
votes
1 answer

Execute a shell command everytime my discord bot gets rate limited

I host my bot on replit, for the past week my bot is getting rate limited pretty often. In replit we fix rate limits by using kill 1 in shell. So I want my bot to automatically execute kill 1 every time it gets rate limited. I've already tried…
2
votes
2 answers

How to install packages and libraries for c # on repl.it

so i am using this online website called https://repl.it/ , so I am actually learning C# in it so i wanted to try some packages and libraries but I don't know how to access them. So i was wondering if anyone could help.I have tried watching some you…
1
2 3
21 22