How do you do statuses for bot's?
How do you do custom statuses for bot's on Discord and making them play games, in Python if that makes sense
Voters
btfuss
Well. If you know how to take input and print out stuff in your server, you know how to do games. You can make a status by creating a thread:
import threading
def status():
while True:
status = 'Good'
then google how to thread it (its different for different purposes)
EchoRando
@2plus2is4hoi didn't work
btfuss
@EchoRando well just set a string for the bots status, and then change it if you have to
@bot.event
async def on_ready():
activity = discord.Game(name="a game")
await bot.change_presence(status=discord.Status.online, activity=activity)
if you want something like
Playing a game
(assuming your bot variable is named bot and your not using cogs, if you are using cogs just reply that your using cogs)