Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # IMPORTS
- import discord
- import os
- # VARIABLES
- client = discord.Client()
- token = ""
- prefix = ">>"
- # EVENTS
- @client.event
- async def on_ready():
- print("logged in as '{0.user}'".format(client))
- @client.event
- async def on_message(message):
- if message.author == client.user:
- return
- content = message.content
- if content.replace(" ", "").find("taiwan") == 0: # 'conrent.replace(" ", "")' epic anti-bypass
- await message.channel.send("-10000 social credit")
- # COMMANDS
- if content[0:2] == ">>" and content[2:len(content)] == "Source_Code":
- await message.channel.send("")
- # FUNCTIONS
- def start():
- client.run(token)
- # CALL FUNCTIONS
- start()
Advertisement
Add Comment
Please, Sign In to add comment