Skip to content

Commit

Permalink
chore: Change status to Custom
Browse files Browse the repository at this point in the history
  • Loading branch information
MotiCAT committed Oct 8, 2023
1 parent 3ddb2ad commit de0fd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for (const file of ContextFiles) {

client.on('ready', async () => {
console.log(`Logged in as ${client.user?.tag}!`);
client.user.setActivity('/help | Created By CatHouse Products')
client.user.setActivity('/help | Created By CatHouse Products', { type: Discord.ActivityType.Custom });
});

client.on('interactionCreate', async (interaction) => {
Expand Down Expand Up @@ -330,7 +330,7 @@ client.on('messageUpdate', async (oldMessage, message) => {
const tokenData = tokendata[serverId];
if (tokenData && Object.keys(tokenData).length > 0) {
if (tokenData['Token検知'] === 'disable') return;
}
};
if (message.content.match(/[a-zA-Z0-9_-]{23,28}\.[a-zA-Z0-9_-]{6,7}\.[a-zA-Z0-9_-]{27}/)) return await message.delete()
if (message.embeds.some(embed => {
return (
Expand Down

0 comments on commit de0fd6d

Please sign in to comment.