Skip to content

Commit

Permalink
[WarnSystem] Remove unused note command
Browse files Browse the repository at this point in the history
  • Loading branch information
laggron42 committed Jun 20, 2020
1 parent 1548dcc commit 078a525
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions warnsystem/warnsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def __init__(self, bot):
self._init_logger()
self.task: asyncio.Task

__version__ = "1.3.0"
__version__ = "1.3.1"
__author__ = ["retke (El Laggron)"]

def _init_logger(self):
Expand Down Expand Up @@ -520,17 +520,6 @@ async def update_message():
await message.delete()

# all warning commands
@commands.command()
@checks.mod_or_permissions(administrator=True)
@commands.guild_only()
async def note(self, ctx: commands.Context, member: discord.Member, *, reason: str):
"""
Write a note in a member's modlog.
This does not count as a warning. The member won't receive a DM.
"""
pass

@commands.group(invoke_without_command=True, name="warn")
@checks.mod_or_permissions(administrator=True)
@commands.guild_only()
Expand Down

0 comments on commit 078a525

Please sign in to comment.