joefromsansnite

Untitled

Nov 25th, 2021
706
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # IMPORTS
  2. import discord
  3. import os
  4.  
  5. # VARIABLES
  6. client = discord.Client()
  7. token = ""
  8. prefix = ">>"
  9.  
  10.  
  11. # EVENTS
  12. @client.event
  13. async def on_ready():
  14.   print("logged in as '{0.user}'".format(client))
  15.  
  16. @client.event
  17. async def on_message(message):
  18.   if message.author == client.user:
  19.     return
  20.  
  21.   content = message.content
  22.  
  23.   if content.replace(" ", "").find("taiwan") == 0: # 'conrent.replace(" ", "")' epic anti-bypass
  24.     await message.channel.send("-10000 social credit")
  25.  
  26.  
  27.   # COMMANDS
  28.   if content[0:2] == ">>" and content[2:len(content)] == "Source_Code":
  29.     await message.channel.send("")
  30.  
  31.  
  32. # FUNCTIONS
  33. def start():
  34.   client.run(token)
  35.  
  36.  
  37. # CALL FUNCTIONS
  38. start()
RAW Paste Data