これは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
Project details
Release history Release notifications | RSS feed
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.0.6.tar.gz
(3.2 kB
view hashes)