All Projects → shaykalyan → slack-ascii

shaykalyan / slack-ascii

Licence: MIT license
ASCII Emoticons for Slack!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to slack-ascii

serverless-discord-bot
A serverless Discord Bot template built for AWS Lambda based on Discord's slash commands and the slash-create library.
Stars: ✭ 37 (+146.67%)
Mutual labels:  slash-commands
slshx
⚔️ Strongly-typed Discord commands on Cloudflare Workers
Stars: ✭ 163 (+986.67%)
Mutual labels:  slash-commands
Music-Slash-Bot
A music bot written in Discord.js and Distube using the slash command
Stars: ✭ 34 (+126.67%)
Mutual labels:  slash-commands
gencord
A simple, beginner-friendly, and easy-to-use library for interacting with the Discord API, with minimal syntax.
Stars: ✭ 20 (+33.33%)
Mutual labels:  slash-commands
Discord-Template-V13
An easy-to-use discord bot including database, slash commands and context menus !
Stars: ✭ 103 (+586.67%)
Mutual labels:  slash-commands
zuly
🤖 | Hi, I'm zuly, a brazilian bot! Focused on animes!
Stars: ✭ 45 (+200%)
Mutual labels:  slash-commands
slash-commands
slash commands handler to make your bot support slash commands.
Stars: ✭ 59 (+293.33%)
Mutual labels:  slash-commands
captcha-generator
An NPM package to generate captcha images that can be used in Discord bots or various other projects
Stars: ✭ 45 (+200%)
Mutual labels:  slack
poise
Discord bot command framework for serenity, with advanced features like edit tracking and flexible argument parsing
Stars: ✭ 209 (+1293.33%)
Mutual labels:  slash-commands
dislash.py
A Python wrapper for discord slash-commands and buttons, designed to extend discord.py.
Stars: ✭ 172 (+1046.67%)
Mutual labels:  slash-commands
mammot
Discord bot Slash Command framework for TypeScript
Stars: ✭ 29 (+93.33%)
Mutual labels:  slash-commands
op-mattermost
OpenProject and Mattermost integration
Stars: ✭ 19 (+26.67%)
Mutual labels:  slash-commands
hikari
A Discord API wrapper for Python and asyncio built on good intentions.
Stars: ✭ 631 (+4106.67%)
Mutual labels:  slash-commands
DSharpPlus.SlashCommands
An extension for DSharpPlus to make slash commands easier
Stars: ✭ 46 (+206.67%)
Mutual labels:  slash-commands
DiscordBot-Template
A boilerplate / template for discord.js bots with 100% coverage of Discord API, command handler, error handler based on https://discordjs.guide/
Stars: ✭ 129 (+760%)
Mutual labels:  slash-commands
Eruditus
Discord CTF helper bot for CyberErudites
Stars: ✭ 34 (+126.67%)
Mutual labels:  slash-commands
reaction-light
Easy to use reaction role Discord bot written in Python.
Stars: ✭ 108 (+620%)
Mutual labels:  slash-commands
slack neuralyzer
Ruby gem for clean up messages and files on Slack.
Stars: ✭ 58 (+286.67%)
Mutual labels:  slack
github-issues-notice
Notify labeled issues to Slack
Stars: ✭ 20 (+33.33%)
Mutual labels:  slack
slash-command
Simple slash command parsing.
Stars: ✭ 15 (+0%)
Mutual labels:  slash-commands

slack-ascii

Don't feel like giving into the so-called emoji future?
Then try out slack-ascii to bring (╯°□°)╯︵ ┻━┻ and more to your Slack team!

Usage

Just type /ascii [keyword], and a clone of yourself will pop-in and respond with an emoticon. Use help as the keyword to get a list of available emoticons.

Installation

The overall installation process involves the following:

  • Creating a Slash Command integration to trigger slack-ascii
  • Creating an Incoming Webhook integration to receive a response from the server
  • Acquiring the Slack Web API token for your team to allow the response to mimic the user that triggered the command
  • Configuring and deploying the Heroku app to host this bot

Deploy

First, click the above deploy button to begin deployment to Heroku. Leave the configuration page open for now, and return to this page to enter the Config Variables when prompted below.

Slack Web API Token

  • In a new tab, go to https://api.slack.com/web
  • Scroll down to Authentication
  • Click on Create token next to your team
  • Copy the API Token and paste it into the Heroku app's Config Variables for SLACK_TEAM_API_TOKEN
  • Close

Incoming Webhook Setup

  • In a new tab, go to your team's integrations page https://<team>.slack.com/services/new
  • Scroll to the bottom of the page to the DIY Integrations & Customizations section
  • Click on Add next to Incoming Webhook and configure as follows:
    • Select any channel when prompted as the app will respond directly to the channel that the command originates from.
    • Copy the Webhook URL and paste it into the Heroku app's Config Variables for SLACK_HOOK_URL
    • Description: Slack ASCII Bot
    • Customize name: slack-ascii
  • Click on Save Settings and close

Slash Command Setup (I)

  • In a new tab, go to your team's integrations page https://<team>.slack.com/services/new
  • Scroll to the bottom of the page to the DIY Integrations & Customizations section
  • Click on Add next to Slash Commands and configure as follows:
    • Command: /ascii
    • URL: https://<app-name>.herokuapp.com/ where <app-name> is the name generated by Heroku (later below)
    • Method: GET
    • Tick the show this command in the autocomplete list checkbox in the Autocomplete help text section
      • Description: Gimme some ASCII action!
      • Usage hint: [keyword]
    • Descriptive Label: ASCII Emoticons for Slack
  • Copy the Token and paste it into the Heroku app's Config Variables for SLACK_SLASH_COMMAND_TOKEN
  • Leave this page open for now and carry out the deployment with Heroku

Heroku Deployment

  • Leave the App Name field blank as Heroku will generate one for you
  • Ensure all Config Variables are now populated
  • Click on Deploy for free
  • Once deployment has completed, the App Name field will be populated. Take a note of this.
  • Close

Slash Command Setup (II)

  • Update the Slash Command's URL with the updated app name following the Heroku deployment
  • Click on Save Integration and close

Phew! Now that we're done with that, your Slack ASCII integration should be all up and running. Give it a go!

Development

Environment Variables

After clicking on the "Deploy with Heroku" button, or cloning this repo, you will need to setup the following environment variables. These can either be stored in a .env file or set up as the Config Variables in Heroku.

  • SLACK_SLASH_COMMAND_TOKEN - The token from Slack's Slash Command
  • SLACK_HOOK_URL - URL for Slack's Incoming Webhook
  • SLACK_TEAM_API_TOKEN - Slack Web API token for the team
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].