Discord Bot 利用者/開発者のための情報共有コミュニティです。
discordbotportaljp / database Goto Github PK
View Code? Open in Web Editor NEWDiscordユーザから提供される情報を一元管理するアプリケーション
Discordユーザから提供される情報を一元管理するアプリケーション
everyone や here などを送ってしまう危険性があるのと、
メンションを送る必要性がないので、全て禁止にする
コマンド操作で、
ぐらいのシンプルなものをまず作る
命名規則、ブランチ名、その他諸々。
最終的にWikiにまとめますが、その前の議論をここでやります。
https://github.com/DiscordBotPortalJP/database/runs/1271101000
Run flake8 --ignore=E501 . | lintly --format=flake8 --log --commit-sha=
flake8 --ignore=E501 . | lintly --format=flake8 --log --commit-sha=
shell: /bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.8.6/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.6/x64/lib
LINTLY_API_KEY: ***
Lintly: 2020-10-18 12:29:02,432 [DEBUG] lintly.builds: Using the following configuration:
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - pr='main'
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - repo='DiscordBotPortalJP/database'
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - commit_sha='89f1c6d1387b58761cdbb1446bd1b2e51dc227dc'
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - api_key='********'
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - format='flake8'
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - fail_on='any'
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - post_status=True
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - request_changes=True
Lintly: 2020-10-18 12:29:02,433 [DEBUG] lintly.builds: - github_check_run_id='313724567'
Lintly: 2020-10-18 12:29:02,433 [INFO] lintly.builds: Running Lintly against PR #main for repo DiscordBotPortalJP/database
Lintly: 2020-10-18 12:29:02,433 [INFO] lintly.builds: Lintly found violations in 0 files
Lintly: 2020-10-18 12:29:02,434 [DEBUG] lintly.backends.github: Sending a get request to /repos/DiscordBotPortalJP/database/pulls/main
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.6/x64/bin/lintly", line 8, in <module>
sys.exit(main())
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/lintly/cli.py", line 74, in main
build.execute()
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/lintly/builds.py", line 76, in execute
diff = self.get_pr_diff()
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/lintly/builds.py", line 86, in get_pr_diff
return self.git_client.get_pr_diff(self.config.pr)
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/lintly/backends/github.py", line 171, in get_pr_diff
diff = client.get(diff_url, headers={'Accept': GITHUB_DIFF_HEADER})
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/lintly/backends/github.py", line 85, in get
return self._do_request('get', url, data, headers)
File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/lintly/backends/github.py", line 112, in _do_request
raise NotFoundError(response.content, status_code=response.status_code)
lintly.backends.errors.NotFoundError: b'{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/pulls#get-a-pull-request"}'
Error: Process completed with exit code 1.
チームメンバーでないとForkして開発しなければいけなくて面倒なので、
チームメンバーにして、直接cloneしてpushしてPR立てられるようにします。
招待するので、参加する方はこちらにコメントをお願いします!
CI は GitHub Actions
Linter は flake8
でどうでしょう?
個人で環境構築して動かすにも、Herokuやその他VPSで動かすにも、Docker + Docker-Composeが勝手がいいのでDocker + Docker-Composeを使うのはどうでしょうか。
技術選定は #1 で進んでいるが、学習コストが高かったため、
一旦 FastAPI + Heroku + PostgreSQL で構築する
ユーザからの情報を保存するため、色々気を付けるべき事項が存在する。
そのために必要な対策はしておく。
利用規約と同意の仕組みを用意する、など。
https://dribbble.com/shots/13927122-Sale-Dashboard
こういうのとか
https://dribbble.com/shots/11210586-DIG-BMX-Shop-Redesign
こういうデザインがいいと思います。
topggは結構凝ってないのでそこらへん差を付けたい
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.