mirror of https://github.com/GooseMod/GooseMod
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
686 B
21 lines
686 B
export default () => {
|
|
const mods = {
|
|
powercord: 'powercord',
|
|
vizality: 'vizality',
|
|
ED: 'enhanceddiscord',
|
|
BdApi: 'betterdiscord'
|
|
};
|
|
|
|
return `Discord:
|
|
Client: ${window.DiscordNative ? 'desktop' : 'web'}
|
|
User Agent: ${navigator.userAgent}
|
|
Release Channel: ${GLOBAL_ENV.RELEASE_CHANNEL}
|
|
Other Mods: ${Object.keys(mods).filter((x) => Object.keys(window).includes(x)).map((x) => mods[x]).join(', ')}
|
|
|
|
GooseMod:
|
|
GM Version: ${goosemod.versioning.version} (${goosemod.versioning.hash})
|
|
GM Branch: ${goosemod.versioning.branch}
|
|
GM Extension Version: ${window.gmExtension}
|
|
GM Storage Impl: ${goosemod.storage.type}
|
|
Modules: ${Object.keys(goosemod.modules).join(', ')}`;
|
|
}; |