Skip to content

Commit

Permalink
Merge pull request #447 from Project-Coda/remove-welcome
Browse files Browse the repository at this point in the history
Disable Send Welcome
  • Loading branch information
ikifar2012 authored Aug 23, 2024
2 parents 61b9abd + 7a7c35f commit 0c60e45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ global.client.on('guildMemberAdd', async member => {
global.client.on('guildMemberUpdate', async (oldMember, newMember) => {
try {
if (oldMember.pending && !newMember.pending) {
setTimeout(async () => {
await greet.sendWelcome(newMember);
}, 500);
// setTimeout(async () => {
// await greet.sendWelcome(newMember);
// }, 500);
await autorole.assignRoles(newMember);

}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coda-utilities",
"version": "3.5.0",
"version": "3.6.0",
"description": "A general utilities bot for Coda",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0c60e45

Please sign in to comment.