Replies: 2 comments
-
Nevermind, I forgot to put 'self_bot = True' |
Beta Was this translation helpful? Give feedback.
-
I suspect you're using Replit, because replit ignores any package/lib that's called discord and downloads discord.py the original library, that suspicion is due to the fact that you said you "forgot to add self_bot = True", however |
Beta Was this translation helpful? Give feedback.
-
`import colorama
import discord
from colorama import Fore
from discord.ext import commands
colorama.init()
TOKEN = 'TOKEN'
bot = commands.Bot(command_prefix='//')
@bot.event
async def on_ready():
print(f'Logged in as {Fore.CYAN}{bot.user.name}{Fore.RESET}')
print('-------------------')
@bot.command()
async def ping(ctx):
await ctx.send('YEET')
bot.run(TOKEN)`
Beta Was this translation helpful? Give feedback.
All reactions