How to MAKE your own discord welcomer bot!

Опубликовано: 14 Октябрь 2024
на канале: Ceed
255
7

#discord #discordserver #discordverification #ceed

Please like and subscribe for more content like this, also, it would really help me out!!

Video Links
Discord Dev Portal:   / discord  
Replit: https://replit.com/~
Visual Studio Code: https://code.visualstudio.com/

-------------------------------------------------

Code in video
import discord
import asyncio
from discord.ext import commands

intents = discord.Intents.all()
intents.members = True
client = commands.Bot(command_prefix="!", intents=intents)

@client.event
async def on_ready():
print("The bot is now online!")

@client.event
async def on_member_join(member):
await member.send("Your welcome message")

async def main():
async with client:
await client.start("Your token")

asyncio.run(main())

-------------------------------------------------------

Discord Server
Ceed Kingdom:   / discord  

Gaming Channel
Kraken: ‪@kraken9012‬

Other Socials
Vlogging Channel: ‪@ceedvlogs6841‬
Twitch:   / ceed_official  
Twitter:   / ceedgang  

Sub Goal: 340 subs!