Skip to content

Commit

Permalink
0.5.7 - i am an idiot
Browse files Browse the repository at this point in the history
Signed-off-by: Jersey <[email protected]>
  • Loading branch information
williamhorning committed Mar 7, 2024
1 parent 4f3444a commit ced8962
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/bolt-discord/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type discord_config = {
export class discord_plugin extends bolt_plugin<discord_config> {
bot: Client;
name = 'bolt-discord';
version = '0.5.5';
version = '0.5.7';
support = ['0.5.5'];

constructor(bolt: Bolt, config: discord_config) {
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt-guilded/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function fix_embed<t>(embeds: embed[] = [], timestamp_fix: (s: number) => t) {
? (embed[key as keyof embed] = undefined)
: embed[key as keyof embed];
});
if (!embed.description) return [];
if (!embed.description || embed.description == '') return [];
return [
{
...embed,
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt-guilded/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { tocore, toguilded } from './messages.ts';
export class guilded_plugin extends bolt_plugin<{ token: string }> {
bot: Client;
name = 'bolt-guilded';
version = '0.5.5';
version = '0.5.7';
support = ['0.5.5'];

constructor(bolt: Bolt, config: { token: string }) {
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt-revolt/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { tocore, torevolt } from './messages.ts';
export class revolt_plugin extends bolt_plugin<{ token: string }> {
bot: Client;
name = 'bolt-revolt';
version = '0.5.5';
version = '0.5.7';
support = ['0.5.5'];

constructor(bolt: Bolt, config: { token: string }) {
Expand Down
4 changes: 2 additions & 2 deletions packages/bolt/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ const f = parseArgs(Deno.args, {
});

if (f.version) {
console.log('0.5.5');
console.log('0.5.7');
Deno.exit();
}

if (!f.run && !f.migrations) {
log('bolt v0.5.5 - cross-platform bot connecting communities', 'blue');
log('bolt v0.5.7 - cross-platform bot connecting communities', 'blue');
log('Usage: bolt [options]', 'purple');
log('Options:', 'green');
log('--help: show this');
Expand Down
2 changes: 1 addition & 1 deletion packages/bolt/cmds/_default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const default_commands = [
description: "get bolt's version",
execute: () =>
create_message({
text: 'hello from bolt 0.5.5!'
text: 'hello from bolt 0.5.7!'
})
}
],
Expand Down

0 comments on commit ced8962

Please sign in to comment.