forked from cadence/out-of-your-element
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:
parent
20b575c5f7
commit
0fe02dce22
4 changed files with 90 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue