Kapitel 01
Bots coden
Jeder Account kann bis zu 5 Bots erstellen. Token holst du im Bot Portal — danach läuft alles über die Python-Library gameseek.
Bot anlegen
Öffne das Bot Portal, erstelle einen Bot und kopiere den Token (gsbot_…).
Library installieren
Einmalig per pip vom GameSeek-Server.
Code schreiben
bot.py lokal oder im Portal — dann bot.run().
pip install https://gameseekapp.xyz/bot/gameseek-pkg.zip
import os
from gameseek import Bot
TOKEN = os.environ.get("GAMESEEK_BOT_TOKEN", "gsbot_DEIN_TOKEN")
bot = Bot(TOKEN, command_prefix=("!", "/"), api_base="https://gameseekapp.xyz")
@bot.event
async def on_ready():
print(f"Bereit als {bot.user}")
@bot.command()
async def ping(ctx):
await ctx.send("Pong!")
if __name__ == "__main__":
bot.run()
Header: Authorization: Bot gsbot_…
GET /api/bot/events — Poll ca. jede Sekunde
POST /api/bot/messages — Text, Embeds, Buttons
Code GSBOT-XXXXXXXX im Chat posten (Owner/Admin)
Tipp: Mit Server-Hosting bleibt der Bot online ohne lokales Script. Eigene Commands brauchen dann trotzdem ein laufendes bot.py.