switch to using api functions over mreq
This commit is contained in:
@@ -43,6 +43,7 @@ function* generateLocalpartAlternatives(preferences) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whole process for checking the database and generating the right sim name.
|
||||
* @param {import("discord-api-types/v10").APIUser} user
|
||||
* @returns {string}
|
||||
*/
|
||||
@@ -71,4 +72,4 @@ function userToSimName(user) {
|
||||
throw new Error(`Ran out of suggestions when generating sim name. downcased: "${downcased}"`)
|
||||
}
|
||||
|
||||
module.exports.userToSimName = userToSimName
|
||||
module.exports.userToSimName = userToSimName
|
||||
|
||||
Reference in New Issue
Block a user