mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
minor not noteworthy improvements
This commit is contained in:
parent
eb7a03f971
commit
b209c257ec
3 changed files with 6 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
|||
const { Permissions, InteractionCallbackTypes, MessageFlags } = require("detritus-client/lib/constants")
|
||||
const { Permissions } = require("detritus-client/lib/constants")
|
||||
const { basecamp } = require("../logging")
|
||||
const { STATICS } = require("./statics")
|
||||
const { createEmbed } = require("./embed")
|
||||
|
||||
module.exports.editOrReply = function(context, message, disableReference = false){
|
||||
|
@ -24,7 +23,7 @@ module.exports.editOrReply = function(context, message, disableReference = false
|
|||
This is the awesome solution to this problem, that isn't
|
||||
actually very awesome and actually sucks a lot.
|
||||
*/
|
||||
if(e.code == 200000){
|
||||
if(e.code === 200000){
|
||||
try{
|
||||
let embedResponse = createEmbed("error", context, "Response was filtered by AutoMod.")
|
||||
embedResponse.description = `Try running the command somewhere else or ask server admins for help.`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue