You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2024. It is now read-only.
Add some variables and properies to Context object
Solution
ctx=Context(...)
ctx.author# Member objectctx.id# or int(ctx)ctx.token# or str(ctx)repr(ctx) # Context('https://...', author=Member(...))ctx.message# Message objectctx.command# Command objectcommand=Command(...)
command.name# or str(command)command.id# or int(command)command.resolved# ResolvedData objectresolved=ResolvedData(...)
resolved.usersresolved.membersresolved.rolescommand.type# int objectcommand.guilds# array of Guild objectcommand.guild_ids# array of int objectcommand.localizations# Localizations objectcommand.localizations.description# dict[str, str] object where key is localization name (f. e. 'ru') and value is localization stringcommand.localizations.name# dict[str, str] object
The text was updated successfully, but these errors were encountered:
Description of your idea
Add some variables and properies to Context object
Solution
The text was updated successfully, but these errors were encountered: