What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-28 05:30:02
args slice discord.js
const args = message.content.slice(prefix.length).trim().split(/ +/g); const command = args.shift().toLowerCase(); if (command === "RandomCommand") { let firstArgs = args[0]; //first argument let secondArgs = args[1]; //second argument i... Add solution -
TypeScript 2022-02-22 21:20:03
mat input datetime-local now
@Component({ selector: 'app', template: `<input type="datetime-local" [value]="date" (change)="date=$event.target.value" /> {{date}}` }) export class AppComponent { date: string; constructor(... Add solution -
-
Javascript 2022-02-09 21:55:08
how to make data title case in discord js
function titleCase(str) { return str .split(' ') .map((word) => word[0].toUpperCase() + word.slice(1).toLowerCase()) .join(' '); } console.log(titleCase("I'm a little tea pot")); // I'm A Little tea Pot Add solution
Best helpers
Ranking is empty