Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -86,12 +86,13 @@ async def on_member_join(member):
|
|
86 |
passage = "Unable to fetch Bible verse"
|
87 |
|
88 |
# Create an embed
|
89 |
-
embed = discord.Embed(title=f"Welcome to the server, {member.name}!", description="Hope you have a great stay here.", color=discord.Color.blue())
|
90 |
embed.add_field(name="Random Bible Verse", value=passage, inline=False)
|
91 |
embed.set_footer(text="Created by Cosmos")
|
92 |
|
93 |
await channel.send(embed=embed)
|
94 |
|
|
|
95 |
# running in thread
|
96 |
def run_bot():
|
97 |
if not DISCORD_TOKEN:
|
|
|
86 |
passage = "Unable to fetch Bible verse"
|
87 |
|
88 |
# Create an embed
|
89 |
+
embed = discord.Embed(title=f"Welcome to the server, {member.name}!", description=f"Hope you have a great stay here, <@{member.id}>!", color=discord.Color.blue())
|
90 |
embed.add_field(name="Random Bible Verse", value=passage, inline=False)
|
91 |
embed.set_footer(text="Created by Cosmos")
|
92 |
|
93 |
await channel.send(embed=embed)
|
94 |
|
95 |
+
|
96 |
# running in thread
|
97 |
def run_bot():
|
98 |
if not DISCORD_TOKEN:
|