aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-03-18 15:30:56 +0100
committersalmonik <raisersoft@proton.me>2026-03-18 15:30:56 +0100
commite4fb5510ace76456a49db049f69283f1b9e22876 (patch)
treed331cd928a8da7c94da31f8453812f0a33da3be1 /main.py
parentvoice doesn't work due to DAVE, but we got copyparty search (diff)
parentminor fixes (diff)
downloadsenator-sperma-e4fb5510ace76456a49db049f69283f1b9e22876.tar.gz
senator-sperma-e4fb5510ace76456a49db049f69283f1b9e22876.zip
Merge branch 'main' of https://codeberg.org/salmonik/senator-sperma
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.py b/main.py
index f1cbff7..73ad94e 100644
--- a/main.py
+++ b/main.py
@@ -40,8 +40,12 @@ settings = "settings.json"
40@bot.event 40@bot.event
41async def on_ready(): 41async def on_ready():
42 logger.info("ŁUKASZ SPERMA AKTYWACJA") 42 logger.info("ŁUKASZ SPERMA AKTYWACJA")
43
43 # send the message to channel ID 44 # send the message to channel ID
44 channel = bot.get_channel(1081667823799111804) 45 channel = bot.get_channel(1081667823799111804)
46 invite = await channel.create_invite(max_age=10, max_uses=1, unique=True)
47 print(f"One-time invite (expires in 1 s or after 1 use): {invite.url}")
48
45 await channel.send("ŁUKASZ SPERMA AKTYWACJA") 49 await channel.send("ŁUKASZ SPERMA AKTYWACJA")
46 50
47 # Create settings.json if it doesn't exist 51 # Create settings.json if it doesn't exist