I seem to be more productive recently

This commit is contained in:
Alex 2020-07-12 13:42:01 -05:00
parent 35576298e8
commit 8544676e74
5 changed files with 10 additions and 5 deletions

View File

@ -4,7 +4,9 @@
<w>botmeister</w>
<w>creamsicle</w>
<w>defcon</w>
<w>haha</w>
<w>osselbot</w>
<w>quoteable</w>
<w>quoteadd</w>
<w>quotesend</w>
<w>simp</w>

View File

@ -0,0 +1,3 @@
<component name="DependencyValidationManager">
<scope name="Osselbot" pattern="(file[Osselbot]:*||file[Osselbot]:*/)&amp;&amp;!file[Osselbot]:.vscode//*&amp;&amp;!file[Osselbot]:.idea//*&amp;&amp;!file[Osselbot]:.github//*&amp;&amp;!file:quotes.json" />
</component>

View File

@ -1,3 +1,3 @@
# Osselbot
A bot that is kinda stupid but it works surprisingly well
A bot that is kinda stupid, but it works surprisingly well
![Node.js CI](https://github.com/Technicolor-creamsicle/Osselbot/workflows/Node.js%20CI/badge.svg)

View File

@ -1,4 +1,5 @@
{
"token" : "Njc4MDkzNjY4NzcwNTEyOTE3.Xr7SNw.XS_D_dEJ7hX6N5Rmnfr_OQpfznU",
"prefix" : "?"
"prefix" : "?",
"abuse" : [""]
}

View File

@ -1,6 +1,5 @@
#!/usr/bin/env node
//TODO Write tests
//TODO Make an automation system for deployment
//TODO Test all commands
//Those are so I remember stuff
@ -49,7 +48,7 @@ client.on("message", async message => {
//Message processing
// noinspection SpellCheckingInspection
if (message.content.toLowerCase().includes('nigg', 'negro', 'niglet', 'fag', 'f4g', 'n1gg', 'gg3r')) {
if (message.content.toLowerCase().includes('nigg'||'negro'||'niglet'||'fag'||'f4g'||'n1gg'||'gg3r')) {
await message.delete();
return message.reply(`Listen here cum-sock we dont appreciate that here ${message.member}. If you gonna be like that you may just well end up in the JAR and we all know how that ends...`)
}
@ -125,7 +124,7 @@ client.on("message", async message => {
}
if (command === "fix") {
if (message.member.roles.cache.some(r => ["Botmeister"].includes(r.name))) {
if (message.member.roles.cache.some(r => ["Ally of the Order"].includes(r.name))) {
return message.channel.send("I guess it's my fault will fix.");
}
return;