Skip to content

Commit

Permalink
snap updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeloc committed Jan 17, 2024
1 parent 1e45c85 commit 140c3e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ V2.0 增加了多用户的支持以及多ChatGPT key的轮询。
```
prompt请修改一下,以避免你和别人的答案类似,不同的prompt会产生截然不同的回答。


2024年1月17日 修复了不能T楼的小bug

2023年11月13日 增加了T楼功能,多账号轮流T楼。mjj强大利器。

## 环境
Expand Down
5 changes: 1 addition & 4 deletions Snapped.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import random

from pyexpat.errors import messages

import login
import time
import logging
Expand Down Expand Up @@ -120,7 +117,7 @@ def reply(self, tid, message=''):
# 循环执行每对用户名、密码和ChatGPT密钥的组合
while looptimes>0:
for credentials in config.user_credentials:
hostname = 'www.hostloc.com'
hostname = 'hostloc.com'
username = credentials['username']
password = credentials['password']
# 随机选择一个ChatGPT密钥
Expand Down
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# credentials.py

user_credentials = [
{'username': 'aaa', 'password': 'bbb'},
{'username': 'username', 'password': '123456'},
# 添加更多的用户名和密码组合
]

Expand All @@ -11,7 +11,7 @@
# 添加更多的ChatGPT密钥
]
#T楼主题ID
auto_replay_tid = 12345
auto_replay_tid = 1264587
#T楼次数
auto_replay_times = 100
#间隔时间(秒)
Expand Down

0 comments on commit 140c3e2

Please sign in to comment.