Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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}**") 
Source by www.programcreek.com #
 
PREVIOUS NEXT
Tagged: #clear #status
ADD COMMENT
Topic
Name
2+2 =