import discord
from discord.ext import commands
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix='.', intents=intents)
@bot.event
async def on_ready():
print(f'{bot.user} olarak giriş yapıldı!')
@bot.command()
async def sa(ctx):
await ctx.send('aleyküm selam')
bot.run('tokenim')
------------------------------------------------------------------------------
.sa Yazdığımda aleyüm selam yazmıyor ve botum aktif
from discord.ext import commands
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix='.', intents=intents)
@bot.event
async def on_ready():
print(f'{bot.user} olarak giriş yapıldı!')
@bot.command()
async def sa(ctx):
await ctx.send('aleyküm selam')
bot.run('tokenim')
------------------------------------------------------------------------------
.sa Yazdığımda aleyüm selam yazmıyor ve botum aktif