autocode.com Open in urlscan Pro
2606:4700::6812:bc  Public Scan

URL: https://autocode.com/app/starsblaster/economy-app/
Submission: On April 27 via manual from AT — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

BASIC DISCORD ECONOMY APP



Stars Blaster — starsblaster
Published from starsblaster/economy-app


BASIC DISCORD ECONOMY APP

This app provides some basic prefix commands for an economy system. It stores
user balances using Google Sheets (see the Required Setup section below to
create your own copy of the template spreadsheet), and has the following prefix
commands:

 * createbank: Register yourself and create a bank account.
 * bal (or balance): Retrieve your current balance.

 * give <@user> : Give a user a certain amount of money.

 * rob <@user>: Attempt to take a random amount of money from another user. You
   may fail and lose money instead! Rate limited to once every 30 minutes.

 * search: Attempt to search for money. May fail. Rate limited to once every 30
   seconds.

 * gamble: Attempt to gamble and have a chance of winning, drawing or losing.
   Rate limited to once every 10 seconds.


REQUIRED SETUP

To set things up nicely, click here to create your own copy of the required
spreadsheet. It should look like this:

During installation, link the spreadsheet you created, and you should be all
set!

There are some comments in the files to make you understand what is happening
and to help you customize it to your liking. Happy hacking!


ADD-ONS SNIPPETS

 * Basic Economy Commands by Flip
 * Discord Economy App Leaderboard by Aseboldt
 * Economy App Command To Buy Items From Shop by Kangabru
 * Discord Economy App Rock Paper Scissors Command by UnknownUseristhebest

Let me know if there're any snippets that I forgot to mention here! :)


UPDATE 1.1

Error fixed, give and rob commands are working now.


UPDATE 1.2

Added another way to get money, the search command!!


UPDATE 1.3

gamble is now available as a new command! Bugs in give command are also fixed.

Have questions or want to report bugs and/or errors? Feel free to DM me on
Discord! My name is Stars Blaster#7717

Thank you for installing this app!

Menu
Autocode home

--------------------------------------------------------------------------------

✨ Apps 📄 Snippets 📚 APIs 📑 Docs

--------------------------------------------------------------------------------

🎉 Announcements 👾 Guides

--------------------------------------------------------------------------------

🛒 Pricing Join our Discord bot.gg — Discord bot list 🎁 Request an API

--------------------------------------------------------------------------------

ℹ️ About us ☕️ Careers
Explore
✨Apps 📄Snippets 📚APIs
📑 Docs
🙌 Community
🎉 Announcements 👾 Guides 🏆 Challenges

--------------------------------------------------------------------------------

bot.gg — Discord bot list Reach us on Twitter Join our Discord

--------------------------------------------------------------------------------

Devtools on GitHub
🛒Pricing
Login
Sign up
Not Signed In
Click to Sign In
1

SUBSCRIPTION: BRONZE

Loading...


Boosts: - Add Request Boost
Wow, you've been busy! You've used all of your requests for this month, but for
now, enjoy unlimited requests until , on us 😄.
You can upgrade your subscription or add request boosts to increase your request
limit and reactivate. You ran out of requests last period.

Please press Reactivate below to reactivate your account.
Manage



Upgrade



Reactivate

... AP ...
Purchase AP | Earn AP
Profile Apps Snippets Organizations Insights Achievements Account Invite Friends

--------------------------------------------------------------------------------

Sign out

No new notifications

Show more
Loading...
undefined

BASIC DISCORD ECONOMY APP

 · 
5.0
Install Free (68.7k)



View Source (34.3k)

Apps / Basic Discord Economy App


BASIC DISCORD ECONOMY APP


SUPER BASIC ECONOMY APP FOR YOUR DISCORD BOT!

Stars Blaster · updated Jul 25, 2021 ·
34.3k
·
68.7k


5.0

Team Autocode Rating
Install Free  68.7k



View Source  34.3k


API INTEGRATIONS

Google Sheets Discord _utils

View Gallery (/readme/gallery/)
App Information (README.md)


BASIC DISCORD ECONOMY APP

This app provides some basic prefix commands for an economy system. It stores
user balances using Google Sheets (see the Required Setup section below to
create your own copy of the template spreadsheet), and has the following prefix
commands:

 * createbank: Register yourself and create a bank account.
 * bal (or balance): Retrieve your current balance.

 * give <@user> : Give a user a certain amount of money.

 * rob <@user>: Attempt to take a random amount of money from another user. You
   may fail and lose money instead! Rate limited to once every 30 minutes.

 * search: Attempt to search for money. May fail. Rate limited to once every 30
   seconds.

 * gamble: Attempt to gamble and have a chance of winning, drawing or losing.
   Rate limited to once every 10 seconds.


REQUIRED SETUP

To set things up nicely, click here to create your own copy of the required
spreadsheet. It should look like this:

During installation, link the spreadsheet you created, and you should be all
set!

There are some comments in the files to make you understand what is happening
and to help you customize it to your liking. Happy hacking!


ADD-ONS SNIPPETS

 * Basic Economy Commands by Flip
 * Discord Economy App Leaderboard by Aseboldt
 * Economy App Command To Buy Items From Shop by Kangabru
 * Discord Economy App Rock Paper Scissors Command by UnknownUseristhebest

Let me know if there're any snippets that I forgot to mention here! :)


UPDATE 1.1

Error fixed, give and rob commands are working now.


UPDATE 1.2

Added another way to get money, the search command!!


UPDATE 1.3

gamble is now available as a new command! Bugs in give command are also fixed.

Have questions or want to report bugs and/or errors? Feel free to DM me on
Discord! My name is Stars Blaster#7717

Thank you for installing this app!

Web Project
9 Endpoints — Available once deployed
Trigger: Discord — message.create Scripted Endpoint .../message/balance/
.../message/balance.js /events/discord/message/balance/
from file functions/events/discord/message/balance.js Discord — message.create
will trigger → googlesheets/query/distinct discord/channels/messages/create
discord/channels/messages/create Trigger: Discord — message.button.interaction
Scripted Endpoint .../button/place1/
.../button/place1.js /events/discord/message/button/place1/
from file functions/events/discord/message/button/place1.js Discord —
message.button.interaction will trigger → googlesheets/query/distinct
discord/channels/messages/create googlesheets/query/update  + 2 more Trigger:
Discord — message.button.interaction Scripted Endpoint .../button/place2/
.../button/place2.js /events/discord/message/button/place2/
from file functions/events/discord/message/button/place2.js Discord —
message.button.interaction will trigger → googlesheets/query/distinct
discord/channels/messages/create googlesheets/query/update  + 2 more
Click to See All 9 Endpoints
Trigger: Discord — message.button.interaction Scripted Endpoint
.../button/place3/
.../button/place3.js /events/discord/message/button/place3/
from file functions/events/discord/message/button/place3.js Discord —
message.button.interaction will trigger → googlesheets/query/distinct
discord/channels/messages/create googlesheets/query/update  + 2 more Trigger:
Discord — message.create Scripted Endpoint .../message/createbank/
.../message/createbank.js /events/discord/message/createbank/
from file functions/events/discord/message/createbank.js Discord —
message.create will trigger → googlesheets/query/select
discord/channels/messages/create googlesheets/query/insert  + 2 more Trigger:
Discord — message.create Scripted Endpoint .../message/gamble/
.../message/gamble.js /events/discord/message/gamble/
from file functions/events/discord/message/gamble.js Discord — message.create
will trigger → utils/kv/get discord/channels/messages/create
googlesheets/query/distinct  + 14 more Trigger: Discord — message.create
Scripted Endpoint .../message/give/
.../message/give.js /events/discord/message/give/
from file functions/events/discord/message/give.js Discord — message.create will
trigger → googlesheets/query/distinct discord/channels/messages/create
discord/channels/messages/create  + 10 more Trigger: Discord — message.create
Scripted Endpoint .../message/rob/
.../message/rob.js /events/discord/message/rob/
from file functions/events/discord/message/rob.js Discord — message.create will
trigger → utils/kv/get discord/channels/messages/create
discord/channels/messages/create  + 11 more Trigger: Discord — message.create
Scripted Endpoint .../message/search/
.../message/search.js /events/discord/message/search/
from file functions/events/discord/message/search.js Discord — message.create
will trigger → utils/kv/get discord/channels/messages/create utils/kv/set  + 3
more
Directory
/ — Directory Explorer
Endpoint Directory
functions/events/discord/message

—
—

Directory
readme

—
—

Autocode Project Config
stdlib.json

application/json
1,333 B

Autocode README
README.md

text/markdown
2.62 kB

File: application/octet-stream
.gitignore

application/octet-stream
46 B

File: application/json
package.json

application/json
147 B

File: application/json
payloads.json

application/json
2 B


✨ BUILD YOUR OWN APPS AND APIS.


GET STARTED IN AN INSTANT, AND WE'LL HELP YOU BUILD THE APPS AND AUTOMATIONS OF
YOUR DREAMS. WE HAVE A SUPPORTIVE COMMUNITY AND CAN PROVIDE HANDS-ON CUSTOMER
SERVICE.

Sign up free


Join us on Discord


COMPANY

Home
About us
Careers
Request an API
Partner Program
Contact Us

COMMUNITY

Announcements
Featured Members
Twitter
Discord
bot.gg — Discord bot list

SOLUTIONS

Discord bots
Discord music bots
Discord Slash Command Builder
Discord Embed Builder
Twitch bots
Slack bots

RESOURCES

Apps
Snippets
APIs
Documentation
Guides
GitHub
Pricing

POLICIES

Terms
Privacy
Security
DPA
San Francisco · Toronto
© 2022 Polybit Inc.