Check if channel name starts with a certain word

前端 未结 0 1311
广开言路
广开言路 2020-11-22 01:30

Im trying to make my bot check if a channel starts with a certain word. I tried stuff like

if ctx.channel.name_startswith(\'word\')

or

相关标签:
回答
  • 消灭零回复
提交回复
热议问题