Send a Message to a Specific Channel Using Discord.py

Ғылым және технология

Synthetic Everything shows you how to send a message to a specific channel using discord.py
Have A Suggestion For A New Video Comment Below And I Will Get Back To You As Soon As Possible!
I post my videos on lbry.tv: lbry.tv/@SyntheticEverything:8
My lbry invite link: lbry.tv/$/invite/@SyntheticEv...
Check out my website: https:syntheticmediagroup.com/
Consider Joining Our Discord - / discord
If the discord invite doesn't work check our website or my channel's about tab for an updated link.
Please answer this form about our channels: goo.gl/forms/AR2bYv1UUKJPfHs63

Пікірлер: 45

  • @simplesky4110
    @simplesky41103 жыл бұрын

    Calming voice, no 360p intro, clear explaining, and no outdated code. you earned a sub.

  • @ariyanhacker29
    @ariyanhacker293 жыл бұрын

    Thanks dude, really appreciate the work. Keep on making awesome content!!

  • @fingymplayz
    @fingymplayz2 жыл бұрын

    OMG thanks, I was searching the internet for ages, thanks for the tutorial!

  • @___Reno___
    @___Reno___3 жыл бұрын

    thanks for the video man, really helped out

  • @BeeJarYT
    @BeeJarYT2 жыл бұрын

    Thank you so much mate helped me a lot

  • @t_butter
    @t_butter2 жыл бұрын

    this is very helpful! thank you

  • @aivan7711
    @aivan77112 жыл бұрын

    How about the case that I want to make a automatic program to send a command to specific channel to command the bot to do something? For example, whenever the temperature measurement is higher than 100F, I would like my program to send a command to a specific channel so my bot can take the command and to perform certain action like: crank up the AC. In your example you have to manually type the message in discord.

  • @kthegreat69420
    @kthegreat694203 жыл бұрын

    great video but can you please increase the font? Because it is barely understandable.

  • @AlvinPdn
    @AlvinPdn3 жыл бұрын

    Hi I wanna ask if it's possible to send to more than 1 channels but we choose which channel to send to?

  • @itzkostas2395
    @itzkostas23952 жыл бұрын

    I was you're one thousand sub!

  • @catchinghackers8250
    @catchinghackers82503 жыл бұрын

    What do I do if the bot simply won’t work but you have all the right code lines?

  • @josephvionito407
    @josephvionito4072 жыл бұрын

    Could something similar be done using this code? For example, if I wanted to use the @everyone then typed a message, could I make that message appear in a separate channel locked to only show the message?

  • @newgenart482
    @newgenart4822 жыл бұрын

    bro thank you for the video. Am trying to make the discord bot post a message every morning I did some research but I could not find anything clear

  • @preritdas6998
    @preritdas69982 жыл бұрын

    Does this still work? Doesn't appear to be working as of Jan 2022.

  • @BlazingTonk
    @BlazingTonk3 жыл бұрын

    Is it possible to do it inside a cog???

  • @oneno7283
    @oneno72832 жыл бұрын

    I want the bot to actively send me messages every once in a while without me having to start it with a command, what should I do?

  • @skipdip
    @skipdip3 жыл бұрын

    How can I make an uptime command like yours?

  • @notperco
    @notperco2 жыл бұрын

    I love u bro rlly

  • @MemoryFrr
    @MemoryFrr2 жыл бұрын

    Can you make a private message embed code one?

  • @user-cr2gu5ni5x
    @user-cr2gu5ni5x3 жыл бұрын

    tysm u saved me

  • @heat3space
    @heat3space3 жыл бұрын

    Why that doesn't work

  • @utpalenduchakroborty1699
    @utpalenduchakroborty16993 жыл бұрын

    where is the code?

  • @M5J72XrtvEa24XteAIdNGA
    @M5J72XrtvEa24XteAIdNGA Жыл бұрын

    Thanks alot, but is there any way to do this with code like this? import discord client = discord.client()

  • @AeroSolidColor
    @AeroSolidColor2 жыл бұрын

    what is the code? ALL the code

  • @zhixialiu8851
    @zhixialiu88513 жыл бұрын

    yeah, every programmer on youtube have the same problem. The font size is too small to see on a laptop

  • @Morgan-vr1lp

    @Morgan-vr1lp

    Жыл бұрын

    Just to 720p or higher

  • @TheReal4th
    @TheReal4th3 жыл бұрын

    How did you give your a gui like that? Sorry im new to all this

  • @Morgan-vr1lp

    @Morgan-vr1lp

    Жыл бұрын

    Vs code. One of the best editers there is. Plus it's free. Pycharm is better, but pycharm is python only, and vs code supports basically every language (assuming you have that setup)

  • @wolfyfx6145
    @wolfyfx61453 жыл бұрын

    Hey um is there a way to do it on java/discord.js?

  • @Spacehold-gd9os

    @Spacehold-gd9os

    3 жыл бұрын

    client.channels.cache.get("channel id").send("message")

  • @ecsigriefer8254
    @ecsigriefer82543 жыл бұрын

    I need to send embed messages to a specific channel but it doesn't work for me

  • @ClooverDev

    @ClooverDev

    3 жыл бұрын

    prob make an embed before embed= discord.Embed( title= 'title', color= discord.Color.blue(), description= 'description' then replace the message in *channel.send('your text')* with *channel.send(embed=embed)*

  • @blakeglitches1853

    @blakeglitches1853

    3 жыл бұрын

    @@ClooverDev discord.Embed*

  • @juegosretro1042
    @juegosretro1042 Жыл бұрын

    to do it with the slash command? how could it be done?

  • @majorskies7091

    @majorskies7091

    Жыл бұрын

    what i am woundering too

  • @pepeefirat

    @pepeefirat

    7 ай бұрын

    @@majorskies7091 bot = commands.Bot(command_prefix='!' just change the prefix in here

  • @Loukas_Anastasiadis
    @Loukas_Anastasiadis3 жыл бұрын

    is there a way to get the channel by name instead of id ?

  • @niiy2480
    @niiy24803 жыл бұрын

    Hi how can i send a message to all text chancels

  • @Morgan-vr1lp

    @Morgan-vr1lp

    Жыл бұрын

    Make a list of all the channel id's, then use a for loop to go through them.

  • @Wafaduck
    @Wafaduck2 жыл бұрын

    What if I wanna do it to a multiple channels?

  • @Morgan-vr1lp

    @Morgan-vr1lp

    Жыл бұрын

    for loop (I can explain more if needed)

  • @sergiii3593
    @sergiii359311 ай бұрын

    how did u do that !uptime command?

  • @SyntheticEverything

    @SyntheticEverything

    10 ай бұрын

    github.com/Sidpatchy/RomeBot/blob/459e1ee78bc7236c4216407058574b48dac05006/RomeBot.py#L178

  • @soundisfunction
    @soundisfunction Жыл бұрын

    looks like a good video, unwatchable on mobile though

  • @Isabella-zz1pq
    @Isabella-zz1pq3 жыл бұрын

    bald

Келесі