From 27d58610631061d277506092fbf2468674393fe2 Mon Sep 17 00:00:00 2001 From: Alee Date: Fri, 30 Mar 2018 16:41:15 -0400 Subject: 2.6 Beta + added slots (got permission from justin) --- commands/changelog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/changelog.js') diff --git a/commands/changelog.js b/commands/changelog.js index a5a4c90..da91619 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -25,8 +25,8 @@ module.exports.run = async (client, message) => { const Discord = require('discord.js'); const embed = new Discord.RichEmbed() - .setAuthor('AleeBot ' + '2.5.0 ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') - .setDescription('What\'s new in AleeBot 2.5?') + .setAuthor('AleeBot ' + '2.6.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') + .setDescription('What\'s new in AleeBot 2.6?') .addField('[>] Buy Command!','Now you could buy things with AleeBot!') .addField('[>] Leave Command!','The owner of this bot can only use this command.') .addField('[>] Info Command!','For now this command only shows the hostname of the os.') -- cgit v1.2.3 From 49e946b143249d627e9f7e4b12e01d5f2c721201 Mon Sep 17 00:00:00 2001 From: Alee Date: Fri, 30 Mar 2018 17:35:24 -0400 Subject: Changes in changelog --- commands/changelog.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'commands/changelog.js') diff --git a/commands/changelog.js b/commands/changelog.js index da91619..1f8fe6a 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -27,9 +27,7 @@ module.exports.run = async (client, message) => { const embed = new Discord.RichEmbed() .setAuthor('AleeBot ' + '2.6.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') .setDescription('What\'s new in AleeBot 2.6?') - .addField('[>] Buy Command!','Now you could buy things with AleeBot!') - .addField('[>] Leave Command!','The owner of this bot can only use this command.') - .addField('[>] Info Command!','For now this command only shows the hostname of the os.') + .addField('[>] G A M E S!', 'Yes! You\'ve been waiting for a long time you can now get money from games!') .setColor('#1fd619'); message.channel.send({embed}); -- cgit v1.2.3 From f7c1a068fe13fec7e3fc64527744110b1e8364e3 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 31 Mar 2018 13:29:42 -0400 Subject: Changed the license from MIT to GPL --- commands/ask.js | 35 +++++++++++++++-------------------- commands/avatarurl.js | 35 +++++++++++++++-------------------- commands/ban.js | 35 +++++++++++++++-------------------- commands/buy.js | 35 +++++++++++++++-------------------- commands/changelog.js | 35 +++++++++++++++-------------------- commands/eval.js | 35 +++++++++++++++-------------------- commands/git.js | 35 +++++++++++++++-------------------- commands/help.js | 35 +++++++++++++++-------------------- commands/info.js | 35 +++++++++++++++-------------------- commands/invitebot.js | 35 +++++++++++++++-------------------- commands/jail.js | 35 +++++++++++++++-------------------- commands/kick.js | 35 +++++++++++++++-------------------- commands/leave.js | 35 +++++++++++++++-------------------- commands/money.js | 35 +++++++++++++++-------------------- commands/ping.js | 35 +++++++++++++++-------------------- commands/poweroff.js | 35 +++++++++++++++-------------------- commands/purge.js | 35 +++++++++++++++-------------------- commands/rps.js | 35 +++++++++++++++-------------------- commands/say.js | 35 +++++++++++++++-------------------- commands/setmoney.js | 35 +++++++++++++++-------------------- commands/slots.js | 6 +++--- commands/suggest.js | 35 +++++++++++++++-------------------- commands/uptime.js | 35 +++++++++++++++-------------------- 23 files changed, 333 insertions(+), 443 deletions(-) (limited to 'commands/changelog.js') diff --git a/commands/ask.js b/commands/ask.js index ed8fefc..d589e9c 100644 --- a/commands/ask.js +++ b/commands/ask.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Ask / 8ball: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Ask: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { let abaskanswer = [ "Yes.", diff --git a/commands/avatarurl.js b/commands/avatarurl.js index ae3241a..e8fb7a6 100644 --- a/commands/avatarurl.js +++ b/commands/avatarurl.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * AvatarURL: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * AvatarURL: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { message.reply(message.author.avatarURL); }; diff --git a/commands/ban.js b/commands/ban.js index 2c00a38..5bd94aa 100644 --- a/commands/ban.js +++ b/commands/ban.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Ban: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Ban: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { const mreason = args.join(" ").slice(22); if (!message.member.permissions.has('BAN_MEMBERS')) return message.reply("It looks like that you don't have the permissions to ban people.") diff --git a/commands/buy.js b/commands/buy.js index f01a994..ad5fe3b 100644 --- a/commands/buy.js +++ b/commands/buy.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Buy: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Buy: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { const economy = require('discord-eco') const Discord = require('discord.js'); diff --git a/commands/changelog.js b/commands/changelog.js index 1f8fe6a..e501d80 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Ban: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Changelog: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { const Discord = require('discord.js'); const embed = new Discord.RichEmbed() diff --git a/commands/eval.js b/commands/eval.js index 095251e..0e3541c 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Eval: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Eval: Command for AleeBot + * Copyright (C) 2018 AleeCorp & jtsshieh + PokeWorld * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); const { RichEmbed } = require('discord.js'); diff --git a/commands/git.js b/commands/git.js index 17dc087..4ff9c24 100644 --- a/commands/git.js +++ b/commands/git.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Git: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Git: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { message.author.send('I can see you want to contribute to this project.\nHere\'s the link: https://github.com/AleeCorp/AleeBot'); }; diff --git a/commands/help.js b/commands/help.js index a38181d..83ee773 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Help: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Help: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ const Discord = require('discord.js'); module.exports.run = async (client, message) => { const categories = []; diff --git a/commands/info.js b/commands/info.js index f5afd8c..bd4b3d4 100644 --- a/commands/info.js +++ b/commands/info.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Info: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Info: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { const Discord = require('discord.js'); const os = require('os'); diff --git a/commands/invitebot.js b/commands/invitebot.js index 2927e17..ff354e2 100644 --- a/commands/invitebot.js +++ b/commands/invitebot.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * InviteBot: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * InviteBot: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { message.reply("Continue in DMs.") message.author.send('Want AleeBot in your server? Here\'s the link: https://discordapp.com/oauth2/authorize?client_id=282547024547545109&permissions=68185158&scope=bot'); diff --git a/commands/jail.js b/commands/jail.js index 6972b04..3b09697 100644 --- a/commands/jail.js +++ b/commands/jail.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Jail: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Jail: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { if (message.guild.id != '243022206437687296') return message.reply ('This is a ACN exclusive command.'); diff --git a/commands/kick.js b/commands/kick.js index 28148e3..6db1ae4 100644 --- a/commands/kick.js +++ b/commands/kick.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Kick: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Kick: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { const mreason = args.join(" ").slice(22); if (!message.member.permissions.has('KICK_MEMBERS')) return message.reply("It looks like that you don't have the permissions to ban people."); diff --git a/commands/leave.js b/commands/leave.js index cf8db2f..3abb8e3 100644 --- a/commands/leave.js +++ b/commands/leave.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Leave: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Leave: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); message.channel.send('Alright, I\'m leaving the server now. Bye everyone!') diff --git a/commands/money.js b/commands/money.js index a505446..f9963b2 100644 --- a/commands/money.js +++ b/commands/money.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Money: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Money: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { const { RichEmbed } = require('discord.js'); const economy = require('discord-eco') diff --git a/commands/ping.js b/commands/ping.js index cd8d167..47c82e1 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Ping: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Ping: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { message.reply('**PONG!** :ping_pong: ' + Math.round(client.ping) + ' ms'); }; diff --git a/commands/poweroff.js b/commands/poweroff.js index 61626a4..ed85202 100644 --- a/commands/poweroff.js +++ b/commands/poweroff.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Poweroff: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Poweroff: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); await message.reply(':warning: AleeBot will now exit!'); diff --git a/commands/purge.js b/commands/purge.js index 859c4f3..b3bf129 100644 --- a/commands/purge.js +++ b/commands/purge.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Purge: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Purge: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { if (!message.member.permissions.has('MANAGE_MESSAGES')) return message.reply("It looks like that you don't have the permissions to delete messages.") if (isNaN(args[0])) return message.reply("Please put the valid number of messages to purge."); diff --git a/commands/rps.js b/commands/rps.js index 646acdd..ed0c464 100644 --- a/commands/rps.js +++ b/commands/rps.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * RockPaperScissors: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * RockPaperScissors: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { const economy = require('discord-eco') economy.fetchBalance(message.author.id + message.guild.id).then((i) => { diff --git a/commands/say.js b/commands/say.js index 2208bb4..425971a 100644 --- a/commands/say.js +++ b/commands/say.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Say: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Say: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.'); let absay = args.join(" "); diff --git a/commands/setmoney.js b/commands/setmoney.js index 00060d1..fe74e50 100644 --- a/commands/setmoney.js +++ b/commands/setmoney.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * SetMoney: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * SetMoney: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { const { RichEmbed } = require('discord.js'); const economy = require('discord-eco') diff --git a/commands/slots.js b/commands/slots.js index e618145..9072c84 100644 --- a/commands/slots.js +++ b/commands/slots.js @@ -1,5 +1,5 @@ -/** ************************************** - * +/**************************************** + * * Slots: Command for AleeBot * Copyright (C) 2018 AleeCorp & jtsshieh + PokeWorld * @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * + * * *************************************/ module.exports.run = async (client, message) => { diff --git a/commands/suggest.js b/commands/suggest.js index fd71b7b..380647e 100644 --- a/commands/suggest.js +++ b/commands/suggest.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Suggest: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Suggest: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message, args) => { if (message.guild.id != '243022206437687296') return message.reply ('This is a ACN exclusive command.'); const { RichEmbed } = require('discord.js'); diff --git a/commands/uptime.js b/commands/uptime.js index 4f799b4..3c0e7b4 100644 --- a/commands/uptime.js +++ b/commands/uptime.js @@ -1,27 +1,22 @@ -/******************************** +/**************************************** * - * Uptime: Command for AleeBot - * - * Copyright (c) 2018 AleeCorp + * Purge: Command for AleeBot + * Copyright (C) 2018 AleeCorp * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - ********************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ module.exports.run = async (client, message) => { let uptime = parseInt(client.uptime); -- cgit v1.2.3 From 902337c6e41250509cb91502e7bf007e4aec1c2f Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 31 Mar 2018 21:55:47 -0400 Subject: Ported AstralQuote to AleeBot but no quoteoftheday :( --- bot_discord.js | 55 ---------- commands/changelog.js | 1 + commands/quote.js | 65 ++++++++++++ quotes.json | 278 -------------------------------------------------- storage/quotes.json | 278 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 344 insertions(+), 333 deletions(-) create mode 100644 commands/quote.js delete mode 100644 quotes.json create mode 100644 storage/quotes.json (limited to 'commands/changelog.js') diff --git a/bot_discord.js b/bot_discord.js index ed31e9a..0eca625 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -117,61 +117,6 @@ client.on('message', (msg) => { console.error(e); } } - -let QuoteOfTheDay; -let QuoteOfTheDayExpiry = 0; -let QuoteOfTheDayStartTime; - - function GetQuoteOfTheDay(quoteNum = -1) { - const now = new Date(); - - if (QuoteOfTheDayExpiry < now.getTime()) { - log('[!] Getting new quote of the day...'); - log('[!] This quote expires in 1 day.'); - - QuoteOfTheDayStartTime = now; - QuoteOfTheDayExpiry = now.getTime(); - QuoteOfTheDayExpiry += 86400000; - - QuoteOfTheDay = new Discord.RichEmbed(); - - let quo = require('./quotes.json').quotes - - if (quoteNum == -1) { - quoteNum = Math.floor(Math.random() * 1000) % quo.length; - quo=quo[quoteNum]; - } - - const author = quo.author; - const authorImage = quo.authorImage; - const quote = quo.quote; - const year = quo.year; - const url = quo.url; - - QuoteOfTheDay.setAuthor(author, authorImage); - QuoteOfTheDay.setColor('#939d45'); - QuoteOfTheDay.setDescription(quote); - QuoteOfTheDay.setFooter('- ' + year); - QuoteOfTheDay.setURL(url); - } else { - log('[!] No need for new quote of the day'); - } - - - return QuoteOfTheDay; - } - - if (message.content === 'ab:qotd') { - const quoteofday = GetQuoteOfTheDay(); - message.channel.send('Here\'s the quote of the day (as of ' + QuoteOfTheDayStartTime.toUTCString() + ')'); - message.channel.sendEmbed(quoteofday); - } else if (command === 'ab:forcequote') { - message.delete(); - QuoteOfTheDayExpiry = 0; - const quoteofday = GetQuoteOfTheDay(); - message.channel.send('New quote of the day!'); - message.channel.sendEmbed(quoteofday); - } }); process.on('unhandledRejection', function(err, p) { diff --git a/commands/changelog.js b/commands/changelog.js index e501d80..0e67202 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -23,6 +23,7 @@ module.exports.run = async (client, message) => { .setAuthor('AleeBot ' + '2.6.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') .setDescription('What\'s new in AleeBot 2.6?') .addField('[>] G A M E S!', 'Yes! You\'ve been waiting for a long time you can now get money from games!') + .addField('[>] Quotes!', 'So you might be confused why quote? Well... we merged with another project which is called AstralQuote.') .setColor('#1fd619'); message.channel.send({embed}); diff --git a/commands/quote.js b/commands/quote.js new file mode 100644 index 0000000..6ad87d0 --- /dev/null +++ b/commands/quote.js @@ -0,0 +1,65 @@ +/**************************************** + * + * Quote: Command for AleeBot + * Copyright (C) 2018 AleeCorp + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * *************************************/ +module.exports.run = async (client, message) => { +const Discord = require('discord.js'); + +let NewQuote; + + function GetNewQuote(quoteNum = -1) { + NewQuote = new Discord.RichEmbed(); + + let quo = require('../storage/quotes.json').quotes + + if (quoteNum == -1) { + quoteNum = Math.floor(Math.random() * 1000) % quo.length; + quo=quo[quoteNum]; + } + + const author = quo.author; + const authorImage = quo.authorImage; + const quote = quo.quote; + const year = quo.year; + const url = quo.url; + + NewQuote.setAuthor(author, authorImage); + NewQuote.setColor('#939d45'); + NewQuote.setDescription(quote); + NewQuote.setFooter('- ' + year); + NewQuote.setURL(url); + + return NewQuote; + } + + const newquote = GetNewQuote(); + message.reply('Alright, here\'s your quote.') + message.channel.send(newquote); +}; + +exports.conf = { + aliases: [], + guildOnly: false, + }; + exports.help = { + name: 'quote', + description: 'Tells you quotes', + usage: 'quote', + category: '- General Commands', + }; + \ No newline at end of file diff --git a/quotes.json b/quotes.json deleted file mode 100644 index 856d3cf..0000000 --- a/quotes.json +++ /dev/null @@ -1,278 +0,0 @@ -{ - "quotes" :[ - { - "author": "Victor Tran", - "authorImage": "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote": "A letter says a whole video!", - "year": "2017", - "url": "https://cdn.discordapp.com/attachments/278874966542385152/280566273992032258/Screenshot_20170213-160944.png" - }, - { - "author" : "Prince Hamlet: William Shakespeare", - "authorImage" : "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Shakespeare.jpg/468px-Shakespeare.jpg", - "quote" : "To be, or not to be, that is the question", - "year" : "circa. 1600", - "url" : "https://en.wikipedia.org/wiki/To_be,_or_not_to_be" - }, - { - "author" : "Diana Adams / Mitsubishi Mirage", - "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "Dialing 000...\nNOOO!!!", - "year" : "2017", - "url" : "https://youtu.be/jDy57c7Y-4A?t:11m52s" - }, - { - "author" : "Diana Adams / Mitsubishi Mirage", - "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "You'd have a crash by now!\nPardon?", - "year" : "2017", - "url" : "https://youtu.be/jDy57c7Y-4A?t:15m5s" - }, - { - "author" : "Ivoponop Pena", - "authorImage" : "https://yt3.ggpht.com/-hZJxXIFsfB8/AAAAAAAAAAI/AAAAAAAAAAA/c_mjVjQWvTw/s48-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "i buy tablets for the bubble plastic", - "year" : "2016", - "url" : "https://www.youtube.com/watch?v:AqFDn0TxwH4" - }, - { - "author" : "The Mill on the Floss: George Eliot", - "authorImage" : "https://upload.wikimedia.org/wikipedia/commons/8/81/George_Eliot_at_30_by_François_D%27Albert_Durade.jpg", - "quote" : "Don't judge a book by its cover", - "year" : "1860", - "url" : "https://en.wikipedia.org/wiki/Don't_judge_a_book_by_its_cover" - }, - { - "author" : "tostoday", - "authorImage" : "https://yt3.ggpht.com/-gNRclMiHzN4/AAAAAAAAAAI/AAAAAAAAAAA/BNEDEUakd4A/s48-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "I don't know why but Visopsys sounds like a medical condition", - "year" : "circa. 2015", - "url" : "https://www.youtube.com/watch?v:5T-vEZeY2v0" - }, - { - "author" : "Diana Adams", - "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "4 × 1 000 000!? 4 000 000! It's not that hard...", - "year" : "2014", - "url" : "https://youtu.be/5T-vEZeY2v0?t:9m28s" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "Yes! I'm not *just* a blue happy face!", - "year" : "2016", - "url" : "https://youtu.be/2E21oad5pWQ" - }, - { - "author" : "ItsDeckyah", - "authorImage" : "https://yt3.ggpht.com/-t70ZI-25A1k/AAAAAAAAAAI/AAAAAAAAAAA/uGrVakleFIM/s48-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "Always remember, don't let those who are bullying you ruin your life, they are out to do just that. And that's probably all they'll do their whole lives", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Mighty_Eagle073", - "authorImage" : "https://yt3.ggpht.com/-Q5IvX3eEGl8/AAAAAAAAAAI/AAAAAAAAAAA/LspLd8v-PR8/s100-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "Spamming : Damning", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Nibble", - "authorImage" : "https://yt3.ggpht.com/-SUPNlJ8a7qA/AAAAAAAAAAI/AAAAAAAAAAA/R_I4z7057_w/s100-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "AUTO CORRECF!!!", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "@Derpy ♀ For your own fucking good, learn what political correctness is.", - "year" : "2017", - "url" : "https://cdn.discordapp.com/attachments/371830028381454337/372263065472729088/2017-10-24_01.58.19.png" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "But couldn't you at least put the mounted disks on the dick or on Dinder?\nDOCK", - "year" : "2017", - "url" : "https://www.example.com" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "Just happened one gay?\nDAY\nOH BOY\nI BLAME SWIPE TYPING", - "year" : "2017", - "url" : "https://www.example.com" - }, - { - "author" : "Alee", - "authorImage" : "https://cdn.discordapp.com/avatars/242775871059001344/b8a995d836bbb8529ae35dc12c2289de.png?size:2048", - "quote" : "IS THERE A GOOOOOGALIE HERE!!!!", - "year" : "2014", - "url" : "https://youtu.be/Ap6fUlMx90A?t:2m30s" - }, - { - "author" : "143malliw", - "authorImage" : "https://yt3.ggpht.com/-SUPNlJ8a7qA/AAAAAAAAAAI/AAAAAAAAAAA/R_I4z7057_w/s100-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "but i can't write a quote, for I am the quote", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "AstralMod", - "authorImage" : "https://cdn.discordapp.com/avatars/282048599574052864/56d2d99bf763df5a05f5d157108edbdc.png?size:2048", - "quote" : "Welcome to the weekly chat chat!", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "AstralPhaser", - "authorImage" : "https://cdn.discordapp.com/avatars/230480971084988417/32f46a9671c6ceedc54b369ea73be178.png?size:2048", - "quote" : "Ok the shrimp is now on the barbie", - "year" : "2017", - "url" : "https://media.discordapp.net/attachments/277922530973581312/355882401546764289/d300-123-6379-orton-wp.png" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : ":joy: It's Cameron's Birthday!\nJoy!!!11!!111!!!!", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "RogueAI", - "authorImage" : "https://cdn.discordapp.com/avatars/275867508932608000/1702545b94e23ea7dfc1346a83542792.png?size:2048", - "quote" : "1) java stinks and is a big stupid,", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Steve Jobs", - "authorImage" : "http://media.syracuse.com/news/photo/2011/01/9177328-large.jpg", - "quote" : "It's really hard to design products by focus groups. A lot of times, people don't know what they want until you show it to them.", - "year" : "1998", - "url" : "https://www.huffingtonpost.com/gregory-ciotti/why-steve-jobs-didnt-list_b_5628355.html" - }, - { - "author" : "arencllc", - "authorImage" : "https://cdn.discordapp.com/avatars/191290329985581069/e4d6ee5c8836f5c79c51611d0ba536eb.png?size:2048", - "quote" : "Coding for uwp is as hard as using a UWP program.", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "FloppyDiskDrive", - "authorImage" : "https://cdn.discordapp.com/avatars/228271067821506560/a_0122b441972a6edfa6201ee871fad2a7.gif?size:2048", - "quote" : "Victor would be a champ at synchronized thinking.", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Tembot", - "authorImage" : "https://cdn.discordapp.com/avatars/361202413165608962/fba99664eb0aeec8a47db3a74a2029d5.png?size:2048", - "quote" : "Why are u stocking me", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "TheMemeKnight", - "authorImage" : "https://cdn.discordapp.com/avatars/267766634452615168/df08523e0ca30929ceb0dc28dcda8f78.png?size:2048", - "quote" : "@Alee14 Do YoU kNoW hOw It FeElS tO bE iN mY sOcKs", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Alee", - "authorImage" : "https://cdn.discordapp.com/avatars/242775871059001344/b8a995d836bbb8529ae35dc12c2289de.png?size:2048", - "quote" : "You could do me if you want to not show it to the public.", - "year" : "2017", - "url" : "https://prnt.sc/hfht4v" - }, - { - "author" : "Alee", - "authorImage" : "https://cdn.discordapp.com/avatars/242775871059001344/b8a995d836bbb8529ae35dc12c2289de.png?size:2048", - "quote" : "I want to live in a bus when i'm older", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Tembot", - "authorImage" : "https://cdn.discordapp.com/avatars/361202413165608962/fba99664eb0aeec8a47db3a74a2029d5.png?size:2048", - "quote" : "wat de hek", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "PieLover12", - "authorImage" : "https://cdn.discordapp.com/avatars/344630031303311371/d84ae603ee53a5b54f7b78bcb4f733f2.png?size:2048", - "quote" : "DIE YOU LOOK LIKE TINY GIRL", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "(there is a :middle_finger: emoji sitting in Gboard now after my brother sent that to Google assistant)", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "AstralPhaser", - "authorImage" : "https://cdn.discordapp.com/avatars/230480971084988417/32f46a9671c6ceedc54b369ea73be178.png?size:2048", - "quote" : "anyway, I've gotta go now, I'll be back in 3 \"year\"s", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "Zero electric cars means they don't sell electric cards here", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "Unless you're living in like Denland or something", - "year" : "2017", - "url" : "https://www.example.com/" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "[goes and cries in a corner]\nWAAA\nWAAAAAAAAAA\nWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "year" : "2017", - "url" : "https://cdn.discordapp.com/attachments/373884824034869249/374564169678061568/unknown.png" - }, - { - "author" : "OSFirstTimer", - "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", - "quote" : "The most popular version of Linux ever called Abuncho. Abuncho 12.10.", - "year" : "2012", - "url" : "https://youtu.be/PgGbZfR6Vec?t:6s" - }, - { - "author" : "Vat19", - "authorImage" : "https://s3.amazonaws.com/images1.vat19.com/branding/vat19-mobile-logo-2x.png", - "quote" : "VAAAAT NINETEEEEEEN! dot com ._.", - "year" : "2017", - "url" : "https://youtu.be/tnvcxBns_uQ?t:3m17s" - }, - { - "author" : "Victor Tran", - "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", - "quote" : "Who needs to say fuck when you can say - instead\nI blame that on my secretary :sob:", - "year" : "2018", - "url" : "https://www.example.com/" - }, - { - "author" : "Steve Jobs", - "authorImage" : "http://media.syracuse.com/news/photo/2011/01/9177328-large.jpg", - "quote" : "Sometimes life is going to hit you in the head with a brick. Don't lose faith.", - "year" : "circa. 2000", - "url" : "https://www.example.com/" - } - - ] -} diff --git a/storage/quotes.json b/storage/quotes.json new file mode 100644 index 0000000..856d3cf --- /dev/null +++ b/storage/quotes.json @@ -0,0 +1,278 @@ +{ + "quotes" :[ + { + "author": "Victor Tran", + "authorImage": "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote": "A letter says a whole video!", + "year": "2017", + "url": "https://cdn.discordapp.com/attachments/278874966542385152/280566273992032258/Screenshot_20170213-160944.png" + }, + { + "author" : "Prince Hamlet: William Shakespeare", + "authorImage" : "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Shakespeare.jpg/468px-Shakespeare.jpg", + "quote" : "To be, or not to be, that is the question", + "year" : "circa. 1600", + "url" : "https://en.wikipedia.org/wiki/To_be,_or_not_to_be" + }, + { + "author" : "Diana Adams / Mitsubishi Mirage", + "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "Dialing 000...\nNOOO!!!", + "year" : "2017", + "url" : "https://youtu.be/jDy57c7Y-4A?t:11m52s" + }, + { + "author" : "Diana Adams / Mitsubishi Mirage", + "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "You'd have a crash by now!\nPardon?", + "year" : "2017", + "url" : "https://youtu.be/jDy57c7Y-4A?t:15m5s" + }, + { + "author" : "Ivoponop Pena", + "authorImage" : "https://yt3.ggpht.com/-hZJxXIFsfB8/AAAAAAAAAAI/AAAAAAAAAAA/c_mjVjQWvTw/s48-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "i buy tablets for the bubble plastic", + "year" : "2016", + "url" : "https://www.youtube.com/watch?v:AqFDn0TxwH4" + }, + { + "author" : "The Mill on the Floss: George Eliot", + "authorImage" : "https://upload.wikimedia.org/wikipedia/commons/8/81/George_Eliot_at_30_by_François_D%27Albert_Durade.jpg", + "quote" : "Don't judge a book by its cover", + "year" : "1860", + "url" : "https://en.wikipedia.org/wiki/Don't_judge_a_book_by_its_cover" + }, + { + "author" : "tostoday", + "authorImage" : "https://yt3.ggpht.com/-gNRclMiHzN4/AAAAAAAAAAI/AAAAAAAAAAA/BNEDEUakd4A/s48-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "I don't know why but Visopsys sounds like a medical condition", + "year" : "circa. 2015", + "url" : "https://www.youtube.com/watch?v:5T-vEZeY2v0" + }, + { + "author" : "Diana Adams", + "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "4 × 1 000 000!? 4 000 000! It's not that hard...", + "year" : "2014", + "url" : "https://youtu.be/5T-vEZeY2v0?t:9m28s" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "Yes! I'm not *just* a blue happy face!", + "year" : "2016", + "url" : "https://youtu.be/2E21oad5pWQ" + }, + { + "author" : "ItsDeckyah", + "authorImage" : "https://yt3.ggpht.com/-t70ZI-25A1k/AAAAAAAAAAI/AAAAAAAAAAA/uGrVakleFIM/s48-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "Always remember, don't let those who are bullying you ruin your life, they are out to do just that. And that's probably all they'll do their whole lives", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Mighty_Eagle073", + "authorImage" : "https://yt3.ggpht.com/-Q5IvX3eEGl8/AAAAAAAAAAI/AAAAAAAAAAA/LspLd8v-PR8/s100-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "Spamming : Damning", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Nibble", + "authorImage" : "https://yt3.ggpht.com/-SUPNlJ8a7qA/AAAAAAAAAAI/AAAAAAAAAAA/R_I4z7057_w/s100-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "AUTO CORRECF!!!", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "@Derpy ♀ For your own fucking good, learn what political correctness is.", + "year" : "2017", + "url" : "https://cdn.discordapp.com/attachments/371830028381454337/372263065472729088/2017-10-24_01.58.19.png" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "But couldn't you at least put the mounted disks on the dick or on Dinder?\nDOCK", + "year" : "2017", + "url" : "https://www.example.com" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "Just happened one gay?\nDAY\nOH BOY\nI BLAME SWIPE TYPING", + "year" : "2017", + "url" : "https://www.example.com" + }, + { + "author" : "Alee", + "authorImage" : "https://cdn.discordapp.com/avatars/242775871059001344/b8a995d836bbb8529ae35dc12c2289de.png?size:2048", + "quote" : "IS THERE A GOOOOOGALIE HERE!!!!", + "year" : "2014", + "url" : "https://youtu.be/Ap6fUlMx90A?t:2m30s" + }, + { + "author" : "143malliw", + "authorImage" : "https://yt3.ggpht.com/-SUPNlJ8a7qA/AAAAAAAAAAI/AAAAAAAAAAA/R_I4z7057_w/s100-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "but i can't write a quote, for I am the quote", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "AstralMod", + "authorImage" : "https://cdn.discordapp.com/avatars/282048599574052864/56d2d99bf763df5a05f5d157108edbdc.png?size:2048", + "quote" : "Welcome to the weekly chat chat!", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "AstralPhaser", + "authorImage" : "https://cdn.discordapp.com/avatars/230480971084988417/32f46a9671c6ceedc54b369ea73be178.png?size:2048", + "quote" : "Ok the shrimp is now on the barbie", + "year" : "2017", + "url" : "https://media.discordapp.net/attachments/277922530973581312/355882401546764289/d300-123-6379-orton-wp.png" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : ":joy: It's Cameron's Birthday!\nJoy!!!11!!111!!!!", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "RogueAI", + "authorImage" : "https://cdn.discordapp.com/avatars/275867508932608000/1702545b94e23ea7dfc1346a83542792.png?size:2048", + "quote" : "1) java stinks and is a big stupid,", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Steve Jobs", + "authorImage" : "http://media.syracuse.com/news/photo/2011/01/9177328-large.jpg", + "quote" : "It's really hard to design products by focus groups. A lot of times, people don't know what they want until you show it to them.", + "year" : "1998", + "url" : "https://www.huffingtonpost.com/gregory-ciotti/why-steve-jobs-didnt-list_b_5628355.html" + }, + { + "author" : "arencllc", + "authorImage" : "https://cdn.discordapp.com/avatars/191290329985581069/e4d6ee5c8836f5c79c51611d0ba536eb.png?size:2048", + "quote" : "Coding for uwp is as hard as using a UWP program.", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "FloppyDiskDrive", + "authorImage" : "https://cdn.discordapp.com/avatars/228271067821506560/a_0122b441972a6edfa6201ee871fad2a7.gif?size:2048", + "quote" : "Victor would be a champ at synchronized thinking.", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Tembot", + "authorImage" : "https://cdn.discordapp.com/avatars/361202413165608962/fba99664eb0aeec8a47db3a74a2029d5.png?size:2048", + "quote" : "Why are u stocking me", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "TheMemeKnight", + "authorImage" : "https://cdn.discordapp.com/avatars/267766634452615168/df08523e0ca30929ceb0dc28dcda8f78.png?size:2048", + "quote" : "@Alee14 Do YoU kNoW hOw It FeElS tO bE iN mY sOcKs", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Alee", + "authorImage" : "https://cdn.discordapp.com/avatars/242775871059001344/b8a995d836bbb8529ae35dc12c2289de.png?size:2048", + "quote" : "You could do me if you want to not show it to the public.", + "year" : "2017", + "url" : "https://prnt.sc/hfht4v" + }, + { + "author" : "Alee", + "authorImage" : "https://cdn.discordapp.com/avatars/242775871059001344/b8a995d836bbb8529ae35dc12c2289de.png?size:2048", + "quote" : "I want to live in a bus when i'm older", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Tembot", + "authorImage" : "https://cdn.discordapp.com/avatars/361202413165608962/fba99664eb0aeec8a47db3a74a2029d5.png?size:2048", + "quote" : "wat de hek", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "PieLover12", + "authorImage" : "https://cdn.discordapp.com/avatars/344630031303311371/d84ae603ee53a5b54f7b78bcb4f733f2.png?size:2048", + "quote" : "DIE YOU LOOK LIKE TINY GIRL", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "(there is a :middle_finger: emoji sitting in Gboard now after my brother sent that to Google assistant)", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "AstralPhaser", + "authorImage" : "https://cdn.discordapp.com/avatars/230480971084988417/32f46a9671c6ceedc54b369ea73be178.png?size:2048", + "quote" : "anyway, I've gotta go now, I'll be back in 3 \"year\"s", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "Zero electric cars means they don't sell electric cards here", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "Unless you're living in like Denland or something", + "year" : "2017", + "url" : "https://www.example.com/" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "[goes and cries in a corner]\nWAAA\nWAAAAAAAAAA\nWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "year" : "2017", + "url" : "https://cdn.discordapp.com/attachments/373884824034869249/374564169678061568/unknown.png" + }, + { + "author" : "OSFirstTimer", + "authorImage" : "https://yt3.ggpht.com/-tQLg1M-3org/AAAAAAAAAAI/AAAAAAAAAAA/-kkOvupMHXQ/s88-c-k-no-mo-rj-c0xffffff/photo.jpg", + "quote" : "The most popular version of Linux ever called Abuncho. Abuncho 12.10.", + "year" : "2012", + "url" : "https://youtu.be/PgGbZfR6Vec?t:6s" + }, + { + "author" : "Vat19", + "authorImage" : "https://s3.amazonaws.com/images1.vat19.com/branding/vat19-mobile-logo-2x.png", + "quote" : "VAAAAT NINETEEEEEEN! dot com ._.", + "year" : "2017", + "url" : "https://youtu.be/tnvcxBns_uQ?t:3m17s" + }, + { + "author" : "Victor Tran", + "authorImage" : "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg", + "quote" : "Who needs to say fuck when you can say - instead\nI blame that on my secretary :sob:", + "year" : "2018", + "url" : "https://www.example.com/" + }, + { + "author" : "Steve Jobs", + "authorImage" : "http://media.syracuse.com/news/photo/2011/01/9177328-large.jpg", + "quote" : "Sometimes life is going to hit you in the head with a brick. Don't lose faith.", + "year" : "circa. 2000", + "url" : "https://www.example.com/" + } + + ] +} -- cgit v1.2.3 From 0f78baedf737a9e27956112c56c3efef26832ba8 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 31 Mar 2018 22:02:49 -0400 Subject: 2.6 Release --- bot_discord.js | 2 +- commands/changelog.js | 2 +- commands/help.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/changelog.js') diff --git a/bot_discord.js b/bot_discord.js index 0eca625..8e6979f 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -20,7 +20,7 @@ const Discord = require('discord.js'); const economy = require('discord-eco'); const client = new Discord.Client(); -const abVersion = '2.6.0 Beta'; +const abVersion = '2.6.0'; const prefix = 'abb:'; const fs = require('fs'); const config = require('./absettings.json'); diff --git a/commands/changelog.js b/commands/changelog.js index 0e67202..fa3fdff 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -20,7 +20,7 @@ module.exports.run = async (client, message) => { const Discord = require('discord.js'); const embed = new Discord.RichEmbed() - .setAuthor('AleeBot ' + '2.6.0 Beta ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') + .setAuthor('AleeBot ' + '2.6.0 ' + 'Changelog', 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') .setDescription('What\'s new in AleeBot 2.6?') .addField('[>] G A M E S!', 'Yes! You\'ve been waiting for a long time you can now get money from games!') .addField('[>] Quotes!', 'So you might be confused why quote? Well... we merged with another project which is called AstralQuote.') diff --git a/commands/help.js b/commands/help.js index 83ee773..92f9c83 100644 --- a/commands/help.js +++ b/commands/help.js @@ -30,7 +30,7 @@ module.exports.run = async (client, message) => { const embed = new Discord.RichEmbed() .setTitle('AleeBot Help') - .setAuthor('AleeBot 2.6.0 Beta' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') + .setAuthor('AleeBot 2.6.0' + ` Help and on ${client.guilds.size} servers`, 'https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048') .setDescription('Every command you input into AleeBot is `' + require('../absettings.json').prefix + '`') .setColor('#1fd619') .setFooter('AleeCorp Copyright 2018'); -- cgit v1.2.3