#kann mir jemand bitte bei der Fehler Meldung helfen
1 messages · Page 1 of 1 (latest)
in dem modul was du als "discord" importierst gibt es nichts was "Bot" heißt.
``import discord
import os
from dotenv import load_dotenv
intents = discord.Intents.default()
bot = discord.Bot(
intents=intents
)
@bot.event
async def on_ready():
print(f"{bot.user} ist online")
if name == "main":
for filename in os.listdir("cogs"):
if filename.endswith(".py"):
bot.load_extension(f"cogs.{filename[:-3]}")
load_dotenv()
bot.run("")``
?tag replit
Read this to find out how you can install Pycord in Replit
Old instructions: https://web.archive.org/web/20211128084858/https://namantech.me/pycord/installation/#replit
New instructions: #998272089343668364 message
und bitte englisch schreiben hier @copper ridge
OK sory
Dann kann dir auch besser geholfen werden
Ok