// Discord Server by coders, for coders
activity
Discordを中心に、Botづくりから雑談まで気軽に参加できるコミュニティです。
Python(discord.py / nextcord)やLuaを使ったBot制作が主な活動。アイデアを持ち込んで一緒に作ろう。
コードの話、日常、ゲーム、なんでもOK。気軽に話せる空気感を大切にしています。
「動くけど自信ない」そんなコードも歓迎。メンバー同士でフィードバックし合います。
作ったBotやスクリプトをサーバーで公開・配布。実績がない初心者も大歓迎です。
bot gallery
サーバーで開発・運用されている多機能Botたちです。
メインサーバー管理Bot
サーバーの管理から歓迎メッセージ、ロール付与、チャンネル監視まで対応した多機能Bot。pyhubサーバーの心臓部です。
ミニゲーム & エンタメBot
じゃんけん、クイズ、数当てゲームなどのミニゲームを搭載。ポイントシステムでサーバーを盛り上げます。
情報収集 & 通知Bot
天気予報、ニュース取得、GitHub通知など外部APIと連携して情報をDiscordに届けるBot。
tech stack
PythonとLuaをメインに、Discord APIと組み合わせたBot開発を行っています。
# pyhub — 多機能Botのサンプル import discord from discord import app_commands from discord.ext import commands, tasks intents = discord.Intents.default() bot = commands.Bot(command_prefix="!", intents=intents) @bot.tree.command(name="hello", description="pyhubへようこそ") async def hello(interaction: discord.Interaction): embed = discord.Embed( title="👋 ようこそ pyhub へ!", description=f"こんにちは {interaction.user.mention}!\nBot開発・雑談・Luaで遊ぼう", color=0x5865F2 ) await interaction.response.send_message(embed=embed) @tasks.loop(hours=1) async def status_update(): await bot.change_presence( activity=discord.Game("pyhub | /hello") ) @bot.event async def on_ready(): await bot.tree.sync() status_update.start() print(f"✅ {bot.user} — pyhub online")