Advertisement
Guest User

Untitled

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