Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions cogs/memes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import discord
import math
import random
import asyncio

from discord.ext import commands
from typing import TYPE_CHECKING
Expand Down Expand Up @@ -814,6 +815,24 @@ async def removegay(self, ctx: KurisuContext, u: discord.Member):
f"{u.mention} has been downgraded from 'yass queen' to 'yeah'."]
await self._meme(ctx, random.choice(removegay_list), True)

if u.nick is not None:
if "🌈" in u.nick:
gay_nick = u.nick
else:
gay_nick = False
elif "🌈" in u.global_name:
gay_nick = u.global_name
else:
gay_nick = False

if gay_nick:
await u.edit(nick=gay_nick.replace("🌈", ""))
await asyncio.sleep(15)
if gay_nick == u.global_name: # race condition but who cares lol
await u.edit(nick=None) # Reset server nick
else:
await u.edit(nick=gay_nick)

@commands.command(hidden=True, aliases=["🅱"])
async def b(self, ctx: KurisuContext):
"""haha, b emoji funny"""
Expand Down