Skip to content

Commit

Permalink
Merge pull request #391 from DeltriDev/testing
Browse files Browse the repository at this point in the history
Added a slash command for explaining link trackers
lenscas authored Aug 11, 2024
2 parents a0ee29a + a244801 commit a9b89c9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/commands/oftenAsked/trackers.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { create_command } from '../../command';

const message = `The **si=** is the tracking part of the URL and if you remove it it tracks less people.
With **si=** it makes it roughly the same length as a **youtube.com** URL *(and the whole point of youtu.be is to be __shorter__)*`;

export const command = create_command(
async () => message,
'Explains how and why to remove youtube tracking (so Greenfoot doesnt have to)',
['url', 'youtube'],
undefined,
undefined,
{
config: (x) => x.toJSON(),
func: async () => ({ ephemeral: false, content: message }),
},
);

0 comments on commit a9b89c9

Please sign in to comment.