aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-03-19 22:03:03 +0100
committersalmonik <raisersoft@proton.me>2026-03-19 22:03:03 +0100
commitf3d8578759d2fea9e481696b7a29e2d2a1c30cc9 (patch)
tree80e643f41fd8ed83e51c75104224c2741a5c0cf0 /main.py
parentvclogs afk/active time (diff)
downloadsenator-sperma-f3d8578759d2fea9e481696b7a29e2d2a1c30cc9.tar.gz
senator-sperma-f3d8578759d2fea9e481696b7a29e2d2a1c30cc9.zip
normalised times on vclogs, and improved jarvis via reply chaining
Diffstat (limited to '')
-rw-r--r--main.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.py b/main.py
index 73ad94e..25b7b33 100644
--- a/main.py
+++ b/main.py
@@ -29,10 +29,7 @@ logger = logging.getLogger(__name__)
29loop = asyncio.new_event_loop() 29loop = asyncio.new_event_loop()
30asyncio.set_event_loop(loop) 30asyncio.set_event_loop(loop)
31 31
32intents = discord.Intents.default() 32intents = discord.Intents.all()
33intents.voice_states = True
34intents.guilds = True
35intents.messages = True
36bot = commands.Bot(intents=intents, loop=loop) 33bot = commands.Bot(intents=intents, loop=loop)
37 34
38settings = "settings.json" 35settings = "settings.json"
@@ -43,8 +40,6 @@ async def on_ready():
43 40
44 # send the message to channel ID 41 # send the message to channel ID
45 channel = bot.get_channel(1081667823799111804) 42 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 43
49 await channel.send("ŁUKASZ SPERMA AKTYWACJA") 44 await channel.send("ŁUKASZ SPERMA AKTYWACJA")
50 45