async def _set(ctx, Type=None, *, thing=None): """Tell me what I'm doing and I'll show it.""" if Type is None: await ctx.send( 'Butter do it right. Usage: `*presence [game/stream] [message]`') else: if Type.lower() == 'stream': await bot.change_presence(game=discord.game( name=thing, type=1, url='https://www.twitch.tv/a'), status='online') await ctx.send(f'Set presence to. `Streaming {thing}`') elif Type.lower() == 'game': await bot.change_presence(game=discord.game(name=thing)) await ctx.send(f'Set presence to `Playing {thing}`') elif Type.lower() == 'clear': await bot.change_presence(game=None) await ctx.send('Cleared Presence') else: await ctx.send('Usage: `.presence [game/stream] [message]`')
async def _set(ctx, Type=None, *, thing=None): """Change the bot's discord game/stream!""" if Type is None: await ctx.send( 'Y u so dank? Usage: `*presence [game/stream] [message]`') else: if Type.lower() == 'stream': await bot.change_presence(game=discord.game( name=thing, type=1, url='https://www.twitch.tv/a'), status='online') await ctx.send(f'Set presence to. `Streaming {thing}`') elif Type.lower() == 'game': await bot.change_presence(game=discord.game(name=thing)) await ctx.send(f'Set presence to `Playing {thing}`') elif Type.lower() == 'clear': await bot.change_presence(game=None) await ctx.send('Cleared Presence') else: await ctx.send('Usage: `.presence [game/stream] [message]`')
async def _set(ctx, Type=None, *, thing=None): """What AM I doing?!?!?!""" if Type is None: await ctx.send('Do it right, plz! Usage: *presence [game/stream] [msg]' ) else: if Type.lower() == 'stream': await bot.change_presence(game=discord.game( name=thing, type=1, url='https://www.twitch.tv/a'), status='online') await ctx.send(f'Aye aye, I am now streaming {thing}!') elif Type.lower() == 'game': await bot.change_presence(game=discord.game(name=thing)) await ctx.send(f'Aye aye, I am now playing {thing}!') elif Type.lower() == 'clear': await bot.change_presence(game=None) await ctx.send('Aye aye, I am not playing anything, anymore!') else: await ctx.send( 'Want me to do something? YOU do it right first. Usage: *presence [game/stream] [msg]' )
async def on_ready(): print('시작!') await bot.change_presence(game=discord.game(name='Gendo37이랑 코드 손보는중 '))
async def on_ready(): print("Bot is Ready") change_status.start() await client.change_presence(status=discord.Status.online, activity=discord.game(change_status()))
async def on_ready(): print(client.user.id) print("ready") game = discord.game("관리중") await client.change_presence(status=discord.Status.online, activity=game)
async def on_ready(): print(client.user.id) print("ready") game = discord.game("테스트봇") await client.change_presence(status=discord.status.offline)