Skip to content

Commit 11eef8b

Browse files
authored
Add alias make/create as an alias to alias add & add to changelog (#3195)
1 parent b693b27 commit 11eef8b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html);
77
however, insignificant breaking changes do not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319). If you're a plugin developer, note the "BREAKING" section.
88

9+
# [UNRELEASED]
10+
11+
### Fixed
12+
- `?alias make/create` as aliases to `?alias add`. This improves continuity between the bot and its command structure.
913

1014
# v4.0.2
1115

cogs/utility.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ async def make_alias(self, name, value, action):
11151115
await self.bot.config.update()
11161116
return embed
11171117

1118-
@alias.command(name="add")
1118+
@alias.command(name="add", aliases=["create", "make"])
11191119
@checks.has_permissions(PermissionLevel.MODERATOR)
11201120
async def alias_add(self, ctx, name: str.lower, *, value):
11211121
"""

0 commit comments

Comments
 (0)