please stop stealing my code
This commit is contained in:
parent
3e8c73f90a
commit
f04f6c842f
29 changed files with 65 additions and 6 deletions
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
|
||||
|
||||
module.exports = (client) => {
|
||||
client.logger.warn('Lost connection to Discord.')
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
|
@ -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.')
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
|
||||
|
||||
module.exports = async (client, message) => {
|
||||
if (message.author.bot) return
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
|
||||
|
||||
module.exports = (client) => {
|
||||
client.logger.info('Reconnecting to Discord...')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue