mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 07:34:57 +00:00
Update main.py
This commit is contained in:
parent
12b585c369
commit
c1af742c73
1 changed files with 3 additions and 3 deletions
4
main.py
4
main.py
|
@ -7,7 +7,6 @@ import discord
|
|||
from discord.ext import commands
|
||||
from dotenv import load_dotenv
|
||||
|
||||
import logscript
|
||||
from functions import config_entry, get_prefix, hit_endpoint, get_server_status
|
||||
from unicode import clipboard
|
||||
|
||||
|
@ -90,7 +89,8 @@ async def on_message(message):
|
|||
if role.id in bypass_roles:
|
||||
bypass = True
|
||||
|
||||
asked_for_ip = re.search("(((give *(me)?)|(wh?at'? *i?s?))( *the)?( *server)? *ip)|(ip\?)", message.content.lower())
|
||||
asked_for_ip = re.search("(((give *(me)?)|(wh?at'? *i?s?))( *the)?( *server)? *ip)|(ip\?)",
|
||||
message.content.lower())
|
||||
if asked_for_ip is not None:
|
||||
print("THE IP IS GAY")
|
||||
em = discord.Embed(
|
||||
|
|
Loading…
Reference in a new issue