Skip to main content

これはdiscordpyとasyncpgを使用し、POSTTGRESQLにデータを保存する処理があるBOTを作ってる日本人向けに作成したものです

Project description

asyncpgw

これはdiscord.pyとasyncpgを使用し、POSTTGRESQLにデータを保存する処理があるBOTを作ってる日本人向けに作成したものです。

使い方

asyncpgwをインストール

python3 -m pip install asyncpg

基本的な使い方

ソースコードがかなり長くなってしまうので、 testsフォルダー にまとめてあります。

尚、このコードはCOGを使用しています。

テキストチャットで発言するとユーザーのレベルがあがるコードを例にしてます。

変更ログ

0.0.1

・テスト

0.0.2

・descriptionの変更

0.0.3

・カラムが空だった場合に対応

0.0.4

・bug fix

0.0.5

・bug fix

0.0.6

・bug fix

0.0.7

・bug fix

0.0.8

・ ListpgクラスのTypeErrorが出るバグを直した。

0.0.9

・ Listpgクラスの)の位置を直した

0.1.0

・ Listpgクラスのbugを直した

0.1.1

・limit_fetchsのbugを直した

0.1.2

・同じ

0.1.3

・ListPgをPgにまとめた ・sortfetchとlimitfetchを追加

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asyncpgw-0.1.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

asyncpgw-0.1.3-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page