Merge branch 'dev' into 'master'
show a custom activity with prefix and help command See merge request aaron-riedel/shbot!17
This commit is contained in:
commit
2b2ddf6cbd
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
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print("Bot ready on Version %s..." % discord.__version__)
|
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
|
#@bot.event
|
||||||
#async def on_message(message):
|
#async def on_message(message):
|
||||||
|
|
Loading…
Reference in a new issue