A money-centric "Meta-verse" Discord Bot
Funny Nation is a Discord bot that makes Discord servers into a "metaverse."
People could earn coins and experience points by the activity on Discord channels (either voice or text), and people could exchange coins for tradings.
Also, people could play games via interaction with this bot to earn money (sometimes to lose money).
There are a lot of features and ideas that are still in development. Let me know if you have any cool ideas.
You need to set up a Discord application and get a Discord bot token. If you don't know how to do that, please read the tutorial at this link.
Requirements:
- Docker
- A PostgresSQL database with URL - Example:
postgresql://username:password@database.url:5432/databasename - A Discord Bot Token
docker run --name funnynation \
-e DATABASE_URL="postgresql://your-postgres-database-url" \
-e DISCORD_TOKEN="your-discord-token" \
-d plbin97/funny-nationdocker build -t funnynation .docker run --name funnynation \
-e DATABASE_URL="postgresql://your-postgres-database-url" \
-e DISCORD_TOKEN="your-discord-token" \
-d funnynationRequirements:
- An Node environment,
16.xrecommended - A PostgresSQL database with URL - Example:
postgresql://username:password@database.url:5432/databasename - A Discord Bot Token
# For development
npm install
# For production
npm install --omit=devnpm run build# For development
DATABASE_URL="postgresql://your-postgres-database-url" \
npm devmigrate
# For production
DATABASE_URL="postgresql://your-postgres-database-url" \
npm migrateDATABASE_URL="postgresql://your-postgres-database-url" \
DISCORD_TOKEN="your-discord-token" \
npm startYou can add one more environment variable SUPERUSERID to claim a super user.
The value of SUPERUSERID is the user id.
SUPERUSERID is optional.
SUPERUSERID=123123123
If you have any questions, or you want to join our team.
You can talk to us via this Discord Server.
If you want to contribute to this project, please make sure that you have read: