mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-09-28 22:06:00 -04:00
I seem to be more productive recently
This commit is contained in:
parent
35576298e8
commit
8544676e74
@ -4,7 +4,9 @@
|
|||||||
<w>botmeister</w>
|
<w>botmeister</w>
|
||||||
<w>creamsicle</w>
|
<w>creamsicle</w>
|
||||||
<w>defcon</w>
|
<w>defcon</w>
|
||||||
|
<w>haha</w>
|
||||||
<w>osselbot</w>
|
<w>osselbot</w>
|
||||||
|
<w>quoteable</w>
|
||||||
<w>quoteadd</w>
|
<w>quoteadd</w>
|
||||||
<w>quotesend</w>
|
<w>quotesend</w>
|
||||||
<w>simp</w>
|
<w>simp</w>
|
||||||
|
3
.idea/scopes/Osselbot.xml
Normal file
3
.idea/scopes/Osselbot.xml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<component name="DependencyValidationManager">
|
||||||
|
<scope name="Osselbot" pattern="(file[Osselbot]:*||file[Osselbot]:*/)&&!file[Osselbot]:.vscode//*&&!file[Osselbot]:.idea//*&&!file[Osselbot]:.github//*&&!file:quotes.json" />
|
||||||
|
</component>
|
@ -1,3 +1,3 @@
|
|||||||
# Osselbot
|
# 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)
|
![Node.js CI](https://github.com/Technicolor-creamsicle/Osselbot/workflows/Node.js%20CI/badge.svg)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"token" : "Njc4MDkzNjY4NzcwNTEyOTE3.Xr7SNw.XS_D_dEJ7hX6N5Rmnfr_OQpfznU",
|
"token" : "Njc4MDkzNjY4NzcwNTEyOTE3.Xr7SNw.XS_D_dEJ7hX6N5Rmnfr_OQpfznU",
|
||||||
"prefix" : "?"
|
"prefix" : "?",
|
||||||
|
"abuse" : [""]
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
//TODO Write tests
|
//TODO Write tests
|
||||||
//TODO Make an automation system for deployment
|
|
||||||
//TODO Test all commands
|
//TODO Test all commands
|
||||||
|
|
||||||
//Those are so I remember stuff
|
//Those are so I remember stuff
|
||||||
@ -49,7 +48,7 @@ client.on("message", async message => {
|
|||||||
//Message processing
|
//Message processing
|
||||||
|
|
||||||
// noinspection SpellCheckingInspection
|
// 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();
|
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...`)
|
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 (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 message.channel.send("I guess it's my fault will fix.");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user