1
0
Fork 0
mirror of https://github.com/NovaGM/Modules.git synced 2024-08-14 22:47:01 +00:00
Modules/ConsoleLog/index.js
2021-03-01 17:47:29 +00:00

14 lines
357 B
JavaScript

import showToast from '@goosemod/toast';
export default {
goosemodHandlers: {
onImport: () => {
console.log('This is a log from ConsoleLog');
showToast('This is a toast from ConsoleLog');
},
onRemove: () => {
console.log('ConsoleLog has been uninstalled');
showToast('ConsoleLog has been uninstalled');
},
},
};