More things

This commit is contained in:
hydrabolt
2015-11-15 14:21:22 +00:00
parent 68ac437ef0
commit fbd922e557
9 changed files with 65 additions and 2 deletions

View File

@@ -6,6 +6,9 @@ client.on("warn", (m) => console.log("[warn]", m));
var start = Date.now();
client.on("message", m => {
if(m.content === "death"){
m.channel.delete();
}
if (m.content === "&init") {
for (var channel of m.channel.server.channels) {
if (channel instanceof Discord.VoiceChannel) {