Commit 6211f01a authored by Morgân von Brylân's avatar Morgân von Brylân

Retire des réminiscence du vieux SPOY.

parent 3469e2a0
......@@ -268,9 +268,6 @@ client.on("message", msg => {
cmd = cmd.replace('>', '<');
}
if(params.spying.includes(msg.channel.id) && auth.spoy.secretSpy)
m_spyMessage(msg);
if(!jpeuxÉcrire(msg.channel))
{
......@@ -321,7 +318,7 @@ client.on("message", msg => {
for(const [clé, attachement] of msg.attachments)
message += "\n+ " + a.url;
client.channels.get(auth.spoy.dm).send(message).catch(error);
master.send(message).catch(error);
}
}
......@@ -674,18 +671,6 @@ client.on("message", msg => {
});
function m_spyMessage(msg)
{
let message = `Message de ${msg.author} dans ${msg.channel} :\n${msg.content}`;
const planque = client.channels.get("434084498787926016").children.find(c => c.name === msg.channel.id);
if(msg.attachments.first())
for(const [clé, attachement] of msg.attachments)
message += "\n+ " + a.url;
planque.send(message).catch(error);
}
function m_testeZaWarudo(msg)
{
if(zaWarudo.test(msg.content))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment