please stop stealing my code

This commit is contained in:
Emily 2020-04-20 13:02:10 +10:00
parent 3e8c73f90a
commit f04f6c842f
29 changed files with 65 additions and 6 deletions

View file

@ -32,6 +32,6 @@ If you wish to use our code in your project, please credit us! We don't mind you
### License
Copyright (C) 2018-2020 **Emily J. / mudkipscience**
Copyright (C) 2018-2020 Emily J. / mudkipscience
Copyrights licensed under the GNU AGPLv3 License, see the accompanying LICENSE file for details.

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
/* eslint-disable no-eval */
exports.conf = {

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: true,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: true,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,4 +1,6 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: false,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
exports.conf = {
enabled: true,
guildOnly: true,

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
module.exports = (client) => {
client.logger.warn('Lost connection to Discord.')
}

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
module.exports = async (client, error) => {
client.logger.error(JSON.stringify(error.stack))
}

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
const Discord = require('discord.js')
module.exports = async (client, guild) => {
client.logger.info('Guild joined.')

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
const Discord = require('discord.js')
module.exports = async (client, guild) => {
if (!guild.available) return

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
module.exports = async (client, message) => {
if (message.author.bot) return

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
const moment = require('moment')
module.exports = (client) => {
const timestamp = moment().format('YYYY-MM-DD HH:mm:ss')

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
module.exports = (client) => {
client.logger.info('Reconnecting to Discord...')
}

View file

@ -1,5 +1,8 @@
// Woomy version 2
// Copyright 2020 mudkipscience
/* Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
* You will find this message at the start of every file in woomy. Please
* keep in mind that I didn't do all the work, I just don't think the other
* developers would be comfortable providing their names :P
*/
'use strict'
@ -28,9 +31,9 @@ client.db = require('./utils/mongoose')
client.logger = require('./utils/logger')
require('./utils/_functions')(client)
if (typeof client.config.devmode !== 'undefined') { //Check if devmode is explicitly overridden
client.devmode = client.config.devmode;
} else { //Check if Woomy is running inside a Docker
if (typeof client.config.devmode !== 'undefined') { // Check if devmode is explicitly overridden
client.devmode = client.config.devmode
} else { // Check if Woomy is running inside a Docker
if (isDocker() === false) {
client.devmode = true
} else {

View file

@ -1,3 +1,7 @@
/* Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
* Some code found in this file has been taken from Guidebot, which is licensed under the MIT license.
*/
// Functions in this file are bound to the client object, and available basically anywhere.
const { MessageEmbed } = require('discord.js')

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
module.exports = client => {
}

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
'use strict'
const { colorConsole } = require('tracer')

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
const mongoose = require('mongoose')
module.exports = {

View file

@ -1,3 +1,5 @@
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
const ytdl = require('ytdl-core-discord')
const fetch = require('node-fetch')
const { MessageEmbed } = require('discord.js')