Skip to content

Commit

Permalink
v10.11.2 (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtraction authored Jun 4, 2023
2 parents 1601da6 + ae1e295 commit da3ace7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bastion",
"version": "10.11.1",
"version": "10.11.2",
"description": "Get an enhanced Discord experience!",
"type": "module",
"homepage": "https://bastion.traction.one",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/server/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @copyright 2022
*/
import { ChannelType, ChatInputCommandInteraction, time } from "discord.js";
import { Command, Logger } from "@bastion/tesseract";
import { Client, Command, Logger } from "@bastion/tesseract";

import GuildModel from "../../models/Guild.js";
import { COLORS, isPublicBastion } from "../../utils/constants.js";
Expand Down Expand Up @@ -33,7 +33,7 @@ class ChannelInfoCommand extends Command {
color: COLORS.PRIMARY,
author: {
name: interaction.guild.name,
// TODO: server page - url: ,
url: (interaction.client as Client).locales.getConstant("bastion.website") + "/servers/" + interaction.guild.id,
},
title: (interaction.guild.partnered ? "Partnered" : interaction.guild.verified ? "Verified" : "") + " Server",
// TODO: badges - description: ,
Expand Down

0 comments on commit da3ace7

Please sign in to comment.