Answer the question
In order to leave comments, you need to log in
How to make a Discord bot play/watch?
Many bots have it written, for example, plays !, *, >, etc. I want my bot to have it written the same way.
@bot.command()
async def привет(ctx):
await ctx.send("Привет :wink:!")
Answer the question
In order to leave comments, you need to log in
I can not understand what, it was so difficult to simply answer the question? Dude, if you haven't answered yet, here's
@bot.event
async def on_ready():
while True:
game = discord.Game("here is your text that will be displayed in "Playing in"")
await bot.change_presence(status= discord.Status.idle, activity=game)
"Regular library" - what exactly is it? discord.py?
I don't know how in Python, JavaScript uses the setPresence() method.
The analogue, most likely, is: https://discordpy.readthedocs.io/en/latest/ext/com...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question