Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 1.42 KB

README.md

File metadata and controls

69 lines (42 loc) · 1.42 KB

UrbanBot

UrbanBot is a fun economy bot where you create a virtual city!

Features

  • 😁 Increase your citizens' happiness!

  • 🏭 Upgrade your zones!

  • 🚌 Manage your city's services!

  • 🏥 Build new buildings!

  • ✅ Enact new policies!

  • 👑 Compete on the leaderboard!

  • 💪 Max your city!

Invite

Invite UrbanBot to your Discord server here!

UrbanBot Support

Join the UrbanBot Support Discord server here!

  • ❓ Active support!

  • 🎁 Frequent giveaways!

  • 📣 Bot updates!

  • 😎 A fun community!

  • 🏳️‍🌈 LGTBQIA+ and kid-friendly!

Contribute

If you find any bugs or issues, feel free to create a pull request!

Running Locally

Before creating a PR, make sure to run your code on a test bot to make sure there's no issues first.

After cloning the repository, create a config.json file.

{
    "token": "<token>",
    "clientID": "<client id>",
    "developers": ["<your user id>"],
    "moderators": ["<your user id>"],
    "topggToken": "TEST",
    "webhookAuth": "TEST"
}

Also create a database.sqlite file to store city data.

Run the bot with npm start and you should see a message like this:

Database synced.
Refreshing X commands.
Successfully reloaded X commands.
Logged in as X!