readable variable names
This commit is contained in:
parent
71b8f31507
commit
c3fb10348a
@ -129,16 +129,16 @@ class WelcomeScreen:
|
|||||||
|
|
||||||
Usage: ::
|
Usage: ::
|
||||||
|
|
||||||
channel_1 = guild.get_channel(12345678)
|
rules_channel = guild.get_channel(12345678)
|
||||||
channel_2 = guild.get_channel(87654321)
|
announcements_channel = guild.get_channel(87654321)
|
||||||
|
|
||||||
custom_emoji = utils.get(guild.emojis, name='loudspeaker')
|
custom_emoji = utils.get(guild.emojis, name='loudspeaker')
|
||||||
|
|
||||||
await welcome_screen.edit(
|
await welcome_screen.edit(
|
||||||
description='This is a very cool community server!',
|
description='This is a very cool community server!',
|
||||||
welcome_channels=[
|
welcome_channels=[
|
||||||
WelcomeChannel(channel=channel_one, description='Read the rules!', emoji='👨🏫'),
|
WelcomeChannel(channel=rules_channel, description='Read the rules!', emoji='👨🏫'),
|
||||||
WelcomeChannel(channel=channel_two, description='Watch out for announcements!', emoji=custom_emoji),
|
WelcomeChannel(channel=announcements_channel, description='Watch out for announcements!', emoji=custom_emoji),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user