test
This commit is contained in:
parent
6ea37b8082
commit
0e6d074c11
12
app.js
12
app.js
@ -82,18 +82,6 @@ async function joinGuild(guildTopic) {
|
||||
}
|
||||
}
|
||||
|
||||
async function processGuild(guildData) {
|
||||
const parsedData = JSON.parse(guildData);
|
||||
config.guilds[parsedData.guildTopic] = {
|
||||
alias: parsedData.guildAlias,
|
||||
rooms: parsedData.rooms,
|
||||
owner: parsedData.owner
|
||||
};
|
||||
writeConfigToFile("./config.json");
|
||||
renderGuildList();
|
||||
await joinGuild(parsedData.guildTopic);
|
||||
}
|
||||
|
||||
async function joinRoom(guildTopic, roomTopic, alias) {
|
||||
const topicBuffer = b4a.from(roomTopic, 'hex');
|
||||
addRoomToList(guildTopic, roomTopic, alias);
|
||||
|
Loading…
Reference in New Issue
Block a user