summaryrefslogtreecommitdiff
path: root/app/internal/create_bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/internal/create_bot.go')
-rw-r--r--app/internal/create_bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/internal/create_bot.go b/app/internal/create_bot.go
index c1bea85..7f9aa15 100644
--- a/app/internal/create_bot.go
+++ b/app/internal/create_bot.go
@@ -25,7 +25,7 @@ func Start(b *Bot) (net.Conn, error) {
}
// Configuration du bot
- cmd := exec.Command("../bot/build/discord-bot", b.BotToken)
+ cmd := exec.Command("./bot/build/discord-bot", b.BotToken)
cmd.SysProcAttr = &syscall.SysProcAttr{
Setpgid: true, // Permet de kill le processus enfant si nécessaire
}