#How do i check channel name ( something like dicsord.TextChannel.name

1 messages · Page 1 of 1 (latest)

naive lark
#

what is dicsord

#

it will return "test" not "#test"

#

also you are accessing the actual class itself, not the actual instance of the GuildChannel

#

You don't learn Pycord without learning Python basics

#

so you are telling me that you know Python and don't know about classes

#

?tag lp

thin gobletBOT
#
near nacelle
#

The channel whose name you want to compare is an instance of the discord.abc.GuildChannel class
so to check the name of that specific channel you need to use the channel object