This commit is contained in:
parent
a38fd9fffd
commit
b906097987
@ -60,11 +60,12 @@ module.exports = {
|
||||
}
|
||||
|
||||
// 2 - Inserir no banco
|
||||
const conn.execute(
|
||||
await conn.execute(
|
||||
`INSERT INTO users (discord_id, discord_avatar, discord_username, cargo, level) VALUES (?, ?, ?, ?, ?)`,
|
||||
[nome.id, idavatar,nome.username, cargo, "0"]
|
||||
);
|
||||
|
||||
|
||||
// 3 - Pegar o membro na guilda
|
||||
const member = await interaction.guild.members.fetch(nome.id);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user