diff --git a/src/modules/birthday/index.ts b/src/modules/birthday/index.ts index 1ceb0cd..1680578 100644 --- a/src/modules/birthday/index.ts +++ b/src/modules/birthday/index.ts @@ -7,7 +7,7 @@ function zeroPadding(num: number, length: number): string { return ('0000000000' + num).slice(-length); } -export default class BirthdayModule extends Module { +export default class extends Module { public readonly name = 'birthday'; @autobind diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index 3f3d91b..e6dc72d 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -9,7 +9,7 @@ const titles = ['さん', 'くん', '君', 'ちゃん', '様', '先生']; const invalidChars = ['@', '#', '*', ':', '(', '[', ' ', ' ']; -export default class CoreModule extends Module { +export default class extends Module { public readonly name = 'core'; @autobind diff --git a/src/modules/dice/index.ts b/src/modules/dice/index.ts index 122cbc2..030ff34 100644 --- a/src/modules/dice/index.ts +++ b/src/modules/dice/index.ts @@ -3,7 +3,7 @@ import Module from '../../module'; import Message from '../../message'; import serifs from '../../serifs'; -export default class DiceModule extends Module { +export default class extends Module { public readonly name = 'dice'; @autobind diff --git a/src/modules/emoji/index.ts b/src/modules/emoji/index.ts index 63c7d86..edf0785 100644 --- a/src/modules/emoji/index.ts +++ b/src/modules/emoji/index.ts @@ -126,7 +126,7 @@ const faces = [ '👽' ] -export default class EmojiModule extends Module { +export default class extends Module { public readonly name = 'emoji'; @autobind diff --git a/src/modules/follow/index.ts b/src/modules/follow/index.ts index a493d8b..d7e33a3 100644 --- a/src/modules/follow/index.ts +++ b/src/modules/follow/index.ts @@ -2,7 +2,7 @@ import autobind from 'autobind-decorator'; import Module from '../../module'; import Message from '../../message'; -export default class FollowModule extends Module { +export default class extends Module { public readonly name = 'follow'; @autobind diff --git a/src/modules/fortune/index.ts b/src/modules/fortune/index.ts index 10b530b..f3e54f5 100644 --- a/src/modules/fortune/index.ts +++ b/src/modules/fortune/index.ts @@ -5,7 +5,7 @@ import serifs from '../../serifs'; import * as seedrandom from 'seedrandom'; import { blessing, itemPrefixes, items } from './vocabulary'; -export default class FortuneModule extends Module { +export default class extends Module { public readonly name = 'fortune'; @autobind diff --git a/src/modules/guessing-game/index.ts b/src/modules/guessing-game/index.ts index 06bfafc..0c232fc 100644 --- a/src/modules/guessing-game/index.ts +++ b/src/modules/guessing-game/index.ts @@ -5,7 +5,7 @@ import Message from '../../message'; import serifs from '../../serifs'; import getCollection from '../../utils/get-collection'; -export default class GuessingGameModule extends Module { +export default class extends Module { public readonly name = 'guessingGame'; private guesses: loki.Collection<{ diff --git a/src/modules/keyword/index.ts b/src/modules/keyword/index.ts index 7fb6d33..7f8bd40 100644 --- a/src/modules/keyword/index.ts +++ b/src/modules/keyword/index.ts @@ -13,7 +13,7 @@ function kanaToHira(str: string) { }); } -export default class KeywordModule extends Module { +export default class extends Module { public readonly name = 'keyword'; private tokenizer: any; diff --git a/src/modules/ping/index.ts b/src/modules/ping/index.ts index 0442c29..f09f08f 100644 --- a/src/modules/ping/index.ts +++ b/src/modules/ping/index.ts @@ -2,7 +2,7 @@ import autobind from 'autobind-decorator'; import Module from '../../module'; import Message from '../../message'; -export default class PingModule extends Module { +export default class extends Module { public readonly name = 'ping'; @autobind diff --git a/src/modules/reversi/index.ts b/src/modules/reversi/index.ts index a8536be..12b4544 100644 --- a/src/modules/reversi/index.ts +++ b/src/modules/reversi/index.ts @@ -7,7 +7,7 @@ import Message from '../../message'; import Friend from '../../friend'; import getDate from '../../utils/get-date'; -export default class ReversiModule extends Module { +export default class extends Module { public readonly name = 'reversi'; /** diff --git a/src/modules/server/index.ts b/src/modules/server/index.ts index f8e891f..d25e651 100644 --- a/src/modules/server/index.ts +++ b/src/modules/server/index.ts @@ -3,7 +3,7 @@ import Module from '../../module'; import serifs from '../../serifs'; import config from '../../config'; -export default class ServerModule extends Module { +export default class extends Module { public readonly name = 'server'; private connection?: any; diff --git a/src/modules/timer/index.ts b/src/modules/timer/index.ts index a21dd72..b14d0fb 100644 --- a/src/modules/timer/index.ts +++ b/src/modules/timer/index.ts @@ -3,7 +3,7 @@ import Module from '../../module'; import Message from '../../message'; import serifs from '../../serifs'; -export default class TimerModule extends Module { +export default class extends Module { public readonly name = 'timer'; @autobind diff --git a/src/modules/valentine/index.ts b/src/modules/valentine/index.ts index 98ec0da..9bf5568 100644 --- a/src/modules/valentine/index.ts +++ b/src/modules/valentine/index.ts @@ -3,7 +3,7 @@ import Module from '../../module'; import Friend from '../../friend'; import serifs from '../../serifs'; -export default class ValentineModule extends Module { +export default class extends Module { public readonly name = 'valentine'; @autobind diff --git a/src/modules/welcome/index.ts b/src/modules/welcome/index.ts index cdc6a3a..baf6e37 100644 --- a/src/modules/welcome/index.ts +++ b/src/modules/welcome/index.ts @@ -1,7 +1,7 @@ import autobind from 'autobind-decorator'; import Module from '../../module'; -export default class WelcomeModule extends Module { +export default class extends Module { public readonly name = 'welcome'; @autobind