Sub Title for a new channel
So, basicly, when you make a discord bot, and you need to get a channel by name, the channel actually needs the same name as the bot requires. Like in the code it says
find(x=>x.name === 'news');
as example. Now this channel on the server should be exactly the same name as that one. Why not make a second option in creating a channel, where you can set the Display name of a channel, and a sub title. Whereas the subtitle references to the x.name and the 'normal' title references the one thats being showed in the categories.
7
U moet u aanmelden om een opmerking te plaatsen.
Opmerkingen
0 opmerkingen