mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Remove deprecated name argument
This commit is contained in:
parent
ef632a10b5
commit
55c97ae356
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ async def on_ready():
|
||||||
# bot.loop.create_task(u.clear(booru.temp_urls, 30*60))
|
# bot.loop.create_task(u.clear(booru.temp_urls, 30*60))
|
||||||
|
|
||||||
if u.config['playing'] is not '':
|
if u.config['playing'] is not '':
|
||||||
await bot.change_presence(activity=d.Game(name=u.config['playing']))
|
await bot.change_presence(activity=d.Game(u.config['playing']))
|
||||||
|
|
||||||
print('\n> > > > > > > > >\nC O N N E C T E D : {}\n> > > > > > > > >\n'.format(bot.user.name))
|
print('\n> > > > > > > > >\nC O N N E C T E D : {}\n> > > > > > > > >\n'.format(bot.user.name))
|
||||||
await bot.get_channel(u.config['info_channel']).send(f'**Started** \N{BLACK SUN WITH RAYS} `{"` or `".join(u.config["prefix"])}`')
|
await bot.get_channel(u.config['info_channel']).send(f'**Started** \N{BLACK SUN WITH RAYS} `{"` or `".join(u.config["prefix"])}`')
|
||||||
|
@ -116,7 +116,7 @@ async def on_ready():
|
||||||
bot.loop.create_task(u.cogs['Administration'].delete())
|
bot.loop.create_task(u.cogs['Administration'].delete())
|
||||||
|
|
||||||
if u.config['playing'] is not '':
|
if u.config['playing'] is not '':
|
||||||
await bot.change_presence(activity=d.Game(name=u.config['playing']))
|
await bot.change_presence(activity=d.Game(u.config['playing']))
|
||||||
|
|
||||||
await reconnect.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
await reconnect.add_reaction('\N{WHITE HEAVY CHECK MARK}')
|
||||||
print('\nS U C C E S S\n')
|
print('\nS U C C E S S\n')
|
||||||
|
|
Loading…
Reference in a new issue