#Repl.it auto install

1 messages · Page 1 of 1 (latest)

pastel hazel
#

Is there a way to prevent discord.py from installing automatically? I suspect the issue is import discord

viral light
#

!replit

swift willowBOT
pastel hazel
#

link doesnt work

pastel hazel
drowsy canopyBOT
viral light
#

@drowsy canopy

#

The site is gone

#

Mhm

#

?tag norepl

drowsy canopyBOT
#

Why NOT to use Repl as a hosting platform

You should not use Repl.it to host your bot.
It may be a nice option as its "free" but you should use something else considering the major flaws.

  • The machines are super underpowered.
    • This means your bot will lag a lot as it gets bigger.
  • You'll need a web server alongside your bot to prevent it from being shut off.
    • This isn't a trivial task, and eats more of the machines power.
  • Repl.it uses an ephemeral file system.
    • This means any file you saved via your bot will be overwritten when you next launch.

IMPORTATNT

  • They use a shared IP for everything running on the service.
    This one is important - if someone is running a user bot on their service and gets banned, everyone on that IP will be banned. Including you.

Please avoid using repl.it to host your bot. It's not worth the trouble.

If you're looking for free options, consider using AWS/Google Cloud Platform/Azure and its respective free tiers or just pay for an actual VPS.

pastel hazel
#

the reason for repl is i can access it on any device

pastel hazel
#

?tag repl

drowsy canopyBOT
#

dynoError No tag repl found.

pastel hazel
#

?tags

drowsy canopyBOT
#
Tags (93)

youtube, wavelink, virtualembed, vacant, usercmd, unofficialguide, um_cmds, tryitandsee, tokens, timer, tias, test, tcr, tca, tags, tagrules, swasvid, subcommands, sslfix, solved, slashcommandmention, rie, restartcmd, requests, replit-install, replit, removeall, python, paste, oracle, oop, official, objects, notpycord, norepl, nojson, nohelp, mybot, msgcmd, mongodb, modal, missing_access, message-content, lp, localfile, learnpython, json, jdjddjsj, intents, install_slash, install_git, install, inline-fields, importerror, idw, ide, how2sql, hi, guide, getalpha, get_x, get-help, fork, forbidden, exception, examples, ex, ephemeral, eh, docs, discord.app, discord.Bot, dighfuji, deploy, commandnoshow, colors, codeblock, closing, client, buttons2, buttonlimit, bridge, breaking-changes, bitwise, asset, applicationcommands-registration-delay, announcement_channel_options, aiohttp, Woc, Timestamps, DMChannel, CVE-2022-36024, 50027

pastel hazel
#

?tag nojson

drowsy canopyBOT
#

Why you should not use json files for storing data
Using json files on a smaller scale is fine, however it is would be very beneficial to switch to a real database management system;

  • JSON is a data format, not a database.
  • It is easily corrupted as it does not come with any data integrity checks when writing to the file.
  • It is not good at defining or utilizing relationships, making it very hard to store relational data.
  • When the JSON file becomes too large, you will run into performance issues since your program has to read the entire file into memory every time you want to query the data.
  • It does not include any security features that you may get when using a database management system.
pastel hazel
#

?tag replit-install