Forgived matthew

This commit is contained in:
EEKIM10 2023-05-12 11:05:57 +01:00
parent abae7ea979
commit 356d082f67

View file

@ -712,9 +712,9 @@ class OtherCog(commands.Cog):
window_width = max(min(1080 * 6, window_width), 1080 // 6)
window_height = max(min(1920 * 6, window_height), 1920 // 6)
await ctx.defer()
if ctx.user.id == 1019233057519177778 and ctx.me.guild_permissions.moderate_members:
if ctx.user.communication_disabled_until is None:
await ctx.user.timeout_for(timedelta(minutes=2), reason="no")
# if ctx.user.id == 1019233057519177778 and ctx.me.guild_permissions.moderate_members:
# if ctx.user.communication_disabled_until is None:
# await ctx.user.timeout_for(timedelta(minutes=2), reason="no")
url = urlparse(url)
if not url.scheme:
if "/" in url.path: