-
Notifications
You must be signed in to change notification settings - Fork 40
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
Conversation
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
src/commands/Rooms/Create.js
Outdated
@@ -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"]; |
There was a problem hiding this comment.
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)
src/settings/Database.js
Outdated
@@ -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); |
There was a problem hiding this comment.
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)
src/settings/Database.js
Outdated
} | ||
await this.addDMChannel(channel); | ||
await this.setChannelSetting(channel, setting, this.defaults[`${setting}`]); | ||
return this.defaults[`${setting}`]; | ||
return checkWebhookAndReturn(channel, setting); |
There was a problem hiding this comment.
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)
Closing and pulling this in. |
🎉 This PR is included in version 1.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
No description provided.