generated from Baipyrus/DiscordJS-Template
remove debug log
This commit is contained in:
parent
dc166dd286
commit
552b0b9c3d
@ -81,18 +81,6 @@ export async function execute(oldState, newState) {
|
|||||||
if (!newState.channel)
|
if (!newState.channel)
|
||||||
return await leftVoiceChat(oldState);
|
return await leftVoiceChat(oldState);
|
||||||
|
|
||||||
console.log(
|
|
||||||
Array.from(
|
|
||||||
newState
|
|
||||||
.channel
|
|
||||||
.permissionOverwrites
|
|
||||||
.cache
|
|
||||||
.values()
|
|
||||||
).forEach(overwrite =>
|
|
||||||
console.log(overwrite.allow.toArray())
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
// Find channel by id, return if not registered for customs
|
// Find channel by id, return if not registered for customs
|
||||||
const createCh = await VoiceChannel.findOne({
|
const createCh = await VoiceChannel.findOne({
|
||||||
where: {
|
where: {
|
||||||
|
Loading…
Reference in New Issue
Block a user