[Core] Changed prefix length to 25. #5476

Merged
ltzmax merged 7 commits from AAA_prefix_change_limit into V3/develop 2021-12-25 04:14:16 +01:00
ltzmax commented 2021-12-20 21:21:24 +01:00 (Migrated from github.com)

Description of the changes

This PR changes the length from 20 to 40 so people can set their prefixes to bot mention ("<@!12345678901234567890> " - total of 25 characters) or a rendered bot mention ("@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA#1234 " - total of 39 characters)

### Description of the changes This PR changes the length from `20` to `40` so people can set their prefixes to bot mention (`"<@!12345678901234567890> "` - total of 25 characters) or a rendered bot mention (`"@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA#1234 "` - total of 39 characters)
Jackenmen commented 2021-12-20 21:49:19 +01:00 (Migrated from github.com)

You need to update this in more places, see https://github.com/Cog-Creators/Red-DiscordBot/pull/5117 for referemce

You need to update this in more places, see https://github.com/Cog-Creators/Red-DiscordBot/pull/5117 for referemce
ltzmax commented 2021-12-20 22:13:40 +01:00 (Migrated from github.com)

You need to update this in more places, see #5117 for referemce

Thanks, forgot about that. Updated now.

> You need to update this in more places, see #5117 for referemce Thanks, forgot about that. Updated now.
leetfin (Migrated from github.com) reviewed 2021-12-23 16:44:11 +01:00
leetfin (Migrated from github.com) left a comment

LGTM

LGTM
Jackenmen (Migrated from github.com) reviewed 2021-12-25 02:47:57 +01:00
Jackenmen (Migrated from github.com) left a comment

The change is fine but I don't think anyone would possibly use 40 characters long prefix. 25 has merit because it's the max length for mention + space but I really don't think 40 has any merit.

The change is fine but I don't think anyone would possibly use 40 characters long prefix. 25 has merit because it's the max length for mention + space but I really don't think 40 has any merit.
ltzmax commented 2021-12-25 03:33:47 +01:00 (Migrated from github.com)

The change is fine but I don't think anyone would possibly use 40 characters long prefix. 25 has merit because it's the max length for mention + space but I really don't think 40 has any merit.

I'm all down to change it to 25 if you want that instead of 40. Both works though.

> The change is fine but I don't think anyone would possibly use 40 characters long prefix. 25 has merit because it's the max length for mention + space but I really don't think 40 has any merit. I'm all down to change it to 25 if you want that instead of 40. Both works though.
Jackenmen commented 2021-12-25 03:35:27 +01:00 (Migrated from github.com)

I'm all down to change it to 25 if you want that instead of 40.

Yeah, I think that would be great.

> I'm all down to change it to 25 if you want that instead of 40. Yeah, I think that would be great.
ltzmax commented 2021-12-25 03:54:22 +01:00 (Migrated from github.com)

I'm all down to change it to 25 if you want that instead of 40.

Yeah, I think that would be great.

Alright I've changed it to 25 now.

> > I'm all down to change it to 25 if you want that instead of 40. > > > > Yeah, I think that would be great. Alright I've changed it to 25 now.
Jackenmen (Migrated from github.com) approved these changes 2021-12-25 04:14:11 +01:00
Jackenmen (Migrated from github.com) left a comment

LGTM

LGTM ![](https://c.tenor.com/6aSwChrWuhcAAAAC/cats-pull.gif)
red-githubbot[bot] commented 2021-12-25 04:14:18 +01:00 (Migrated from github.com)

Thanks ltzmax for the PR 🎉. I'm working now to backport this PR to: 3.4.

Thanks ltzmax for the PR 🎉. I'm working now to backport this PR to: 3.4.
red-githubbot[bot] commented 2021-12-25 04:14:20 +01:00 (Migrated from github.com)

Sorry, @jack1142, I could not cleanly backport this to 3.4 due to a conflict. Please backport using cherry_picker on command line.

cherry_picker b091f13df5b291dc483ed12023e69e600f09e938 3.4
Sorry, @jack1142, I could not cleanly backport this to `3.4` due to a conflict. Please backport using [cherry_picker](https://pypi.org/project/cherry-picker/) on command line. ``` cherry_picker b091f13df5b291dc483ed12023e69e600f09e938 3.4 ```
red-githubbot[bot] commented 2021-12-25 04:15:47 +01:00 (Migrated from github.com)

#5487 is a backport of this pull request to Red 3.4.

#5487 is a backport of this pull request to [Red 3.4](https://github.com/Cog-Creators/Red-DiscordBot/tree/3.4).
Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!5476
No description provided.