trying to fix bugs in production ongod
This commit is contained in:
parent
9906e750ef
commit
ba6bb87b3f
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@ export default async function sendAsMember(message: Message, database: Database)
|
||||||
const memberRepo: MemberRepo = new MemberRepo(database);
|
const memberRepo: MemberRepo = new MemberRepo(database);
|
||||||
let members: MemberModel[];
|
let members: MemberModel[];
|
||||||
await memberRepo.getAltersByUserId(message.author.id).then(result => members = result);
|
await memberRepo.getAltersByUserId(message.author.id).then(result => members = result);
|
||||||
if (members === undefined) {return}
|
|
||||||
|
|
||||||
members.forEach( async alter => {
|
members.forEach( async alter => {
|
||||||
const pre_prefix = alter.prefix.split("text");
|
const pre_prefix = alter.prefix.split("text");
|
||||||
|
|
Loading…
Reference in a new issue