mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
feat: add donate command to support the developer
This commit is contained in:
17
website/scripts/commands/donate.js
Normal file
17
website/scripts/commands/donate.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Donate command - Support the developer
|
||||
*/
|
||||
export default {
|
||||
description: 'Support via donation',
|
||||
execute: () => {
|
||||
return [
|
||||
'',
|
||||
' If you enjoy what I do, consider buying me a iced coffee!',
|
||||
'',
|
||||
' 💳 Donate: https://donate.stripe.com/9AQdRv6ttfv40Ra289',
|
||||
'',
|
||||
' Your support allows me to continue developing and maintaining my projects, and is greatly appreciated!',
|
||||
''
|
||||
].join('\r\n');
|
||||
}
|
||||
};
|
||||
@@ -11,6 +11,7 @@ import bannerCmd from './scripts/commands/banner.js';
|
||||
import githubCmd from './scripts/commands/github.js';
|
||||
import contactCmd from './scripts/commands/contact.js';
|
||||
import privacyCmd from './scripts/commands/privacy.js';
|
||||
import donateCmd from './scripts/commands/donate.js';
|
||||
import blueskyCmd from './scripts/commands/bluesky.js';
|
||||
import numbermatchCmd, { gameMode, processGameInput, handleTileClick } from './scripts/commands/numbermatch.js';
|
||||
import samsayCmd from './scripts/commands/samsay.js';
|
||||
@@ -544,6 +545,10 @@ const commands = {
|
||||
description: privacyCmd.description,
|
||||
execute: (args) => privacyCmd.execute(term, writeClickable, VERSION, args, commandHistory)
|
||||
},
|
||||
donate: {
|
||||
description: donateCmd.description,
|
||||
execute: (args) => donateCmd.execute(term, writeClickable, VERSION, args, commandHistory)
|
||||
},
|
||||
bluesky: {
|
||||
description: blueskyCmd.description,
|
||||
execute: async (args) => await blueskyCmd.execute(term, writeClickable, VERSION, args, commandHistory)
|
||||
|
||||
Reference in New Issue
Block a user