New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

amtixdev-run

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

amtixdev-run

amtixdev-run is an npm package that provides classes for creating and managing Discord bots, handling user-related functionalities, and automating reactions and actions in Discord servers.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

amtixdev-run

Description

amtixdev-run is an npm package that provides classes for creating and managing Discord bots, handling user-related functionalities, and automating reactions and actions in Discord servers.

Installation

To use amtixdev-run in your project, install it via npm:

npm install amtixdev-run

Usage

Example Usage of userAccount

const { userAccount } = require('amtixdev-run');

// Instantiate userAccount with your Discord client and Discord.js
const userAccountManager = new userAccount(client, Discord);

// Use the methods of userAccount as needed
userAccountManager.autoReaction({
  channel: 'CHANNEL_ID',
  user: 'USER_ID',
  token: 'YOUR_DISCORD_TOKEN',
  reactionName: '🎉',
  timeout: 5000,
  blacklistedwords: ['blacklist1', 'blacklist2']
});

userAccountManager.leveling({
  channel: 'CHANNEL_ID',
  randomLetters: false,
  time: 15000,
  type: 'eng'
});

Example Usage of botAccount

const { botAccount } = require('amtixdev-run');

// Instantiate botAccount with your Discord client and Discord.js
const botAccountManager = new botAccount(client, Discord);

// Use the broadcast method to send messages to users
botAccountManager.broadcast({
  ownerId: ['OWNER_ID_1', 'OWNER_ID_2'],
  prefix: '!',
  embedReply: 'Made by amtixdev-run.',
  mention: false,
  type: 'all' // or 'online'
});

Events

GetBotToken

The GetBotToken event is emitted by the createBot class when the bot's token is retrieved successfully after creation. You can listen for this event and handle the token as needed.

const { amtixdev } = require('amtixdev-run');
// Listen for the GetBotToken event
amtixdev.on('GetBotToken', (token) => {
  console.log(`Bot token retrieved: ${token}`);
});

Contributing

Feel free to contribute to this package by opening issues or pull requests. Your feedback and contributions are highly appreciated.

License

This package is licensed under the MIT License.

Keywords

amtixdev

FAQs

Package last updated on 12 May 2024

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