npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gameway-discord-bot

v1.0.9

Published

Discord Bot for the Gameway Discord Server

Downloads

12

Readme

Gameway Discord Bot

Discord Bot for Gameway:

  • Multiple Language Support
  • Text To Image Filter
  • Profanity Filter

Installation

$ git clone https://github.com/JustinBack/gameway-discord.git

Now run index.js to initialize everything

Methods:

$ npm start

Or

$ node index.js

Now you will see the following output:

LOG [2017-10-31 15:58:55]  Bot starting...
ERROR [2017-10-31 15:58:55]  Missing conf/TOKEN file! Created...

Head over to conf/ and open the TOKEN file, insert your bot token there.

Start the bot again

Methods:

$ npm start

Or

$ node index.js

If everything worked you will see this:

LOG [2017-10-31 15:59:24]  Bot starting...
LOG [2017-10-31 15:59:24]  Found conf/TOKEN...
LOG [2017-10-31 15:59:24]  Bot Connected | Now listening to messages

Hint: You can run the bot in the background using npm run background_start Available Scripts:

  • background_start
  • background_stop
  • background_restart

Configuration

You can configure the bot with files available in the conf/ folder.

bot.json

bot.json is the main bot configuration

| Key | Type | Description | Default Value | ------------- | ------------- | ------------- | ------------- | | bot_status | String | Game of the Bot | None | | command_prefix | String | Command Prefix of the Bot | !gway | | bot_language | String | Debug and Bot Language | en_US | | url_regex_1 | String | URL Filter Regex | (https?:\/\/(.+?\.)?discord\.gg(\/[A-Za-z0-9\-\.~:\/\?#\[\]@!$&'\(\)\\+,;\=])?) | | url_regex_1_2 | String | URL Filter Regex |(https?:\/\/(.+?\.)?disc0rd\.gg(\/[A-Za-z0-9\-\.~:\/\?#\[\]@!$&'\(\)\\+,;\=])?) | | url_regex_2 | String | URL Filter Regex | (https?:\/\/(.+?\.)?discordapp\.com(\/invite\/[A-Za-z0-9\-\.~:\/\?#\[\]@!$&'\(\)\\+,;\=])?) | | url_regex_2_1 | String | URL Filter Regex | (https?:\/\/(.+?\.)?disc0rdapp\.com(\/invite\/[A-Za-z0-9\-\.~:\/\?#\[\]@!$&'\(\)\\+,;\=])?) | | url_regex_2_2 | String | URL Filter Regex | (https?:\/\/(.+?\.)?disc0rdapp\.c0m(\/invite\/[A-Za-z0-9\-\.~:\/\?#\[\]@!$&'\(\)\\+,;\=])?) | | url_regex_2_3 | String | URL Filter Regex | (https?:\/\/(.+?\.)?discordapp\.c0m(\/invite\/[A-Za-z0-9\-\.~:\/\?#\[\]@!$&'\(\)\\+,;\=])?) | | url_regex_3 | String | URL Filter Regex | discord.gg | | url_regex_4 | String | URL Filter Regex | discordapp.com/invite | | debug_show_messages | Boolean | Show if you have received a message in the console | false | | allowed_extensions | Array | Allowed Extensions for the PTT | ["jpg", "jpeg", "png"] GIFs are not possible to transcribe! | | authorized_users | Array | Allowed Users for special commands | ["253160415947653120"] | | application_database_name | String | Name for the Database where applications are being inserted | applications | | application_database_prefix | String | Prefix for the Database where applications are being inserted | gw_ |

server.json

server.json contains some ID's of the Gameway Server such as Role ID's or the Server ID itself

| Key | Type | Description | Default Value | ------------- | ------------- | ------------- | ------------- | | gameway_server_id | String | Gameway Discord Server ID | 306442255009447944 | | gameway_stranger_role_id | String | New User Role ID | 350544575410077696 | | gameway_introduction_channel_id | String | Channel where Join message is being sent | 306442255009447944 | | gameway_applications_channel_id | String | Channel where Applications are being sent | 375350842842284042 |

Translate

Translating the Bot is very easy! Head to lang/ copy the contents of the en_US.json file, create a new file your_language.json, paste it and translate! Make sure to reflect your changes in the conf/bot.json.

License

MIT License

Copyright (c) 2017 Justin Back

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.