Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import discord
- from discord.ext.commands import AutoShardedBot, when_mentioned_or
- modulos = ["cogs.invite", "cogs.say"]
- client = AutoShardedBot(command_prefix="l!", case_insentisitive=True)
- @client.event
- async def on_ready():
- print(f"{client.user.name} Online.")
- await client.change_presence(activity=discord.Streaming(name="Olá.",url="https://www.twitch.tv/luizfernando15"))
- if __name__ == "__main__":
- for modulo in modulos:
- client.load_extension(modulo)
- client.run("já tá o token")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement