Skip to content

Conversation

@martinbndr
Copy link
Contributor

  • Fixes an issue with error message being incorrect.
  • Protects eval command for being added into an alias if the user does not have permissions to it as Owner level etc. as the command is quite dangerous and should not be added by normal moderators (Could be used to nuke server for example).

martinbndr and others added 3 commits June 9, 2024 12:49
- Fixes an issue with error message being incorrect.
- Protects eval command for being added into an alias if the user does not have permissions to it as Owner level etc. as the command is quite dangerous and should not be added by normal moderators (Could be used to nuke server for example).
@StephenDaDev StephenDaDev requested review from a team, Zinoviya99, lorenzo132 and sebkuip December 5, 2025 21:24
@StephenDaDev StephenDaDev changed the base branch from master to development December 5, 2025 21:27
StephenDaDev
StephenDaDev previously approved these changes Dec 5, 2025
Copy link
Member

@StephenDaDev StephenDaDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Member

@sebkuip sebkuip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an issue that you forgot to check causing errors.

embed = utils.create_not_found_embed(name, self.bot.aliases.keys(), "Alias")
return await ctx.send(embed=embed)

embed = await self.make_alias(name, value, "Edited")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This call to make_alias does not have the new ctx arg which would break editing aliases

@martinbndr
Copy link
Contributor Author

There's an issue that you forgot to check causing errors.

Ih damn yea seems I forgot that, will fix it in next few days when I have time.

@StephenDaDev StephenDaDev dismissed their stale review December 14, 2025 01:22

Needs changes. Will re-review after changes are made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants