Skip to content

Commit

Permalink
fix(Hoshi, Koto & Kusari): Type: Wether -> Whether
Browse files Browse the repository at this point in the history
  • Loading branch information
jurienhamaker committed Apr 9, 2024
1 parent 8939072 commit 046c514
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions apps/hoshi/src/modules/settings/commands/settings.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
GuildAdminGuard,
GuildModeratorGuard,
} from '@yugen/shared';
import { resolveEmoji } from '@yugen/util';
import { ChannelType, TextChannel } from 'discord.js';
import {
BooleanOption,
ChannelOption,
Expand All @@ -18,8 +20,6 @@ import {
import { SettingsService } from '../services';
import { SettingsCommandDecorator } from '../settings.decorator';
import { SETTINGS_CHOICES } from '../util/constants';
import { ChannelType, TextChannel } from 'discord.js';
import { resolveEmoji } from '@yugen/util';

class SettingsResetOptions {
@StringOption({
Expand Down Expand Up @@ -62,7 +62,7 @@ class SetSelfOptions {
@BooleanOption({
name: 'allowed',
description:
'Wether message authors are allowed to star their own message',
'Whether message authors are allowed to star their own message',
required: true,
})
self: boolean;
Expand Down Expand Up @@ -200,7 +200,7 @@ export class SettingsCommands {
@UseGuards(GuildAdminGuard)
@Subcommand({
name: 'author-starring',
description: 'Set wether message author starring counts',
description: 'Set whether message author starring counts',
})
public async setSelf(
@Context() [interaction]: SlashCommandContext,
Expand Down
4 changes: 2 additions & 2 deletions apps/hoshi/src/modules/settings/util/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const SETTINGS_CHOICES = [
{
name: 'Enabled',
description: 'Wether starboard module should be enabled or disabled.',
description: 'Whether starboard module should be enabled or disabled.',
value: 'enabled',
},
{
Expand All @@ -12,7 +12,7 @@ export const SETTINGS_CHOICES = [
{
name: 'Self starring',
description:
'Wether the author of the message can star their own messages.',
'Whether the author of the message can star their own messages.',
value: 'self',
},
{
Expand Down
2 changes: 1 addition & 1 deletion apps/koto/Privacy Policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Users partaking in any of the Koto games will have the following information sto
- `id` with the User's ID as a value.
- `participated` with the amount of games it participated in as value.
- `wins` with the amount of games it won as value.
- `inGuild` wether the user is still part of the Server.
- `inGuild` whether the user is still part of the Server.

### Updating Data

Expand Down
8 changes: 4 additions & 4 deletions apps/koto/src/modules/settings/commands/settings.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SettingsSetCooldownOptions {
class SettingsSetAutoStartOptions {
@BooleanOption({
name: 'value',
description: 'Wether to automatically start a game after it ends.',
description: 'Whether to automatically start a game after it ends.',
required: true,
})
autoStart: boolean;
Expand All @@ -75,7 +75,7 @@ class SettingsSetAutoStartOptions {
class SettingsSetMembersPrivilegeOptions {
@BooleanOption({
name: 'value',
description: 'Wether server members van start games themselves.',
description: 'Whether server members can start games themselves.',
required: true,
})
membersCanStart: boolean;
Expand Down Expand Up @@ -412,7 +412,7 @@ export class SettingsCommands {
@Subcommand({
name: 'auto-start',
description:
'Wether a game should automatically start a new one after the previous ended.',
'Whether a game should automatically start a new one after the previous ended.',
})
public async setAutoStart(
@Context() [interaction]: SlashCommandContext,
Expand All @@ -430,7 +430,7 @@ export class SettingsCommands {

@Subcommand({
name: 'members-privilege',
description: 'Wether server members van start games themselves.',
description: 'Whether server members van start games themselves.',
})
public async setMemberCanStart(
@Context() [interaction]: SlashCommandContext,
Expand Down
2 changes: 1 addition & 1 deletion apps/kusari/Privacy Policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Users partaking in any of the Kusari games will have the following information s
- `id` with the User's ID as a value.
- `participated` with the amount of games it participated in as value.
- `wins` with the amount of games it won as value.
- `inGuild` wether the user is still part of the Server.
- `inGuild` whether the user is still part of the Server.

### Updating Data

Expand Down

0 comments on commit 046c514

Please sign in to comment.