diff options
| author | salmonik <raisersoft@proton.me> | 2026-03-18 15:30:56 +0100 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-03-18 15:30:56 +0100 |
| commit | e4fb5510ace76456a49db049f69283f1b9e22876 (patch) | |
| tree | d331cd928a8da7c94da31f8453812f0a33da3be1 /main.py | |
| parent | voice doesn't work due to DAVE, but we got copyparty search (diff) | |
| parent | minor fixes (diff) | |
| download | senator-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.py | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -40,8 +40,12 @@ settings = "settings.json" | |||
| 40 | @bot.event | 40 | @bot.event |
| 41 | async def on_ready(): | 41 | async 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 |
