Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iwa authored Sep 17, 2020
2 parents a87c53a + 0534422 commit 22bfe67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 61 deletions.
59 changes: 0 additions & 59 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kwako",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "build/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Kwako.on('message', async (msg: Message) => {
return suggestion(msg, Kwako.patrons.has(msg.guild.ownerID));

if (!msg.content.startsWith(guildConf.prefix)) {
if(msg.mentions.has(Kwako.user.id))
if(msg.mentions.has(Kwako.user.id) && !msg.mentions.everyone)
return msg.channel.send({'embed':{
'title': 'My prefix here is:',
'description': `\`${guildConf.prefix}\``
Expand Down

0 comments on commit 22bfe67

Please sign in to comment.