Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. import discord
  2. from discord.ext.commands import AutoShardedBot, when_mentioned_or
  3.  
  4. modulos = ["cogs.invite"]
  5. client = AutoShardedBot(command_prefix="l!", case_insensitive=True)
  6.  
  7. @client.event
  8. async def on_ready():
  9. print(f"{client.user.name} Online.")
  10. await client.change_presence(activity=discord.Streaming(name="!help", url="https://www.twitch.tv/luizfernando15"))
  11.  
  12.  
  13. if __name__ == "__main__":
  14. for modulo in modulos:
  15. client.load_extension(modulo)
  16.  
  17. client.run("NDk4MTgyNjQzNzQxODg0NDE5.XS9E6Q.2Zk2WGWhBpe19LphZxg4rPVMc2k")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement