Fix web page exploding for unlinked guilds
Now it should at least show something, though features like invite won't work correctly. More work needed.
This commit is contained in:
@@ -29,10 +29,12 @@ const sync = new HeatSync({watchFS: false})
|
||||
|
||||
const discord = {
|
||||
guilds: new Map([
|
||||
[data.guild.general.id, data.guild.general]
|
||||
[data.guild.general.id, data.guild.general],
|
||||
[data.guild.fna.id, data.guild.fna],
|
||||
]),
|
||||
guildChannelMap: new Map([
|
||||
[data.guild.general.id, [data.channel.general.id]],
|
||||
[data.guild.fna.id, []],
|
||||
]),
|
||||
application: {
|
||||
id: "684280192553844747"
|
||||
|
Reference in New Issue
Block a user