show a custom activity with prefix and help command
This commit is contained in:
parent
f78cfa6853
commit
7afb17c5a7
1 changed files with 3 additions and 0 deletions
3
bot.py
3
bot.py
|
@ -72,6 +72,9 @@ async def on_command_error(ctx, error):
|
|||
@bot.event
|
||||
async def on_ready():
|
||||
print("Bot ready on Version %s..." % discord.__version__)
|
||||
activity = discord.Activity(name='%shelp' % prefix, type=discord.ActivityType.listening)
|
||||
#activity = discord.Game('%shelp for Help' % prefix)
|
||||
await bot.change_presence(status=discord.Status.online, activity=activity)
|
||||
|
||||
#@bot.event
|
||||
#async def on_message(message):
|
||||
|
|
Loading…
Reference in a new issue