Skip to content

pistachiostudio/takohachi

Repository files navigation

🐙 Takohachi 🐙

GitHub top language GitHub Workflow Status GitHub Workflow Status Ruff GitHub issues Discord open in vscode

Takohachi is useless Discord bot.
But he has romance.

🐙 About

これはピスタチオゲーム部親睦会というDiscordサーバーのためのユースレスBotです。

⚙ Functions

https://github.com/pistachiostudio/takohachi/tree/main/src/cogs

🪂 installing Packages & Dependencies

With rye🌾

mitsuhiko/rye: An Experimental Package Management Solution for Python

$ rye sync

🏭 Auto deployment by GitHub Actions

🌊 Takohachi inhabits Lightsail

Now

flowchart LR

Z(Codes)
A(Docker)
B(main<br>branch)
C(Docker)
D[(SQLite)]
F(Codes)
G[(SQLite)]
H(.env)
I(.env)
J(((Discord)))

subgraph Host Machine
Z
G
A
H
end

subgraph GitHub
B
end

subgraph AWS Lightsail
subgraph Ubuntu
C
D
F
I
end
end

Z o--o H
H -- run --> A
Z -- Push --> B
A o--o G
B -- Auto<br>deploy --> F
F o--o I
I -- run --> C
C o--o  D
C <--> J

Future Enchantment

flowchart LR

Z(Codes)
A(Docker)
B(main<br>branch)
C(Docker)
D[(SQLite)]
F(Codes)
G[(SQLite)]
H(.env)
I(.env)
J[(SQLite)]
K(((Discord)))



subgraph Host Machine
Z
G
A
H
end

subgraph GitHub
B
end

subgraph AWS Lightsail
subgraph Ubuntu
C
D
F
I
end
end

subgraph Enchantment
subgraph AWS-S3
J
end
end
style Enchantment fill:forestgreen
style AWS-S3 fill:forestgreen

Z o--o H
H -- run --> A
Z -- Push --> B
A o--o J
B -- Auto<br>deploy --> F
F o--o I
I -- run --> C
C o--o  D
D -- mirror --> J
A x-.-x G
C <--> K

🐳 Docker

1. Clone this repository

$ git clone https://github.com/pistachiostudio/takohachi.git

2. Create .env file on the root directory

OPENAI_API_KEY=''
TOKEN=''
PREFIX='!!'
CARDCOUNT_KEY=''
CLIENT_SECRET=''
DATABASE_URL=''
DIC_KEY=''
DRIVE_FOLDER_ID=''
GOOGLE_APPLICATION_CREDENTIALS=''
INU_VC_ID=''
NEKO_VC_ID=''
KAME_VC_ID=''
KYORYU_VC_ID=''
LOG_TEXT_CHANNEL_ID=''
SPOTIFY_CLIENT_ID=''
SPOTIFY_CLIENT_SECRET=''
SSLADD_KEY=''
TAKOHACHI_JSON=''
TRN_API_KEY=''

3. Run

$ docker compose up -d

🔫 Yeah_bot_is_on_ready!!

🎨 Icons

by Go Inagaki by Imoya

🐕 Pistachio Studio

川崎のヒップホップ/録音/プロデューサーチーム。ヒップホップクルー = CBSとそのバックバンドChicken Is Niceを中心に15年以上活動中。 全員30超え、仕事あり、家庭あり、ガキもあり、ペットもあり、かなり限界ながらも活動中。 chelmicoというラップユニットの裏方や、シンガーソングライター iriのプロデュースなどもやっています。 ピスタチオゲーム部親睦会はPistachio Studioのメンバーが中心となって発足したエンジョイゲームコミュニティです。

🔗 Links

🤝 License

Takohachi is released under the MIT license. ©2024 Pistachio Gaming & Pistachio Studio.