privateone commited on
Commit
111973e
·
verified ·
1 Parent(s): b05026a

Update YukkiMusic/core/bot.py

Browse files
Files changed (1) hide show
  1. YukkiMusic/core/bot.py +2 -1
YukkiMusic/core/bot.py CHANGED
@@ -33,13 +33,14 @@ class YukkiBot(Client):
33
  get_me = await self.get_me()
34
  self.username = get_me.username
35
  self.id = get_me.id
 
36
  try:
37
  await self.send_message(config.LOG_GROUP_ID, "Bot Started")
38
  except:
39
  LOGGER(__name__).error(
40
  "Bot has failed to access the log Group. Make sure that you have added your bot to your log channel and promoted as admin!"
41
  )
42
- sys.exit()
43
 
44
  try:
45
  await self.set_bot_commands([
 
33
  get_me = await self.get_me()
34
  self.username = get_me.username
35
  self.id = get_me.id
36
+ self.name = get_me.first_name
37
  try:
38
  await self.send_message(config.LOG_GROUP_ID, "Bot Started")
39
  except:
40
  LOGGER(__name__).error(
41
  "Bot has failed to access the log Group. Make sure that you have added your bot to your log channel and promoted as admin!"
42
  )
43
+ #sys.exit()
44
 
45
  try:
46
  await self.set_bot_commands([