Share your repls and programming experiences

← Back to all posts
Discord Economy Bot
FranklinBester_ (21)

Kinda basic
!c to make an account
!b to check balance, you should have 100 to start
!add10 to add 10. Only for development
!send10 send 10 to another user. Example: !send10 @example

That's about it.
If you want to try it out just join the discord. https://repl.it/discord

And the codes here if you want to look at it. https://repl.it/@FranklinBester_/DiscordBot

Comments
hotnewtop
Tsadema (51)

uh oh! it looks like you forgot to make an environment variable to contain your token! now people can steal it and "own" the bot, using eval and other commands. you should refresh your token immediately in the discord developer portal. NOW.

Tsadema (51)

And this bot is in the repl.it discord too. so you really should refresh the token

Tsadema (51)

And this bot is in the repl.it discord too. so you really should refresh the token

Hillo232 (11)

Dude. You know I just hacked your bot with the token right?

KevinCai3 (1)

Dude. You should remove the token. I literally have access to it.

NevanArtwin (1)

That's right. @FranklinBester_, First please Refresh your bot token on Discord Developer Portal Now! Then you should try create an enviroment variable using load_dotenv.
Link: How To Use load_dotenv

sgbumblebee (2)

now how in the fricking world did you get json to work

mrshahzl (0)

yeah i need to know too
@sgbumblebee

AdithyaKalany (1)

mate remove your token i have acees to your bot @FranklinBester_ (11)

FranklinBester_ (21)

Im using a a google sheet as the database

jebsyt (0)

how do i change the prefix?