import discord
from discord.ext import commands
from random import randint as r
intents = discord.Intents.default()
intents.message_content = True
Bot = commands.Bot(command_prefix="c! ", intents=intents)
cikan = 0
Cevapli = 0
@Bot.event
async def on_ready():
print("Şimdi ONLINE!")
@Bot.command()
async def zar_at(ctx):
cikan = r(1,6)
await ctx.send(cikan)
@Bot.command()
async def soru(ctx):
await ctx.message.add_reaction("")
@Bot.command()
async def tamin(ctx,args):
Cevapli = r(1,4)
zor = str(Cevapli)
if args == Cevapli:
await ctx.message.add_reaction("")
await ctx.message("Doğru! Cevap " + zor + " Seçeneğidir.")
else:
await ctx.message.add_reaction("")
ctx.messsage("Doğru")
#ctx = msg veri alma
Bot.run