This website works better with JavaScript.
Home
Explore
Register
Sign In
miteruzo
/
nizika_bluesky
Watch
1
Star
0
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
はじまりの大地
kiriban
miteruzo
3 months ago
commit
34bc80d31d
5 changed files
with
36 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
.gitignore
+4
-0
.gitmodules
+2
-0
account.sample.py
+1
-0
ai
+26
-0
main.py
+ 3
- 0
.gitignore
View File
@@ -0,0 +1,3 @@
/__pycache__
/account.py
/connection.py
+ 4
- 0
.gitmodules
View File
@@ -0,0 +1,4 @@
[submodule "ai"]
path = ai
url = https://git.miteruzo.com/miteruzo/nizika_broadcast
branch = main
+ 2
- 0
account.sample.py
View File
@@ -0,0 +1,2 @@
USER_ID = 'deerjika-bot.bsky.social'
PASSWORD = 'xxxxxxxx'
+ 1
- 0
ai
@@ -0,0 +1 @@
Subproject commit 28f16ec1d6c0efa3fbb70190c203a361ba4b91a0
+ 26
- 0
main.py
View File
@@ -0,0 +1,26 @@
import time
import sys
from atproto import Client
from ai.talk import Talk
import account
def main () -> None:
api = Client ()
api.login (account.USER_ID, account.PASSWORD)
while True:
api.send_post (Talk.main ('今Twitterに何か投稿するなら何て書く? '
'投稿する内容だけを引用符などでくくらず'
'そのまま出力して'))
time.sleep (3600)
pass
if __name__ == '__main__':
main (*sys.argv[1:])
Write
Preview
Loading…
Cancel
Save