Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import discord
- from discord.ext import commands
- client = commands.Bot(command_prefix= '!')
- @client.event
- async def on_ready():
- print("Bot is ready.")
- await client.change_presence(status=discord.Status.online, activity=discord.Game('I want die kek'))
- @client.event
- async def on_member_join(member):
- print(f'{member} has joined the server')
- @client.event
- async def on_member_remove(member):
- print(f'{member} has left the server')
- @client.command()
- async def ping(ctx):
- await ctx.send(f"Pong! ({round(client.latency * 1000)}ms)")
- @client.command()
- async def clear(ctx, amount=10):
- await ctx.channel.purge(limit=amount)
- @client.command()
- async def partner(ctx):
- await ctx.send(f"```Join MOONLIGHT FOR THE MOST TRUSTED COMMINTIY```https://discord.gg/37jacd")
- client.run("NjIyODY0NDIxMDgxMDU1MjUy.XX6Wlg.HgsLBsYlM4Iz6ZS0E1XwsQlt3J")
- #goals as of 9/15. add a timed wait say 1-6 hours to add the partner to the server invite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement