Fixed the .bat to use the .venv and fixed the commands to be shortened

This commit is contained in:
Dan
2024-05-03 22:54:31 -04:00
parent efad3e79dc
commit 051ceb8d7d
2 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import discord
from discord import app_commands
from .database import add_project, add_task
class DollyProjectTrackerCommands(app_commands.Group):
class DollyProjectTrackerCommands(app_commands.Group, name="Dolly", description="Commands for Dolly's project tracker."):
@app_commands.command(name="create-project", description="Create a new project in the database.")
async def create_project(self, interaction: discord.Interaction, name: str, description: str):

View File

@ -1,5 +1,14 @@
@echo off
echo Starting Dolly the TODO Bot...
REM Change the directory to where your project is located
cd E:\Development\AI Development\Dolly
REM Activate the virtual environment
call .venv\Scripts\activate
REM Run the Python script
python main.py
echo Dolly stopped. Press any key to exit.
pause > nul
pause >nul