aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorSamlonDev <stankiewiczgracjan2019@gmail.com>2025-06-14 18:54:02 +0200
committerSamlonDev <stankiewiczgracjan2019@gmail.com>2025-06-14 18:54:02 +0200
commit791e75cb2beeca45a6edf52b65f7e299e03b5eaf (patch)
treecfee93211b7f8ac1c985325aaf8d9399b7a357ca /main.py
parenttemp downloads the files instead (diff)
downloadsenator-sperma-791e75cb2beeca45a6edf52b65f7e299e03b5eaf.tar.gz
senator-sperma-791e75cb2beeca45a6edf52b65f7e299e03b5eaf.zip
code-style issues
Diffstat (limited to '')
-rw-r--r--main.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/main.py b/main.py
index e21ec66..5993734 100644
--- a/main.py
+++ b/main.py
@@ -1,18 +1,22 @@
1import datetime 1import datetime
2import os 2import os
3from dotenv import load_dotenv 3
4# create a pycord bot template 4# create a pycord bot template
5import discord 5import discord
6from discord.ext import commands 6from discord.ext import commands
7from dotenv import load_dotenv
7 8
8bot = commands.Bot(intents=discord.Intents.all()) 9bot = commands.Bot(intents=discord.Intents.all())
10
11
9@bot.event 12@bot.event
10async def on_ready(): 13async def on_ready():
11 print(f"ŁUKASZ SPERMA AKTYWACJA" + datetime.datetime.now().strftime("(%Y-%m-%d %H:%M:%S)")) 14 print(f"ŁUKASZ SPERMA AKTYWACJA" + datetime.datetime.now().strftime("(%Y-%m-%d %H:%M:%S)"))
12 # send message to channel ID 15 # send the message to channel ID
13 channel = bot.get_channel(1081667823799111804) 16 channel = bot.get_channel(1081667823799111804)
14 await channel.send("ŁUKASZ SPERMA AKTYWACJA") 17 await channel.send("ŁUKASZ SPERMA AKTYWACJA")
15 18
19
16if __name__ == "__main__": 20if __name__ == "__main__":
17 load_dotenv() 21 load_dotenv()
18 extensions = [ 22 extensions = [