mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-13 02:43:46 +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) {
|
function makeTempChannel(message) {
|
||||||
const channelName = getChannelName(message.author.username);
|
const channelName = getChannelName(playerQueue[0].username);
|
||||||
let createdChannelId = '';
|
let createdChannelId = '';
|
||||||
let everyoneRole = message.guild.roles.cache.find(r => r.name === '@everyone');
|
let everyoneRole = message.guild.roles.cache.find(r => r.name === '@everyone');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user