Discord için yazılan bot kodundaki hata nerededir?

chicken

Yoctopat
Katılım
18 Nisan 2024
Mesajlar
5
Daha fazla  
Cinsiyet
Erkek
import discord
from discord.ext import commands
import platform

class Bot(commands.Bot):
def init(self):
super().init(command_prefix="o!", pm_help=None, description="[-OSIRIS Discord Botu-]")
self.bot_version = "1.0.0"
self.bot_name = "OSIRIS Vakıf Botu"
self.author = "tavuuuk"
self.get_devicesOs = platform.system()

async def on_ready(self):
print("OSIRIS Bot Açılıyor.")
print("BOT: {}".format(self.user.name))
print("BOT ID {}".format(self.user.id))





bot = Bot()
bot.run(token)
 
Son düzenleyen: Moderatör:
import discord
from discord.ext import commands
import platform

class Bot(commands.Bot):
def init(self):
super().init(command_prefix="o!", pm_help=None, description="[-OSIRIS Discord Botu-]")
self.bot_version = "1.0.0"
self.bot_name = "OSIRIS Vakıf Botu"
self.author = "tavuuuk"
self.get_devicesOs = platform.system()

async def on_ready(self):
print("OSIRIS Bot Açılıyor.")
print("BOT: {}".format(self.user.name))
print("BOT ID {}".format(self.user.id))





bot = Bot()
bot.run(token)
Hata kodu ne? Birde tokeni mesajdan sil.
 

Yeni konular

Geri
Yukarı