Get started with Peachy now 🍑
PEACHYPEACHY
Company

Job List

The `joblist` command lists all users who have approved job positions, grouped by their job position.

Command Details

  • Name: joblist
  • Aliases: jl
  • Category: Company
  • Description: List all users with jobs grouped by position.
  • Usage: joblist
  • Examples:
    • joblist
    • jl
  • Cooldown: 3 seconds
  • Arguments: None
  • Slash Command: Disabled
  • Permissions:
    • Bot: SendMessages, ViewChannel, EmbedLinks
    • User: Developer or Staff only
  • Player Requirements: None

Functionality

  • Fetches all users with an approved job from the database:
    User.find({ "work.status": "approved" });