mirror of
https://github.com/citra-emu/discord-bot.git
synced 2024-12-23 00:55:27 +00:00
Updated response files to be inside source control.
This commit is contained in:
parent
421b150fe2
commit
e6fa7317d6
|
@ -32,12 +32,12 @@ function readBans() {
|
|||
|
||||
function readCustomResponses() {
|
||||
// Load the responses file into the responses variable.
|
||||
var readFilePath = '/data/responses.json';
|
||||
var readFilePath = `./responses/${process.env.TENANT}.json`;
|
||||
fs.readFile(readFilePath, 'utf8', function (err, data) {
|
||||
if (err) { throw err; }
|
||||
if (data) {
|
||||
state.responses = JSON.parse(data);
|
||||
logger.debug('Loaded responses file from external source.');
|
||||
logger.debug(`Loaded responses file for ${process.env.TENANT} from external source.`);
|
||||
} else {
|
||||
logger.warn(`${readFilePath} appears to be an empty file.`);
|
||||
}
|
||||
|
|
24
src/responses/citra.json
Normal file
24
src/responses/citra.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"pmReply": "Please refer to our **Frequently Asked Questions**. <https://citra-emu.org/wiki/faq/>",
|
||||
"quotes": {
|
||||
"faq": { "reply": "Please refer to our **Frequently Asked Questions**. <https://citra-emu.org/wiki/faq/>" },
|
||||
"cpu": { "reply": "Citra requires powerful single-core performance. Refer to your CPU in this graph. Your experience with Citra won't be enjoyable in most games if it's below 1,800. <https://www.cpubenchmark.net/singleThread.html>" },
|
||||
"requirements": { "reply": "Please refer to our **Frequently Asked Questions**. The only requirements for Citra are a GPU that supports at least OpenGL 3.3 and a 64-bit OS, but you definitely want a processor with the highest possible performance per core. <https://citra-emu.org/wiki/faq/>"},
|
||||
"roms": { "reply": "Please read our __community rules__. Warez/downloading games talk is strictly prohibited. To prevent legal issues, you are not allowed to post links or refer to any kind of ROM, NAND, ISO, game, or other copyrighted material that has been illegally obtained or shared. <https://citra-emu.org/rules/>"},
|
||||
"dump-game": { "reply": "Please refer to our __game dumping guides__. <https://citra-emu.org/wiki/dumping-game-cartridges/> *or* <https://citra-emu.org/wiki/dumping-installed-titles/>"},
|
||||
"dump-system": { "reply": "Please refer to our __system dumping guide__. <https://citra-emu.org/wiki/dumping-system-archives-and-the-shared-fonts-from-a-3ds-console/>"},
|
||||
"pokemon": { "reply": "Click here to view our game compatibility list: <https://citra-emu.org/game/>"},
|
||||
"alpha": { "reply": "*Citra* is currently in very early stages of development. Games usually run less than full-speed even on the best computers. Expect bugs and glitches to appear in most games. Many features found in more mature emulators are still in the works. For any major updates, please visit <https://citra-emu.org/>"},
|
||||
"updates": { "reply": "You can check our latest updates on *Github*. <https://github.com/citra-emu/citra/pulse>"},
|
||||
"download": { "reply": "Please only download from the official *Citra* website, as downloading from other sources is not supported here. <https://citra-emu.org/download/>"},
|
||||
"legal": { "reply": "*Citra* is legal, we don't support illegal activities. Dumping your purchased games and system files from your 3DS is legal. Downloading them is not."},
|
||||
"building": { "reply": "Please refer to our building guides.\nWindows: <https://citra-emu.org/wiki/building-for-windows> \nmacOS: <https://citra-emu.org/wiki/building-for-macos> \nLinux: <https://citra-emu.org/wiki/building-for-linux>"},
|
||||
"controller": { "reply": "This forum topic tells you how to __configure your gamepad / controller__: <https://community.citra-emu.org/t/temporary-controller-configurations-for-citra/1061>"},
|
||||
"issues": { "reply": "This forum topic lists __known issues in games and their workarounds__: <https://community.citra-emu.org/t/known-problems-typical-issues-and-their-workarounds/1317> \nPlease read it carefully. It includes help with most games"},
|
||||
"forum": { "reply": "This question might be more suitable for the *Citra* forum. <https://community.citra-emu.org/>"},
|
||||
"game": { "reply": "Click here to view our game compatibility list: <https://citra-emu.org/game/>"},
|
||||
"log": { "reply": "This forum topic tells you how to __get the log file__: <https://community.citra-emu.org/t/how-to-upload-the-log-file/296>"},
|
||||
"canary": { "reply": "The nightly build of Citra contains already reviewed and tested features. If you require support with the installation or use of Citra, or you want to report bugs you should use this version.\nThe Canary build of Citra is the same as our nightly builds, with additional features that are still waiting on review before making it into the official Citra builds. We will not provide support for issues found only in this version. If you believe you’ve found a bug, please retest on our nightly builds. Both versions are still in development, so expect crashes and bugs."}
|
||||
}
|
||||
}
|
||||
|
20
src/responses/yuzu.json
Normal file
20
src/responses/yuzu.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"pmReply": "Please refer to our **Frequently Asked Questions**. <https://yuzu-emu.org/wiki/faq/>",
|
||||
"quotes": {
|
||||
"faq": { "reply": "Please refer to our **Frequently Asked Questions**. <https://yuzu-emu.org/wiki/faq/>" },
|
||||
"unusedcpu": { "reply": "Yuzu requires powerful single-core performance. Refer to your CPU in this graph. Your experience with Yuzu won't be enjoyable in most games if it's below 2,300. <https://www.cpubenchmark.net/singleThread.html>" },
|
||||
"requirements": { "reply": "Please refer to our **Frequently Asked Questions**. The only requirements for Yuzu are a GPU that supports at least OpenGL 3.3 and a 64-bit OS. The OpenGL version is subject to change. <https://yuzu-emu.org/wiki/faq/>"},
|
||||
"roms": { "reply": "Please read our __community rules__. Warez/downloading games talk is strictly prohibited. To prevent legal issues, you are not allowed to post links or refer to any kind of ROM, NAND, ISO, game, or other copyrighted material that has been illegally obtained or shared. <https://yuzu-emu.org/rules/>"},
|
||||
"unuseddump-game": { "reply": "Please refer to our __game dumping guides__. <https://yuzu-emu.org/wiki/dumping-game-cartridges/> *or* <https://yuzu-emu.org/wiki/dumping-installed-titles/>"},
|
||||
"unuseddump-system": { "reply": "Please refer to our __system dumping guide__. <https://yuzu-emu.org/wiki/dumping-system-archives-and-the-shared-fonts-from-a-Switch-console/>"},
|
||||
"earlyalpha": { "reply": "*Yuzu* is currently in very early development. The emulator can only run select homebrew applications at this time. For any major updates, please visit <https://yuzu-emu.org/> or the #announcements channel."},
|
||||
"updates": { "reply": "You can check our latest updates on *Github*. <https://github.com/yuzu-emu/yuzu/pulse>"},
|
||||
"download": { "reply": "Please only download from the official *Yuzu* website, as downloading from other sources is not supported here. <https://yuzu-emu.org/downloads/>"},
|
||||
"legal": { "reply": "*Yuzu* is legal, we don't support illegal activities. Dumping your purchased games and system files from your Switch is legal. Downloading them is not."},
|
||||
"building": { "reply": "Please refer to our building guides.\nWindows: <https://yuzu-emu.org/wiki/building-for-windows> \nmacOS: <https://yuzu-emu.org/wiki/building-for-macos> \nLinux: <https://yuzu-emu.org/wiki/building-for-linux>"},
|
||||
"unusedforum": { "reply": "This question might be more suitable for the *Citra* forum. <https://community.citra-emu.org/>"},
|
||||
"contributing": { "reply": "Contributing to the project is the best way to help the project move forward. If you are a developer, please refer to: \nSwitch reference guides: <https://github.com/yuzu-emu/yuzu/wiki/Switch-Hardware-and-Software> \nSwitch homebrew applications for testing: <https://github.com/yuzu-emu/yuzu/wiki/Switch-Homebrew> \nWiki, dedicated to Switch research: <http://switchbrew.org> \nYuzu contributing tips: <https://github.com/yuzu-emu/yuzu/blob/master/CONTRIBUTING.md>"},
|
||||
"canary": { "reply": "The nightly build of Yuzu contains already reviewed and tested features. If you require support with the installation or use of Yuzu, or you want to report bugs you should use this version.\nThe Canary build of Yuzu is the same as our nightly builds, with additional features that are still waiting on review before making it into the official Yuzu builds. We will not provide support for issues found only in this version. If you believe you<6F>ve found a bug, please retest on our nightly builds. Both versions are still in development, so expect crashes and bugs."}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue