readable variable names

This commit is contained in:
NCPlayz 2021-02-24 22:39:27 +00:00 committed by Arthur Jovart
parent 71b8f31507
commit c3fb10348a
No known key found for this signature in database
GPG Key ID: DE4444AAAAAAAAAA

View File

@ -129,16 +129,16 @@ class WelcomeScreen:
Usage: ::
channel_1 = guild.get_channel(12345678)
channel_2 = guild.get_channel(87654321)
rules_channel = guild.get_channel(12345678)
announcements_channel = guild.get_channel(87654321)
custom_emoji = utils.get(guild.emojis, name='loudspeaker')
await welcome_screen.edit(
description='This is a very cool community server!',
welcome_channels=[
WelcomeChannel(channel=channel_one, description='Read the rules!', emoji='👨‍🏫'),
WelcomeChannel(channel=channel_two, description='Watch out for announcements!', emoji=custom_emoji),
WelcomeChannel(channel=rules_channel, description='Read the rules!', emoji='👨‍🏫'),
WelcomeChannel(channel=announcements_channel, description='Watch out for announcements!', emoji=custom_emoji),
]
)