Skip to content

TECH-127 Add URL field#3

Open
iyfrncsca wants to merge 1 commit intocontainersfrom
TECH-127-Add-URL-Field
Open

TECH-127 Add URL field#3
iyfrncsca wants to merge 1 commit intocontainersfrom
TECH-127-Add-URL-Field

Conversation

@iyfrncsca
Copy link
Copy Markdown

@iyfrncsca iyfrncsca commented Mar 18, 2026

Jira Issue Reference

Type of Change

  • Bug Fix
  • Feature
  • Update / Improvement
  • Documentation only
  • Other:

Description

bot/database/database.ts

  • Added URL as a parameter to AddUserWarning, AddUserBan, AddUserKick, AddUserTimeout and in the data dict.

bot/discord/commands/moderator/(Ban, Kick, Timeout, Warn).ts

  • Added URL as a string option to allow users to set a value to it.

bot/models/(Ban, Kick, Timeout, Warn).ts

  • Added URL as an optional field in the model.

bot/templates/embeds/(Ban, Kick, Timeout, Warn)LogEmbed.ts

  • Added URL in the embed -> shows link if it exists and "None" if not.

Images

Before:
image-20260217-062032
After:
Screenshot 2026-03-17 at 7 05 20 PM

Testing

Ensure you've tested the following, if applicable. Select all that apply.

  • Mobile/Desktop View (if applicable)
  • Accessibility (if applicable)
  • Functionality
  • Edge cases
  • Not tested
  • Other testing:

Note: Ensure you put [skip ci] in the code review title if these are changes that shouldn’t run the CI, such as documentation changes

Copy link
Copy Markdown
Member

@arasantos arasantos left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants