Cog-Creators / Cog-Creators/Red-DiscordBot

[Mod] names output parses links/invites

Open
#2,555 3 comments 0 reactions 0 assignees View on GitHub
Category: Cogs - Mod Status: Needs Discussion Type: Enhancement
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

# Command bugs

#### Command name

names

#### What cog is this command from?

Mod

#### What were you expecting to happen?

As a precaution Discord invites/URLs should be cleaned on the command's output.

#### What actually happened?

If a user sets their name to a discord invite or other URL it's parsed on the list of past nicknames.

#### How can we reproduce this issue?

Set a user's nickname to a url/invite, then use the names command on them.

Contributor guide

Open the contributing guide

Research direction

Locate the Mod cog's `names` command and reproduce the issue by setting a nickname to a Discord invite or other URL. The change is done when the names output no longer parses those links or invites, while still listing the nickname.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.