lunarflu HF Staff commited on
Commit
9b2ca80
Β·
1 Parent(s): 0ffdf29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -13,13 +13,13 @@ bot = commands.Bot(command_prefix='!', intents=intents)
13
 
14
  welcome_list = []
15
  welcome_messages = [
16
- "Welcome to the community :hugging_croissant:",
17
  "Good to have you with us! :hugging: Got any cool projects you feel like sharing? :eyes:",
18
  "Welcome aboard 🦜 β›΅",
19
- "Hello friends! :wave: Where are you folks from? :globe: :hugging_earth:"
20
  "Glad you're here! Welcome! 🎊",
21
- "New faces, new friends! Welcome! πŸ˜„πŸ‘‹",
22
- "Happy to have you with us! :blobcatlove: How much have you played around with ML/AI? :laptop:"
23
  ]
24
  welcome_messages_counter = 0
25
 
@@ -31,7 +31,7 @@ async def on_member_join(member):
31
  welcome_list.append(member.mention)
32
  if len(welcome_list) > 4:
33
  channel = bot.get_channel(1100458786826747945)
34
- message = f'{welcome_messages[welcome_messages_counter]}'
35
  if welcome_messages_counter == 6:
36
  welcome_messages_counter == -1
37
  welcome_messages_counter = welcome_messages_counter + 1
 
13
 
14
  welcome_list = []
15
  welcome_messages = [
16
+ "Welcome to the community :hugging_croissant: ",
17
  "Good to have you with us! :hugging: Got any cool projects you feel like sharing? :eyes:",
18
  "Welcome aboard 🦜 β›΅",
19
+ "Hello friends! :wave: Where are you folks from? :globe_with_meridians: :hugging_earth: "
20
  "Glad you're here! Welcome! 🎊",
21
+ "Happy to have you with us! :blobcatlove: How much have you played around with ML/AI? :laptop:",
22
+ "New faces, new friends! Welcome! πŸ˜„πŸ‘‹"
23
  ]
24
  welcome_messages_counter = 0
25
 
 
31
  welcome_list.append(member.mention)
32
  if len(welcome_list) > 4:
33
  channel = bot.get_channel(1100458786826747945)
34
+ message = f'{welcome_messages[welcome_messages_counter]} {welcome_list[0]} {welcome_list[1]} {welcome_list[2]} {welcome_list[3]}'
35
  if welcome_messages_counter == 6:
36
  welcome_messages_counter == -1
37
  welcome_messages_counter = welcome_messages_counter + 1