From 6e0b58c1a356d59d4b164fc52db92f5e821f045b Mon Sep 17 00:00:00 2001 From: Muhammad Salman <73386616+muhdsalm@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:30:05 +0500 Subject: [PATCH 1/2] Make raboneko say the 'I'd like to interject' copypasta whenever everyone says linux but not GNU/Linux --- src/modules/funAI.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/funAI.ts b/src/modules/funAI.ts index 6463706..231c9cf 100644 --- a/src/modules/funAI.ts +++ b/src/modules/funAI.ts @@ -16,4 +16,7 @@ client.on(Events.MessageCreate, async (message) => { if (containsWord(message, 'good\\s+bot')) { await message.reply("thank nyu~") } + if (containsWord(message, 'linux') && !containsWord(message, 'gnu/linux') && !containsWord(message, 'gnu+linux')) { + await message.reply("I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.\n\nMany computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.\n\nThere really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux." + } }); From 3568b5b3c07d24737476af3784e51e27910a017f Mon Sep 17 00:00:00 2001 From: Muhammad Salman <73386616+muhdsalm@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:33:16 +0500 Subject: [PATCH 2/2] Brackets again --- src/modules/funAI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/funAI.ts b/src/modules/funAI.ts index 231c9cf..28f3109 100644 --- a/src/modules/funAI.ts +++ b/src/modules/funAI.ts @@ -17,6 +17,6 @@ client.on(Events.MessageCreate, async (message) => { await message.reply("thank nyu~") } if (containsWord(message, 'linux') && !containsWord(message, 'gnu/linux') && !containsWord(message, 'gnu+linux')) { - await message.reply("I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.\n\nMany computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.\n\nThere really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux." + await message.reply("I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.\n\nMany computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.\n\nThere really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux."); } });