Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/opqqq-plugin-NT.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added plugins/__pycache__/bot_github.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file added plugins/__pycache__/bot_sign_in.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 7 additions & 7 deletions plugins/bot_sign_in.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@
async def sign_in():
if g:=ctx.g:
userGroup = g.from_group
print(1)
#print(1)

if Tools.commandMatch(userGroup, blockGroupNumber):
print(2)
#print(2)
return

if not Tools.textOnly(g):
print(3)
#print(3)
return

userQQ = g.from_user
msg = g.text
print(4)
#print(4)
nickname = g.from_user_name
await mainProgram(msg, userQQ, userGroup, nickname)
print(5)
#print(5)

mark_recv(sign_in)

Expand Down Expand Up @@ -631,10 +631,10 @@ def getTimeDifference(cls, original, model):
async def mainProgram(msg, userQQ, userGroup, nickname):
# Matching method one
exactMatch = Tools.commandMatch(msg, commandList)
print('进入发送程序1')
#print('进入发送程序1')
if exactMatch:
result = processing(userQQ, nickname)
print('进入发送程序2')
#print('进入发送程序2')
if result == Status.FAILURE:
return
await Tools.sendPictures(
Expand Down
Loading