refactor: 🚸 change bot presence
This commit is contained in:
parent
6f932d9fb9
commit
79d67fdf85
2 changed files with 4 additions and 6 deletions
|
@ -16,7 +16,9 @@ prisma.$use(async (params, next) => {
|
|||
|
||||
if (after - before >= 50) {
|
||||
logger.warn(
|
||||
`Query ${params.model}.${params.action} took ${after - before}ms`
|
||||
`Query ${params.model}.${params.action} took long time ${
|
||||
after - before
|
||||
}ms`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -14,11 +14,7 @@ export default (client: Client) => {
|
|||
|
||||
const activities: ActivitiesOptions[] = [
|
||||
{
|
||||
name: `${guildCount} guilds`,
|
||||
type: ActivityType.Watching,
|
||||
},
|
||||
{
|
||||
name: `${memberCount} members`,
|
||||
name: `${guildCount} servers︱${memberCount} users`,
|
||||
type: ActivityType.Watching,
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue