Fixed the .bat to use the .venv and fixed the commands to be shortened
This commit is contained in:
@ -3,7 +3,7 @@ import discord
|
|||||||
from discord import app_commands
|
from discord import app_commands
|
||||||
from .database import add_project, add_task
|
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.")
|
@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):
|
async def create_project(self, interaction: discord.Interaction, name: str, description: str):
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
@echo off
|
@echo off
|
||||||
echo Starting Dolly the TODO Bot...
|
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
|
python main.py
|
||||||
|
|
||||||
echo Dolly stopped. Press any key to exit.
|
echo Dolly stopped. Press any key to exit.
|
||||||
pause > nul
|
pause >nul
|
||||||
|
Reference in New Issue
Block a user