The (almost) original lelbot code
This version has a few changes, but it's very close to the actual lelbot
It would be very cook if you can help improve lelbot, or learn with this project!
Lelbot is the bot that makes you go lel.
Imagine if there was a bot that could send lelbot in its cubed form doing a random task, then the word "bobux" in a weird way, then try to have a conversation with you and fail, then send a random sandwich, and them boom the entire universe. Lelbot is that bot.
Simple! Just click here!
[]
means optional
<>
means required
l!hello [something]
- Says a random hello
l!ping
- Make sure that lelbot is working
l!8ball <question>
- Ask a question
l!boom <something>
- Boom something
l!invite
- Get lelbot invite
l!chat <message>
- Try to chat with lelbot and fail
l!fact [index]
- Get a random fact
l!randomstory
- Get a story that makes a lot of sense
l!aboutme
- Literally stuff about lelbot
l!when <question>
- Ask when something
l!yesorno <question>
- Get a yes or a no
l!say <message>
- Make lelbot say "hi i like amogus lol"
l!hug <user>
- Hug someone
l!attack <user>
- Attack someone
l!bam <user>
- Bam someone
l!roll
- Roll a dice
l!hack <something>
- Hack something
l!server
- Get lelbot server's invite
l!randomsandwich
- Get a random and innovative sandwich
l!poll <text>
- Make a poll
l!suggest <something>
- Suggest something with embeds cuz why not lol
l!weirdtext
- uyuesjdkjifukwhejskjeihfkj,klce
l!dostuff
- See lelcube doing a random task
l!embed <title> | <description>
- Build an embed
l!math <expression>
- Discord calculator
l!sweatsmile
- Get a random sweatsmile
l!randnum <min> <max>
- Get a random number
l!bobux
- wot
l!morecookis
- Increase a cooki counter
l!work
- Get lelgolds
l!bal [user]
- See how many lelgolds you have
l!dep
- Put your lelgolds in the bank
l!with
- Put your lelgolds in the cash
l!lb
- See who has more lelgolds
l!shop
- See what you can buy with your lelgolds
l!buy [amount]
- Buy something
l!inv
- See what items you have
l!use
- Use your items
l!give_money <user> <amount>
- Give lelgolds to other people
l!reset_money
- Lose your lelgolds ono
l!give_item <user> [amount]
- Give items to other people
l!rob <user> <amount>
- Steal the lelgolds of another person
l!reset_items
- Reset your items
l!sell <user> <price> [amount]
- Sell items
l!classic_help
- Get the classic help design
l!text_to_wotcode
- wot
l!wotcode_to_text
- code
l!name
- Gives a random name to a random thing
l!sandwich <size>
- Builds a sandwich
l!sentence
- Makes a sentence
l!who <something>
- I need to put a description?
l!collect
- Collect snowballs
l!throw <target
- Throw a snowball
l!snow-lb
- See who's better at throwing snowballs
l!adventure
- An adventure
l!image
- Get a random image
l!cake <someone>
- Give a cake to someone
l!hat
- Hats are cook :)
Wants to host a modified version of lelbot? Please read these stuff below before doing that!
- Don't use the name "lelbot" or any similar one. Don't have any ideas? Then use "lalalalbot"!
- Keep your version open-source too. lelbot is open-source so people can learn with it, get inspired, make their custom versions, and if they want to, help improve the project!
- When publishing the code, make sure to use the GNU Affero General Public License v3.0!
- Don't say that you "created lelbot". You didn't.
0. Requirements
0.1. A computer
Ues
0.2. Python
lelbot already was tested on Python 3.8.2, 3.9.2, 3.9.7 and 3.8.10, I don't know what other versions work with it tho
0.3. Install disnake
You can install it with this command:
pip install -U disnake['discord']
Note: If you installed discord.py before, run
pip uninstall discord
before installing disnake
1. Create a bot
I hope you know how to make a Discord bot 😅
2. Get Python
lelbot was tested on Python 3.8.2, 3.9.2, 3.9.7 and 3.8.10, but I'm not sure what other versions support it
3. Download the files
These are the files that you need to download to make lelbot work correctly:
bot.py
cookis.txt
facts.txt
items.txt
lelnums.json
users.txt
snowball_users.txt
snowball_thing.json
snowball_hits.json
images.txt
4. Put the bot token in bot.py
It's on the last lines of bot.py
5. Run bot.py
when the