forked from Lea/obama-bot
h
This commit is contained in:
parent
09bda53ece
commit
216960f3e2
|
@ -33,7 +33,7 @@ module.exports.run = async (message, args) => {
|
||||||
this.copypastaing[message.channel.id] = true;
|
this.copypastaing[message.channel.id] = true;
|
||||||
|
|
||||||
sendLine();
|
sendLine();
|
||||||
const interval = setInterval(sendLine, 1250);
|
const interval = setInterval(sendLine, 1500);
|
||||||
const listener = shutEmitter.once('shut', cid => {
|
const listener = shutEmitter.once('shut', cid => {
|
||||||
if (cid == message.channel.id) {
|
if (cid == message.channel.id) {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
|
|
|
@ -3,11 +3,12 @@ const Discord = require('discord.js');
|
||||||
module.exports.meta = {
|
module.exports.meta = {
|
||||||
name: 'stop',
|
name: 'stop',
|
||||||
aliases: ['stfu', 'shut'],
|
aliases: ['stfu', 'shut'],
|
||||||
staffOnly: false
|
staffOnly: false,
|
||||||
|
epicOnly: true
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Kills -copypasta
|
||||||
* @param {Discord.Message} message
|
* @param {Discord.Message} message
|
||||||
* @param {Array<string>} args
|
* @param {Array<string>} args
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue