From 05e9f6872b7d74aed4a420cdef1a33a3d70fbf22 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Fri, 28 Jun 2024 16:49:06 -0400 Subject: [PATCH] Kill supporthelper --- cogs/support_helper.py | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 cogs/support_helper.py diff --git a/cogs/support_helper.py b/cogs/support_helper.py deleted file mode 100644 index 5f68318..0000000 --- a/cogs/support_helper.py +++ /dev/null @@ -1,33 +0,0 @@ -import discord -from discord import app_commands -from discord.ext import commands -from selfcord import Client -import os -import util - -class SupportHelper(commands.Cog): - def __init__(self, bot: commands.Bot, user: selfcord.Client) -> None: - self.bot = bot - self.user = user - - @app_commands.command(name="rule5", description="Call out retards that @ me") - @app_commands.allowed_installs(guilds=False, users=True) - @app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True) - async def rule5(self, interaction: discord.Interaction, target: discord.User) -> None: - embed = discord.Embed() - embed.title = "Rule 5" - embed.description = "Avoid pinging anyone in support, or DMing for support. Don't ask for support elsewhere than in <#1026515880080842772>. Be patient when receiving support. You may lose access to support if you break this rule repeatedly." - await interaction.response.send_message(content=target.mention, embed=embed) - - @app_commands.command(name="donor", description="How to claim your Vencord Premium perks") - @app_commands.allowed_installs(guilds=False, users=True) - @app_commands.allowed_contexts(guilds=True, dms=True, private_channels=True) - async def donor(self, interaction: discord.Interaction, target: discord.User) -> None: - embed = discord.Embed() - embed.title = "Claim donor perks" - embed.description = "To claim your Vencord donor perks, you can DM <@343383572805058560> (username `vending.machine`)." - embed.add_field(name="I can't send the DM!", value="It means **your** DMs are closed. Make sure that they are open in the Vencord Server.") - await interaction.response.send_message(content=target.mention, embed=embed, allowed_mentions=discord.AllowedMentions(users=False)) - -async def setup(bot: commands.Bot) -> None: - await bot.add_cog(SupportHelper(bot)) \ No newline at end of file