Skip to content

Instantly share code, notes, and snippets.

View vidanov's full-sized avatar

Alexey Vidanov vidanov

View GitHub Profile
@vidanov
vidanov / api_search
Created September 21, 2018 17:18
bottalk search in API request
params = {
RequestItems: {},
};
params.RequestItems[process.env.BlamG2Table]=[];
var i=0;
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetObject"
],
"Resource": [
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DelegateS3Access",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::12345678910:root"
},
"Action": [
'use strict';
const Alexa = require('ask-sdk-v1adapter');
const APP_ID = undefined;
/***********
Data: Customize the data below as you please.
***********/
const SKILL_NAME = "Five Minute Recipes";
const STOP_MESSAGE = "See you next time.";
'use strict';
const Alexa = require('ask-sdk-v1adapter');
const APP_ID = undefined;
/***********
Data: Customize the data below as you please.
***********/
const SKILL_NAME = "Quickmeal";
const STOP_MESSAGE = "See you next time.";
// This tutorial story is intended to represent the breadth of what the framework can do.
@start
*say
Welcome to the Skill Flow Builder. Let's get to know each other.
What is your name?
*show
title:'Skill Flow Builder'
subtitle:'Welcome to Skill Flow Builder!'
*then
slot playerName as 'AMAZON.US_FIRST_NAME'
'use strict';
const Alexa = require('ask-sdk');
const Util = require('util.js');
/***********
Data: Customize the data below as you please.
***********/
const SKILL_NAME = "Am I A Toaster";
const {App} = require('@slack/bolt');
const dotenv = require('dotenv').config();
// START APP
const app = new App({
token: process.env.TOKEN,
signingSecret: process.env.SIGNING_SECRET
});
app.use(pre); // PRE HOOKS FOR EVERY REQUEST
This file has been truncated, but you can view the full file.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BUILT_IN_INTENT_UTTERANCES = {
"en": {
"AMAZON.CancelIntent": [
"cancel",
"cancel alexa",
"cancel cancel cancel",
"cancel no",
"cancel that",