Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Apr 17, 2024
1 parent b2510a7 commit 5e7cc31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@ client.once("ready", () => {
});

client.on("messageCreate", async (message) => {
console.log(message)
if(!message.guild) return;
console.log("hmm1")
//if(!message.channel.permissionsFor(client.user).has("SEND_MESSAGES")) return;
if(message.author.bot) return;
console.log("hmm2")
if(!message.content.toLowerCase().startsWith("peng")) return; //In Zukunft mit Args arbeiten für Dynamic Commandes und bewusstes Peng
console.log("hmm3")
message.react("🔫");
await message.guild.members.fetch();
var userList = Array.from(message.guild.members.cache.values());
Expand Down

0 comments on commit 5e7cc31

Please sign in to comment.