Skip to content

A small base for building discord bots with supabase.

Notifications You must be signed in to change notification settings

Entropy-10/discord-bot-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entropy's Discord Bot Base

This is just a small personal use Discord bot base. It is designed and intended to be used with supabase. Feel free to poke around if you'd like. It has support for monitoring and styled logging. Examples may be provided in the future.

Tech Stack

Getting Started

Follow these steps to get up and running:

  1. Set Environment Variables: Ensure you've set all environment variables.

  2. Install Dependencies: Use Bun to install project dependencies:

    bun install
  3. Supabase Project ID: Update your package.json db:types command with your project ref id from supabase:

    {
       "scripts": {
          "db:types": "supabase gen types typescript --project-id <YOUR_PROJECT_REF_ID> src/types/database.types.ts"
       }
    }
  4. Supabase Types: Use the supabase cli to pull the types from your project:

    bun db:types
  5. Push Commands to Discord: Push the bot's commands to your Discord server:

    bun cmds:update
  6. Start the Bot: Run the following command to start the bot in development mode:

    bun dev

About

A small base for building discord bots with supabase.

Resources

Stars

Watchers

Forks