This commit is contained in:
Fran Jurmanović
2022-03-10 18:53:49 +01:00
commit 6ef57924ea
22 changed files with 2084 additions and 0 deletions

11
modules/Common.module.ts Normal file
View File

@@ -0,0 +1,11 @@
import { Message } from "discord.js";
import { APP_VERSION } from "../constants";
class CommonModule {
constructor() {}
public showVersion = (message: Message): void => {
message?.channel?.send?.(`Current version of the Monke BOT is ${APP_VERSION}.`);
};
}
export default CommonModule;

1
modules/index.ts Normal file
View File

@@ -0,0 +1 @@
export { default as CommonModule } from "./Common.module";