legica
This commit is contained in:
11
modules/Common.module.ts
Normal file
11
modules/Common.module.ts
Normal 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
1
modules/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default as CommonModule } from "./Common.module";
|
||||
Reference in New Issue
Block a user