dunnerski

Untitled

Aug 6th, 2022
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. global enabled
  2. enabled = 1
  3.  
  4.  
  5.  
  6. #Wakes up the Discord Bot
  7. @client.event
  8.  
  9. async def on_ready():
  10. print('We have logged in as {0.user}'.format(client))
  11.  
  12. if enabled != 0:
  13. Cuteling = 952800048528388166
  14. Tankling = 962565503681982494
  15. Zoomling = 962565864421478430
  16. BotTest = 880305786868351017
  17. cChannel = client.get_channel(Cuteling)
  18. tChannel = client.get_channel(Tankling)
  19. zChannel = client.get_channel(Zoomling)
  20. bChannel = client.get_channel(BotTest)
  21. print('Enabled')
  22. await bChannel.edit(name='ButThisWorksWhy')
  23. #cChannel = client.get_channel(952800048528388166)
  24. await cChannel.edit(name=f"Yesterday's: {mutator[i-1]}")
  25. print("Cuteling")
  26. #tChannel = client.get_channel(962565503681982494)
  27. await tChannel.edit(name=f"Today's: {mutator[i]}")
  28. print("Tankling")
  29. #zChannel = client.get_channel(962565864421478430)
  30. await zChannel.edit(name=f"Tomorrow's: {mutator[i+1]}")
  31. print("Zoomling")
  32. print("No Errors")
  33.  
  34. if enabled == 0:
  35. Cuteling = 952800048528388166
  36. Tankling = 962565503681982494
  37. Zoomling = 962565864421478430
  38. BotTest = 880305786868351017
  39. cChannel = client.get_channel(Cuteling)
  40. tChannel = client.get_channel(Tankling)
  41. zChannel = client.get_channel(Zoomling)
  42. bChannel = client.get_channel(BotTest)
  43. print('Disabled')
  44. await bChannel.edit(name='WhyNoWorky')
  45. #cChannel = client.get_channel(952800048528388166)
  46. await cChannel.edit(name=f"Cuteling Voice")
  47. print("Cuteling")
  48. #tChannel = client.get_channel(962565503681982494)
  49. await tChannel.edit(name=f"Tankling Voice")
  50. print("Tankling")
  51. #zChannel = client.get_channel(962565864421478430)
  52. await zChannel.edit(name=f"Zoomling Voice")
  53. print("Zoomling")
  54. print("No Errors")
  55.  
Advertisement
Add Comment
Please, Sign In to add comment