mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: inactive command
This commit is contained in:
1 parent
e5922fd646
commit
6cd135f7d4
5 files changed
+209
-10
No files matched your search
@@ -1,5 +1,9 @@
|
||||
import { PlayerStatistics } from '../types/statistics.js';
|
||||
|
||||
export default function blitzLinks(data: PlayerStatistics) {
|
||||
return `[View full stats](https://www.blitzstars.com/player/${data.region}/${data.nickname}) • [Support BlitzStars](https://www.blitzstars.com/supporters)`;
|
||||
export default function blitzLinks(data?: PlayerStatistics) {
|
||||
return `${
|
||||
data
|
||||
? `[View full stats](https://www.blitzstars.com/player/${data.region}/${data.nickname}) • `
|
||||
: ''
|
||||
}[Support BlitzStars](https://www.blitzstars.com/supporters)`;
|
||||
}
|
||||
Reference in new issue
Block a user