#Assets are not displayed in activity

1 messages · Page 1 of 1 (latest)

still wadi
#

Good day, I've been trying to figure out "disnake.Activity" for several hours, but nothing works. For some reason, the assets I specified are simply not displayed, please help me

ACTIVITY = disnake.Activity(
    application_id=1264955464270090242,
    name='Profile Dasha Mamina',
    type=disnake.ActivityType.listening,
    state='In a state of stress',
    assets={
        'large_image': 'logo',
        'large_text': 'logo',
        'small_image': 'logo',
        'small_text': 'logo',
    }
)

INTENTS = disnake.Intents.all()

class TeamBot(commands.Bot):
    def __init__(self):
        super().__init__(intents=INTENTS,
                   reload=True,
                   help_command=None,
                   command_prefix=commands.when_mentioned_or(settings.PREFIX_COMMAND_BOT),
                   activity=ACTIVITY)

    async def on_ready(self):
        print(f'{self.user} is ready!')
still wadi
#

Why is this indicated in the documentation of this class?