From 791e75cb2beeca45a6edf52b65f7e299e03b5eaf Mon Sep 17 00:00:00 2001 From: SamlonDev Date: Sat, 14 Jun 2025 18:54:02 +0200 Subject: code-style issues --- main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index e21ec66..5993734 100644 --- a/main.py +++ b/main.py @@ -1,18 +1,22 @@ import datetime import os -from dotenv import load_dotenv + # create a pycord bot template import discord from discord.ext import commands +from dotenv import load_dotenv bot = commands.Bot(intents=discord.Intents.all()) + + @bot.event async def on_ready(): print(f"ŁUKASZ SPERMA AKTYWACJA" + datetime.datetime.now().strftime("(%Y-%m-%d %H:%M:%S)")) - # send message to channel ID + # send the message to channel ID channel = bot.get_channel(1081667823799111804) await channel.send("ŁUKASZ SPERMA AKTYWACJA") + if __name__ == "__main__": load_dotenv() extensions = [ -- cgit v1.2.3