Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/發送禮物 指令的預期外錯誤 #89

Closed
iach526526 opened this issue Jul 4, 2024 · 4 comments · Fixed by #90
Closed

/發送禮物 指令的預期外錯誤 #89

iach526526 opened this issue Jul 4, 2024 · 4 comments · Fixed by #90
Assignees
Labels
bug Something isn't working
Milestone

Comments

@iach526526
Copy link
Member

問題說明 Describe the feature
重新啟動中電喵後, dm 按鈕存放的電電點或抽獎劵會過期
To Reproduce
重現錯誤的步驟 Steps to reproduce the behavior:

1.使用 /發送禮物送電電點給某個人
2.重新啟動中電喵
3.領取電電點,查看電電點 log 資料庫
4.發現這個 bug

Expected behavior
你想要怎樣? A clear and concise description of what you expected to happen.
修好它
Additional context
還有什麼想說的? Add any other context about the problem here.
希望 pylint 不要再沒過了,這就像夢回國小重寫甲乙本

@iach526526 iach526526 added the bug Something isn't working label Jul 4, 2024
@winstonsung
Copy link
Collaborator

那個Pylint要是過了就是發給5個人的禮物變成5份禮物全部發給1個人()。

@iach526526
Copy link
Member Author

iach526526 commented Jul 4, 2024

是嗎?我有測試發同時發給我之外的其他人,功能是沒問題的。 lambda 裡面只是在把 Discord 名稱映射成 Discord id
f0b47e8

@winstonsung
Copy link
Collaborator

後來看了一下Stackoverflow裡面,似乎是有一些lambda的特例會誤報。

@iach526526
Copy link
Member Author

PR: #90
create a SQL table store button id and its content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants