Share your repls and programming experiences

← Back to all posts
Cactus Discord Bot Game
h
CodingCactus (2824)

Hi replers.

I have made a discord bot, yay!

It is a pretty simple game, all you need to do is become the biggest cactus!


How to play

First, you need it to be in your server or be in a server with it on.

It is on the official repl.it discord server which you can join here: https://repl.it/discord

Or you can invite it to your server with this link: https://discordapp.com/oauth2/authorize?client_id=700051830394060801&scope=bot&permissions=0


Commands

The prefix for this bot is =, you need to put that before each of your commands

All the commands are outlined when you use the help command

grow

Grow a certain amount depending on what upgrades you have (you start at 2cm per growth)

Cooldown: 10s

shop

Look at the items in the shop.
Use the arrows at the bottom to navigate or you can go directly to a certain page by doing =shop pageNum (replace 'pageNum' with page number you want)

buy

Buy an item from the shop to increase your height per growth.
Just write:
=buy item (replace 'item' with the item name that you want to buy)

idle-shop

Look at the items in the shop.
Use the arrows at the bottom to navigate or you can go directly to a certain page by doing =idle-hop pageNum (replace 'pageNum' with page number you want)

idle-buy

Buy an item from the idle-shop to increase your height per minute.
Just write:
=idle-buy item (replace 'item' with the item name that you want to buy)

habitats

View the habitats.

change-habitat

Sacrifice some of your height to change habitat. (habitats in crease your multiplier)

daily-reward

Collect your daily reward.

prof

aliases: profile, stats, height, size, cmpg, hpg

View your profile (stats)

leaderboard

aliases: leaders, ranks, ranking

View the leaderboard

feedback

Send feedback to help improve the bot.

bug

Report a bug with the bot, please be as specific as possible, if you spam it you will just be banned from using the bot.


That is it!

More features will be coming soon, as will more items in the shop.

Thanks @Codemonkey51 for making the replitdb library client thing so that your stuff will actually save! (you can see his docs here: https://github.com/Codemonkey51/replit-db-client) : )


Have fun and get growing!

Commentshotnewtop
rediar (318)

It's pretty good, similar to chocolate, coffee and the like

HahaYes (1052)

@CodingCactus hmmm this is like the 300th discord bot

CodingCactus (2824)

@HahaYes hrrmmmmm sorry, and tutorials are like the 1000 tutorial

CodingCactus (2824)

@HahaYes you know that they do different things, they aren't all exactly the same

HahaYes (1052)

@CodingCactus yeah, I know, so how did you learn Flask?

CodingCactus (2824)

@HahaYes i haven't learnt flask, except for that teeny tiny bit to set up the server

HahaYes (1052)

@CodingCactus Oh okay, nice project tho

DynamicSquid (2673)

@HahaYes

hrrmmmmm sorry, and tutorials are like the 1000 tutorial

oof

Coder100 (4393)

0/10 chocolate is better 10/10

CodingCactus (2824)

@Coder100 shut up with this negative commenting smh

Coder100 (4393)

LOL cactus and chocolate are like the same thing but mine has better uptime and more storage HA lol @CodingCactus

firefish (308)

@CodingCactus He's starting a fight, it's a popularity strategy. Source: @HahaYes ...

firefish (308)

@HahaYes I like to think that you just said the sound effect of pacman dying

firefish (308)

@Coder100 Doesn't it?

whoa whoa wat wat
does sound lilike it

firefish (308)

@Coder100 I once knew a chap who had a nasty habit of saying lol to everything he heard, including other lols. I think you may have the same habit.
I predict you will say LOL to this

firefish (308)

@Coder100 Joke:
Two mindreaders met in the street. One said: Hello, you're fine. How am I?

ShivankChhaya (78)

HOW DO U MAKE DISCORD BOTS ON REPL.IT???????

CodingCactus (2824)

@ShivankChhaya erm same way you make discord bots anywhere else

CodingCactus (2824)

@ShivankChhaya erm with the discord API
Just google it

Or
If you can't be bothered finding things out for yourself you can see how the code is structured in the post

EmmaGove (5)

It just end cause there are a lot of errors

CodingCactus (2824)

@EmmaGove you aren't supposed to run it, the token is in a .env file which you can't access. So of cause it will error lol

KobeFF (416)

ooh fun!!!

invites to server

DynamicSquid (2673)

@Coder100: I see I have some competition here...

ZDev1 (367)

Making A discord bot is beter with javascript

BobTheTomatoPie (1053)

this is fun!! Good job im 8 cm

IreTheKID (277)

Great game, hehehehe, I am KING!

CodingCactus (2824)

@IreTheKID lol yes, you are very good at it