Added ConsoleLog module

This commit is contained in:
Lexi Sother 2021-03-01 17:25:42 +00:00
parent ed661b2ed5
commit bfc88a928a
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"main": "index.js",
"name": "ConsoleLog",
"description": "Literally a useless module",
"tags": ["test"],
"authors": ["465702500146610176"],
"version": "1.0.0"
}

14
ConsoleLog/index.js Normal file
View File

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