From 1c3727846a7cd1cbd34cad2ffdfc3bff0b6d2dd3 Mon Sep 17 00:00:00 2001 From: Jadnast Rich Date: Sun, 23 Jul 2023 16:30:52 +0300 Subject: [PATCH] Update main.py --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 959ac85..35ed29c 100644 --- a/main.py +++ b/main.py @@ -2,8 +2,9 @@ from disnake.ext import commands import os import sqlite3 -#import keep_alive +from decouple import config +BOT_TOKEN = config('BOT_TOKEN') bot = commands.Bot(command_prefix='/', intents=disnake.Intents.all(), reload=True) @@ -51,4 +52,4 @@ async def on_disconnect(): -bot.run() \ No newline at end of file +bot.run(BOT_TOKEN)