From c8f20ad7d087ce7d73693a2904948206c80350d3 Mon Sep 17 00:00:00 2001 From: ExtremeMachine12 <142951529+ExtremeMachine12@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:38:37 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b8beb27..7fcc5b6 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,10 @@ When a user runs command !rank, it shows the user their own rank, XP and level o
+

Interactive Greetings: Elevating the Welcome Message with Important Links

+This feature guarantees that whenever a new member joins, they are greeted with a warm and inclusive welcome message that not only extends a friendly reception but also provides them with all the necessary and significant links to get started and navigate the guild effectively. +

+

Installation and Running

From 4f9374f6e67ab44d5b6a134bebe91b4718379411 Mon Sep 17 00:00:00 2001 From: ExtremeMachine12 <142951529+ExtremeMachine12@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:40:57 -0400 Subject: [PATCH 2/2] Create expansion_WelcomeMessage.md --- docs/expansion_WelcomeMessage.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/expansion_WelcomeMessage.md diff --git a/docs/expansion_WelcomeMessage.md b/docs/expansion_WelcomeMessage.md new file mode 100644 index 0000000..568239d --- /dev/null +++ b/docs/expansion_WelcomeMessage.md @@ -0,0 +1,22 @@ +# About !expansion_Welcome Message +This feature ensures that every new member is greeted with a comprehensive welcome message, including all the important links. + +# Location of Code +The code that implements the above mentioned gits functionality is located [here](https://github.com/tanmaypardeshi/CSC-510-Project2-TeachersPetBot/src/bot.py). + +# Code Description +## Functions + +- def on_member_join(member): +is the start of a function in a Discord bot. It's an event handler that gets triggered when a new member joins a server, allowing you to specify actions the bot should take in response, such as sending a welcome message or performing other tasks related to the new member. + +# How to run it? (Small Example) +When a new member joins our server, they'll receive a warm welcome along with a collection of important links, enhancing their user experience and simplifying their journey. + +### Discord Bot Welcome Message and Important Links + +This code defines a Discord bot event handler that triggers when a new member joins a server. It sends a welcoming message to the new member and dynamically fetches important links from the 'important-links' channel, incorporating them into the message. This enhances the user experience by providing immediate access to essential resources and information upon joining the server. + +Successful execution will show the welcome messaage with important links. + +