Well I do
Welcome to the Muffin Chat!
This is a re-upload, and unlike other re-uploads this one is actually for a reason. This little bot used to be just a few games and a way to blow your fake money, but now there are 30+ commands! You can just mess around with this bot and tell it random things, but everything must start with need. For example, saying 'need fortnite' will make your cringe. Here are most of the big commands:
Any people out there that know Dank Memer chat?
Important Note: Fork this project to save your files and events!(If you want) This bot is capable of saving events with 'need todo', but you must fork the project first. This way your money and other things work properly
Say 'need help' to get to know some of the commands! So far there is:
need help for help on the commands
4 games: Say
need game to play these! These games are not only fun but will give you some money
Gambling: Everyone's favorite time of day. Saying
need gamble,you can do some slots, flip a coin, or roll a dice`
need convert can convert your inches to centimeters, or meters to feet!
Rickroll: You should already know what
need rickroll does
need time will print out the time! This is in UTC, time since the epoch(Whatever that means)
need date will print out this month's calendar!
Todo: Save your todo-list with
need todo! When you say
need todo, after creating your tasks you can view your todo-list by saying
need tasks! I might add something like reminders later on i think
need google to bring up the totally original Google! 1 search guaranteed!
Saving: Everytime you say
need save IT will save your current money into your own file! Also it will automatically load your safe file, so you can get lots of money i guess.This DOES NOT work if you open this project in a new tab, your username will always be five-nine
need python will result in the bot giving you one line of input to code. Great.
Don't forget to give this bot some memes
Google: A 100% accurate searching program!
Rickroll: In the Muffin Hall of fame
Better help screen: Colors make the world go round
Quest: Go on a mini quest with
States: Ever forget your united states of America? Well no longer!
Elements: Periodic table go brrrrrr
Things to come
A chat system: saying 'need chat' will let you chat with the bot for a minute
Also please report any bugs!, and if you want to see any commands tell me!
' ' '
Traceback (most recent call last):
File "main.py", line 4, in <module>
from r import *
File "/home/runner/osql5emn17g/r.py", line 156
SyntaxError: invalid syntax
' ' '
Do you actually save the monies or is it a placebo? You could use the DB or a separate file
So many easter eggs.
need creeper cause why not
need gf for BIG CHUNGUS
Don't want that mushy nonsense? I
need squid oh look! Main is red!
need sample text I guess
@RahulChoubey1 yea i tried this, but for one main reason i cant, that is that everytime it has to reset all the varibles and stuff, so you can play again. I tried to make that in another files, but i tried everyway of updating the variables so they reset, but i gave up and just put it in main.py
@Muffinlavania Well it's theoretically impossible to make changes to everybody's, unless you do it, because everybody without write access creates their own "temporary" container to do stuff on. If however you make changes via the IDE, it moves your "temporary" container over to your own account, in which case it is no longer "temporary".
You were taking advantage of the "temporary" container in the introduction, taking the EnvVar
REPL_OWNER, which was changed to
firefish (for me it was) because of the "temporariness". (@ZDev1 wanted to know how it was done, so here)
@Muffinlavania And for this very reason, is why the dat files don't save upon refresh. Would suggest taking a look at repl.it db, where each user has their own dictionary in the db containing every thing the dat file would contain. I could help with this, especially for hacking the db, just maybe not so much in python.... I'm more of a nodejs guy
This is fun, spent a lot of time playing this and had lots of enjoyment. Also, how did you add color to your text? Mine only works in editor.
@Reestrelax You can use escape codes! I just keep them in a repl so i can copy paste them, so here they are
black = "\033[0;30m" red = "\033[0;31m" green = "\033[0;32m" yellow = "\033[0;33m" blue = "\033[0;34m" magenta = "\033[0;35m" cyan = "\033[0;36m" white = "\033[0;37m" gray = "\033[0;90m" bright_red = "\033[0;91m" bright_green = "\033[0;92m" bright_yellow = "\033[0;93m" bright_blue = "\033[0;94m" bright_magenta = "\033[0;95m" bright_cyan = "\033[0;96m" bright_white = "\033[0;97m" bold='\033[01m' reset='\033[0m'
So if you just pop that at the top of the code, you can just say something like
print(blue+"This is blue!") print("Hi")
Also something to note, after each print statement it will not reset color. SO the above example will have a blue "Hi" as well. So just say
print(blue+"Blue thing"+reset) to reset the color
from getkey import getkey,keys
the just define a variable as
getkey(), its just like input except it basically hits enter for you
(Also to detect up, down, left, and right arrows you have to use keys.UP or keys.DOWN or keys.RIGHT or keys.LEFT, everything else you can say stuff like
key2=getkey() if key2=='a': print("You pressed a")
this is sick dood. I do know the muffin man.
|I found a bug. One time I searched stuff up running commands but nothing was responding. :/ idk why.
@CoolGuy27 They must have deleted it or something? Idk. But this is how you do stuff
**This is Bold**
This is Bold
*This is italics*
This is italics
***This is bold+italics***
This is bold+italics
# This is a big header
This is a big header
## This is a smaller header
This is a smaller header
### This is even smaller
This is even smaller
`This is the code like thing`
This is the code like thing
Also idk if its a bug or not, but failure when typing need money. But amazing program. I shall upvote