Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhooks #131

Merged
merged 9 commits into from
Oct 11, 2017
Merged

Webhooks #131

merged 9 commits into from
Oct 11, 2017

Conversation

TobiTenno
Copy link
Member

No description provided.

@TobiTenno TobiTenno added the Status: In Progress Work has Begun label Oct 4, 2017
build a way to send webhooks while falling back to traditional sends

fix bad function call

More webhook awesomeness

move platform to title
update syndicate description to be in the title
remove square brackets from news embed footer
webhook tweaks

tracker cleanup
@@ -4,7 +4,7 @@ const Command = require('../../Command.js');

const useable = ['room', 'raid', 'team'];

const vulgar = [];
const vulgar = ["n[i!1]gg[e3]r", "n[i!1]gg[ua]", "h[i!1]tl[e3]r", "n[a@]z[i!1]", "[©ck]un[t7]", "fu[©c]k", "[©c]umm", "f[a@4]g", "d[i!1]ck", "c[o0]ck", "boner", "sperm", "gay", "gooch", "jizz", "pussy", "penis", "r[i!1]mjob", "schlong", "slut", "wank", "whore", "sh[i!1]t", "sex", "fuk", "heil", "porn", "suck", "rape", "scrotum"];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strings must use singlequote. (quotes)

@@ -170,16 +178,23 @@ class Database {
if (res[0].length === 0) {
if (channel.type === 'text') {
await this.addGuildTextChannel(channel);
await this.setChannelSetting(channel, setting, this.defaults[`${setting}`]);
return this.defaults[`${setting}`];
return checkWebhookAndReturn(channel, setting);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'checkWebhookAndReturn' is not defined. (no-undef)

}
await this.addDMChannel(channel);
await this.setChannelSetting(channel, setting, this.defaults[`${setting}`]);
return this.defaults[`${setting}`];
return checkWebhookAndReturn(channel, setting);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'checkWebhookAndReturn' is not defined. (no-undef)

@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@WFCD WFCD deleted a comment Oct 10, 2017
@TobiTenno
Copy link
Member Author

Closing and pulling this in.

@TobiTenno TobiTenno merged commit 33ed3fa into master Oct 11, 2017
@TobiTenno TobiTenno removed the Status: In Progress Work has Begun label Oct 11, 2017
@TobiTenno TobiTenno deleted the webhooks branch October 11, 2017 13:27
@wfcd-bot-boi
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants