Skip to content

Commit

Permalink
feat(joke): respond to simple and basic stuff
Browse files Browse the repository at this point in the history
you know or you don't
  • Loading branch information
C0ZEN committed May 1, 2021
1 parent 05b01e6 commit 8df6109
Show file tree
Hide file tree
Showing 10 changed files with 712 additions and 25 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ Sonia will respond to each of your messages but within a predefined priority:
- ping (respond pong)
- hotel (respond trivago)
- any question? (respond a pizza lover joke)
- simple (respond basic)
- basic (respond simple)
- default message (when your message is very basic, Sonia will tell you that it is noon, as usual (even if it is untrue))

**Example:**
Expand Down
10 changes: 8 additions & 2 deletions src/enums/service-name.enum.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { ServiceNameEnum } from './service-name.enum';
import { getEnumLength } from '../functions/checks/get-enum-length';

describe(`ServiceNameEnum`, (): void => {
it(`should have a 112 members`, (): void => {
it(`should have a 113 members`, (): void => {
expect.assertions(1);

expect(getEnumLength(ServiceNameEnum)).toStrictEqual(112);
expect(getEnumLength(ServiceNameEnum)).toStrictEqual(113);
});

it(`should have a member "APP_CONFIG_CORE_SERVICE"`, (): void => {
Expand Down Expand Up @@ -478,6 +478,12 @@ describe(`ServiceNameEnum`, (): void => {
expect(ServiceNameEnum.DISCORD_MESSAGE_SERVICE).toStrictEqual(`DiscordMessageService`);
});

it(`should have a member "DISCORD_MESSAGE_SIMPLE_BASIC_SERVICE"`, (): void => {
expect.assertions(1);

expect(ServiceNameEnum.DISCORD_MESSAGE_SIMPLE_BASIC_SERVICE).toStrictEqual(`DiscordMessageSimpleBasicService`);
});

it(`should have a member "DISCORD_MESSAGE_TEXT_SERVICE"`, (): void => {
expect.assertions(1);

Expand Down
1 change: 1 addition & 0 deletions src/enums/service-name.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export enum ServiceNameEnum {
DISCORD_MESSAGE_SCHEDULE_NOON_COUNT_SERVICE = `DiscordMessageScheduleNoonCountService`,
DISCORD_MESSAGE_SCHEDULE_NOON_SERVICE = `DiscordMessageScheduleNoonService`,
DISCORD_MESSAGE_SERVICE = `DiscordMessageService`,
DISCORD_MESSAGE_SIMPLE_BASIC_SERVICE = `DiscordMessageSimpleBasicService`,
DISCORD_MESSAGE_TEXT_SERVICE = `DiscordMessageTextService`,
DISCORD_SERVICE = `DiscordService`,
DISCORD_SONIA_CONFIG_CORE_SERVICE = `DiscordSoniaConfigCoreService`,
Expand Down

This file was deleted.

Loading

0 comments on commit 8df6109

Please sign in to comment.