Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/wling-art/U1bot
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 8, 2024
2 parents 60030b9 + 1754b51 commit 30c34bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
1. QWEATHER_APIKEY: 和风天气的apikey,用于获取天气信息,[注册地址](https://dev.qweather.com/)
2. bilibili_cookie=xxx: B站用户cookie,用于获取用户信息,[获取方式](##cookie-获取方式)

## cookie-获取方式
### cookie-获取方式
需要在 `.env.xxx` 文件中添加任意的B站用户cookie:

```
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/fakerinfo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
@fakeinfo.handle()
async def handle_function(matcher: Matcher):
await matcher.finish(
f'伪造信息:\n姓名:{faker.name()}\n网名:{faker.user_name()}\n身份证:{faker.ssn(min_age=18, max_age=90)}\n住址:{faker.address()}\n电话:{faker.phone_number()}\n邮箱:{faker.email()}\n公司:{faker.company()}\n职位:{faker.job()}'
f'伪造信息:\n姓名:{faker.name()}\n网名:{faker.user_name()}\n头像:{faker.image_url()}\n身份证:{faker.ssn(min_age=18, max_age=90)}\n住址:{faker.address()}\n电话:{faker.phone_number()}\n邮箱:{faker.free_email()}\n网站:{faker.hostname(2)}\n公司:{faker.company()}\n职位:{faker.job()}\n工作邮箱:{faker.company_email()}\n信用卡:{faker.credit_card_number()},{faker.credit_card_security_code()},{faker.credit_card_expire()}'
)

0 comments on commit 30c34bd

Please sign in to comment.