enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. 8. I am making a discord bot using node.js and discord.js, and I am currently trying to make it so that when a user joins the discord server, a custom welcome message is sent. Here is my code: bot.on("guildMemberAdd" ,(message, member) => {. message.channel.send("Welcome")

  3. I changed the version from discord.js v12 to v13 and my bot join message doesn't work anymore. const { MessageEmbed, WebhookClient } = require("discord.js"); const { channels } =

  4. I'm new making a discord bot with python and I want o make a event that display a welcome message when someone joins the server. I tried with this code. import discord. import random. from discord.ext import commands. alfred = commands.Bot(command_prefix = '!', description = "Hey!, I'm Alfred, How can I assist you?")

  5. python 3.x - Discordpy welcome bot - Stack Overflow

    stackoverflow.com/questions/66444121

    2. First of all, looking at the discord.py documention, ctx is not passed to the on_member_join event reference. However, you can use the attributes of member which is passed in order to get the values which you need. embed = discord.Embed(. colour=0x1abc9c, description=f"Welcome {member.name} to {member.guild.name}!"

  6. discord - Welcome Message (Embed) - Stack Overflow

    stackoverflow.com/questions/58042910

    Discord bot, embeded welcome message not working. 0. Discord bot that posts custom welcome message. 0 ...

  7. Discord.py welcome message for multiple servers

    stackoverflow.com/questions/62667213

    You can save the Id of the top text channel as a default when the server joins the server and let them change what channel to use with commands, this can be done with the on_guild_join event. import json. #sets value in json to guild id upon the bot joining the guild. @client.event. async def on_guild_join(guild):

  8. I currently am having trouble running this code it used to stop the bot/replit when a person joins the bot/replit now it declares it as an empty message let Discord = require("discord.js"...

  9. Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. Learn more Explore Teams

  10. discord - Bot welcome message embed - Stack Overflow

    stackoverflow.com/questions/60022996

    I'm trying to make the bot display an embed, when a user joins with some user information. I was able to get the username, avatar and the total guild members. Problem is when I use .addField('Date Joined', member.user.createdAt, true) it indeed shows the date, but it is formatted like this:

  11. python - Welcome Message - Discord.py - Stack Overflow

    stackoverflow.com/questions/64624158

    discord bot Welcome message dont work .py. 2. Discordpy welcome bot. 0. Not sending in Welcome Message in ...