🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

loritta

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loritta

```js const { loritta } = require("loritta"); const { Client } = require("discord.js"); const client = new Client({ partials: { modules: loritta.extended, }, });

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Loritta

Instale a loritta e use no seu bot do discord! Pode ser em discord.js

const { loritta } = require("loritta");
const { Client } = require("discord.js");
const client = new Client({
	partials: {
		modules: loritta.extended,
	},
});

client.on("message", async (message) => {
	const verify = await loritta.check(message);
	if (verify) {
		loritta.commands.run(message);
		loritta.cooldown.add(message);
	}
});

client.login("seu token");

Website:

<!DOCTYPE html>
<html>
	<body>
		<script src="loritta.kt"></script>
	</body>
</html>

FAQs

Package last updated on 13 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts