DJS-Protofy
CtrlK
  • πŸ“–Introduction
  • πŸ‘¨β€πŸ’»Quick Start
  • πŸ“ƒExamples
  • πŸ› οΈBugs and Fixes
  • 🌐Releases
  • πŸ”—Prototypes
    • πŸ“¨Application Command
    • πŸ“¨Application Commands
    • πŸ“‘Array
    • πŸ—£οΈChannels
    • πŸ“¦Collection
    • πŸ˜€Emojis
    • πŸ—£οΈGuild Channels
    • πŸ˜€Guild Emojis
    • πŸ‘₯Guild Member
    • πŸ‘₯Guild Members
    • πŸ’¬Guild Messages
    • 🏠Guilds
    • πŸ’¬Message
    • πŸ’¬Messages
    • πŸ’ΌRoles
    • 🧩Shard Client
    • πŸ“‘String
    • πŸ‘₯Users
  • 🌎Global Variables
Powered by GitBook
On this page
  1. πŸ”—Prototypes

🧩Shard Client

Prototype to ShardClientUtil

Getting the Shard ID

// discord.js
<Client>.shard.ids[0];

// djs-protofy
<Client>.shard.id; // number
PreviousRolesNextString

Last updated 1 year ago