🤖 Eval Discord Robot 🤖
The repl: https://repl.it/@ApoorvSingal/MMH
Why did you make a discord bot?
Developing something for the theme: 'sharing' was quite difficult and our team had ran through multiple ideas before setting on making a discord bot.
Our team's thought process was to think of things that are related to sharing but also something that is creative, thoughtful, and could be done in a two day time span.
Because our team wasn't created by amasad (we created ourselves in the discord channel #mmh), we had to figure out many things.
We first ran through our strengths and weaknesses and what coding languages we know, in order to obtain maximum efficency.
We had plans to create an image sharing platform, an account sharing platform, and even an code sharing platform! But we couldn't do them because they would have taken to long.
So we settled on a discord bot because it fit our requirements.
So what does your bot do?
With the bot, you can save the code and share it.
How does the bot work?
The bot uses crosis to speak to the repl.it API
What are some bot commands?
The prefix is
The current commands are
eval <optional-name> [```[code language] code```]Evaluates code that you input in [```code```], and saves it if you have something in <optional-name>.
help <optional-command>Help prompt to show what each command does.
share [name-of-previously-saved-eval]Finds a previously saved eval and prints it.
listList all the saved evals
del [name-of-previously-saved-eval]Deletes a saved eval.
If your entered code does not produce any output, the output will remain
Please wait..., even if the code has executed successfully
Also note that if you are using the bot, it shares same environment, same files, everything is evaled in one place with no security.
Meaning, that everyone using the bot could see everything, thus nothing is secret! Due to the fact that everyone has access to the repl.
Join the demo bot server:
Add the bot to your server:
@TheDrone7 The execution environment is shared among all. Everyone using the bot shares same os and files and has equal acces to the execution place, which is https://repl.it/@ApoorvSingal/Evaller-evals. Nothing is hidden from anyone. It's like a shared computer which gives everyone complete access to everything and this is what makes it different from Larvel.
Larvel has unique environment for every user and is totally secure for saving stuff like api keys.