S
S
Senpai262021-11-29 10:49:22
Bots
Senpai26, 2021-11-29 10:49:22

How to make a bot on Discord py send a welcome message exactly to the channel for system messages that is specified on the server?

I'm creating a bot and I want the bot to send hello messages specifically to the server's system message channel. BUT I have a problem, I don't know how to get the server's system channel.
I know that in order for the bot to react when a person has joined, you need to use on_member_join.
But I don't know how to get a channel without specifying a specific id. Well, that is, it must receive the channel that is specified in the "system message channel".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HAPPYV0DKA, 2021-12-05
@HAPPYV0DKA

The system message channel is available via Guild.system_channel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question