Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Discord username 'false none flag'? discord usernames are always lowercase, one line change fixes issue

Closed Beginner friendly
#755 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
security

Research direction

The bug is in user_scanner/user_scan/social/discord.py, where the request payload is built as data = {"username": user} around line 18. Reproduce by scanning a Discord username with a capital letter and confirm the 'false none flag' result. Then test the proposed user.lower() change against a lowercase and a mixed-case input. Done when a capitalized input gives the same result as its lowercase form, and the reporter's claim that Discord usernames are always lowercase is verified.

Written by the indexing model from the issue text.

Description

user-scanner/user_scanner/user_scan/social/discord.py
on like 18 this error is thrown.
change
data = {"username": user}

into this:
data = {"username": user.lower()}

if the username youre hunting for has an input into the tool as a capital first letter

Dominant language
Python
Stars
5.2k
Forks
530
Avg merge
23h 52m
Merged PRs (30d)
43

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kaifcodec/user-scanner

All issues in kaifcodec/user-scanner

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.