Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.
The DT edited this page Mar 26, 2023 · 7 revisions

The selfcord module, user is used to represent the discord user. It is simply just ones discord account.

Attributes


  • name (str) - The user's username, not unique across the platform

  • id (str) - The user's id

  • discriminator (str) - The user's 4-digit discord-tag

  • avatar (str) - The user's avatar hash

  • banner (str) - The user's banner hash

  • bot (selfcord.bot.Bot) - Get bot obj

  • bot_acc (bool) - er the user is a bot account or not

  • avatar_url (str) - The user's avatar_url

  • banner_url (str) - The user's banner_url

  • system (bool) - Whether the user is an Official Discord System user (part of the urgent message system)

  • created_at (str) - The UTC time in which the user account was created

  • b64token (str) - The base64 encoded userid, the first part of a users token


Methods


  • create_dm (str) - Creates a DM for the current User

yey

Clone this wiki locally