{"id":29161185,"url":"https://github.com/codemeapixel/virulent","last_synced_at":"2025-07-01T03:09:44.197Z","repository":{"id":106962524,"uuid":"257231725","full_name":"CodeMeAPixel/Virulent","owner":"CodeMeAPixel","description":"A powerful JavaScript Library for the Discord API.","archived":false,"fork":false,"pushed_at":"2021-04-24T19:55:27.000Z","size":2549,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T10:50:24.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://docs.virulentjs.site/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeMeAPixel.png","metadata":{"files":{"readme":"README.mkdn","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"TheRealToxicDev","custom":"toxicdev.me"}},"created_at":"2020-04-20T09:25:35.000Z","updated_at":"2021-04-24T19:55:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f77205bf-f97d-4785-ad47-0fa313bc6143","html_url":"https://github.com/CodeMeAPixel/Virulent","commit_stats":null,"previous_names":["codemeapixel/virulent"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/CodeMeAPixel/Virulent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FVirulent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FVirulent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FVirulent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FVirulent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeMeAPixel","download_url":"https://codeload.github.com/CodeMeAPixel/Virulent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FVirulent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262887259,"owners_count":23379771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-01T03:09:43.217Z","updated_at":"2025-07-01T03:09:44.167Z","avatar_url":"https://github.com/CodeMeAPixel.png","language":"JavaScript","readme":"![](https://i.imgur.com/1gqzxVd.png)\r\n\r\n[![Build Passing](https://img.shields.io/badge/build-Passing%20-green.svg?style=flat)](https://github.com/TheRealToxicDev/Virulent) \r\n[![Node](https://img.shields.io/badge/node-v12.16.2%20-blue.svg?style=flat)](https://nodejs.org/en/) \r\n[![Version](https://img.shields.io/badge/virulent-v0.1.0-yellowgreen.svg)](https://github.com/TheRealToxicDev/Virulent)\r\n\r\nVirulent is a powerful node.js module that allows you to interact with the Discord API. Unlike other JavaScript Discord libraries Virulent takes a object-oriented yet slightly more sophisticated approach making your bot's code significantly tidier and easier to comprehend.\r\n\r\n## Installation\r\nInstall Virulent using [`github`](https://www.github.com):\r\n\r\n```bash\r\nnpm i --save github:TheRealToxicDev/Virulent\r\n```\r\n\r\nAditionally you can Install the Virulent Module via your Package.json\r\nby adding the following line under your List of Dependencies.\r\n\r\n```bash\r\n\"virulent\": \"https://github.com/TheRealToxicDev/Virulent\"\r\n```\r\n\r\nExample Package.json\r\n\r\n```bash\r\n{\r\n    \"name\": \"virulent\",\r\n    \"version\": \"1.0.0\",\r\n    \"description\": \"Official Sample Bot for the Virulent Discord Library.\",\r\n    \"main\": \"bot.js\",\r\n    \"scripts\": {\r\n      \"start\": \"node bot.js\"\r\n    },\r\n    \"engines\": {\r\n     \"node\": \"12.16.2\"\r\n  },\r\n    \"keywords\": [\r\n      \"discord\",\r\n      \"api\",\r\n      \"client\",\r\n      \"javascript\"\r\n    ],\r\n    \"author\": \"Toxic Dev\",\r\n    \"license\": \"Apache-2.0\",\r\n    \"dependencies\": {\r\n     \"virulent\": \"https://github.com/TheRealToxicDev/Virulent\"\r\n    }\r\n  }\r\n  ```\r\n\r\nOr [`npm`](https://www.npmjs.com/):\r\n\r\n```bash\r\nComing Soon (Nowhere near ready for that)\r\n```\r\n\r\n## Usage\r\nImport the required components. For example the Virulent Module requirement looks like this:\r\n```jsx harmony\r\nconst Discord = require ('virulent');\r\n```\r\nThen use it in your bots ``index.js`` as a string or callback. \r\n\r\n```jsx harmony\r\n'use strict';\r\n\r\nconst Discord = require('virulent');\r\nconst client = new Discord.Client();\r\n\r\n// Insert Ready or Message event Here.\r\n\r\nclient.login(''); // put your bot token here\r\n```\r\nUsage Ping Example\r\n```jsx harmony\r\n'use strict';\r\n\r\nconst Discord = require('virulent');\r\nconst client = new Discord.Client();\r\n\r\nclient.on('ready', async (client) =\u003e {\r\n    const self = await client.getSelf();\r\n    console.log(`${self.username}#${self.discriminator} is online !`);\r\n    await client.setPresence({ game: { name: 'Hello, World!' } });\r\n});\r\n\r\nclient.on('message', (message) =\u003e {\r\n    if (message.content.startsWith('!ping')) {\r\n        client.sendMessage(message.channel_id, {\r\n            content: 'Pong!'\r\n        }).catch(console.error);\r\n    }\r\n});\r\n\r\nclient.login(''); // put your bot token here\r\n```\r\n\r\n# Support\r\nIf you need help you can join the [Virulent Support Server](https://discord.gg/aKqSx9G)\r\nOr check out our [Documentation](https://virulentjs.site)\r\n","funding_links":["https://github.com/sponsors/TheRealToxicDev","toxicdev.me"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemeapixel%2Fvirulent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemeapixel%2Fvirulent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemeapixel%2Fvirulent/lists"}