mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-12 18:33:45 +00:00
fix(*): Fix wrong captain name in text channel
This commit is contained in:
@@ -123,7 +123,7 @@ function getChannelName(username) {
|
||||
}
|
||||
|
||||
function makeTempChannel(message) {
|
||||
const channelName = getChannelName(message.author.username);
|
||||
const channelName = getChannelName(playerQueue[0].username);
|
||||
let createdChannelId = '';
|
||||
let everyoneRole = message.guild.roles.cache.find(r => r.name === '@everyone');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user