hopefully get Tyler to stop calling himself an idiot
This commit is contained in:
parent
4e3200b99d
commit
8fbd7cb237
@ -12,6 +12,7 @@ module.exports = {
|
|||||||
async execute(interaction, client) {
|
async execute(interaction, client) {
|
||||||
var messageId = interaction.options.getString('messageid');
|
var messageId = interaction.options.getString('messageid');
|
||||||
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
|
const messagefromId = await client.channels.cache.get(interaction.channel.id).messages.fetch(messageId);
|
||||||
|
global.h(messagefromId);
|
||||||
global.checkMessage(messagefromId, true);
|
global.checkMessage(messagefromId, true);
|
||||||
interaction.reply({content: "Checking message..", ephemeral: true});
|
interaction.reply({content: "Checking message..", ephemeral: true});
|
||||||
console.log("User " + interaction.user.tag + " ran /forceevaluate");
|
console.log("User " + interaction.user.tag + " ran /forceevaluate");
|
||||||
|
2
main.cjs
2
main.cjs
@ -214,7 +214,7 @@ global.checkMessage = function checkMessage(message, runFromGlobal) {
|
|||||||
replyMessage(message, correctedMessage, abbrsUsed);
|
replyMessage(message, correctedMessage, abbrsUsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
function h(message) {
|
global.h = function h(message) {
|
||||||
if (!message.author.bot && message.author.id == "205475706296205312" && message.content.toLowerCase().includes('idiot')) {
|
if (!message.author.bot && message.author.id == "205475706296205312" && message.content.toLowerCase().includes('idiot')) {
|
||||||
message.react('<:amgery:1072270900675739758>');
|
message.react('<:amgery:1072270900675739758>');
|
||||||
message.reply("Caleb has specifcially asked you multiple times to stop calling yourself an idiot.");
|
message.reply("Caleb has specifcially asked you multiple times to stop calling yourself an idiot.");
|
||||||
|
Loading…
Reference in New Issue
Block a user