GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - RiskyMH/member-screening: A simple Discord bot that screens new members and quarantines suspicious accounts until they verify.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
docker-compose.yml
docker-compose.yml
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Member Screening

A small Discord bot that screens new members and quarantines suspicious accounts until they verify.

/join-guard

Opens a modal to configure the screening:

  • Quarantine channel — private verification threads are created here, and a message with an "Open verification thread" button is posted.
  • Quarantine role — applied to members who fail screening. Configure this role to deny access to every channel except the quarantine channel.
  • Log channel (optional) — where quarantine, verification, and kick events are logged, plus role/kick failures. Later events reply to the original quarantine log when possible.
  • Screening options (all enabled by default):
    • Recent accounts — accounts created in the last 15 days.
    • Spammer flags — Discord's Spammer/Quarantined user flags or unusual_dm_activity_until.
    • Default avatars — no avatar, or one of Discord's default/mobile avatar hashes.
    • No global name — user has only a username and no display name.
  • Verification time is fixed at 15 minutes.

How quarantine works

  1. A member joins and matches one or more enabled rules.
  2. The bot gives them the quarantine role and creates a private thread in the quarantine channel.
  3. The thread explains why they were quarantined and gives them a Verify me button.
  4. Pressing it opens a short "I'm not a robot" modal. Submitting it removes the quarantine role, marks the quarantine as passed, logs it, and deletes the thread.
  5. If the 6 hour timer expires first, the bot DMs them (best effort), kicks them, logs it, and deletes the thread.

Setup

Requires Bun.

bun install
DISCORD_TOKEN=your_token_here bun run dev

Environment variables:

Variable Required Description
DISCORD_TOKEN yes Bot token.
DATABASE_URL no SQLite database. Defaults to sqlite://db.sqlite.

The Server Members privileged intent must be enabled in the Discord developer portal for GuildMemberAdd.

About

A simple Discord bot that screens new members and quarantines suspicious accounts until they verify.

discord.com/oauth2/authorize?client_id=1569606502577348699

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.