Answers for "how to clear status discordpy"

0

discord.py clear status

def _status(self, ctx, *, message):
        '''Set a custom playing status for the bot.'''
        if message == 'clear':
            return await self.change_presence(activity=None)
        await self.change_presence(activity=discord.Game(message))
        await ctx.send(f"Changed status to **{message}**")
Posted by: Guest on March-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language