Die Suche ergab 1 Treffer

von crailsoo
Dienstag 17. Mai 2022, 19:33
Forum: Installation/Konfigurieren
Thema: commands von discord lassen sich nicht installieren:
Antworten: 2
Zugriffe: 2017

commands von discord lassen sich nicht installieren:

import asyncio
import discord
from discord.ext import commands
from discord import Member

client = discord.Client(intents=discord.Intents.all(), command_prefix='!')

@client.command()
async def ping(ctx):
await ctx.send("Pong!")

Jedoch ist ,,from discord.ext import commands" bei mir in Python ...