mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
major cleanup
This commit is contained in:
parent
ddd918470e
commit
a8cf49e31e
60 changed files with 537 additions and 619 deletions
|
@ -22,7 +22,7 @@ module.exports = {
|
|||
context.triggerTyping();
|
||||
if(!args.user) args.user = context.userId;
|
||||
let u = await getUser(context, args.user)
|
||||
if(!u || !u.user) return editOrReply(context, { embeds: [createEmbed("warning", context, "No users found.")] })
|
||||
if(!u || !u.user) return editOrReply(context, createEmbed("warning", context, "No users found."))
|
||||
|
||||
if(u.member && u.member.avatar !== null) {
|
||||
let pages = []
|
||||
|
@ -38,7 +38,7 @@ module.exports = {
|
|||
}
|
||||
})))
|
||||
|
||||
const paging = await paginator.createPaginator({
|
||||
await paginator.createPaginator({
|
||||
context,
|
||||
pages,
|
||||
buttons: [{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue