thebastionbot / bastion Goto Github PK
View Code? Open in Web Editor NEW🚀 Get an enhanced Discord experience!
Home Page: https://bastion.traction.one
License: GNU General Public License v3.0
🚀 Get an enhanced Discord experience!
Home Page: https://bastion.traction.one
License: GNU General Public License v3.0
kitsu.js is deprecated in favour of the more feature complete kitsu package that is fully JSON-API compliant.
Based on your current usage, search implementation would be something like:
import Kitsu from 'kitsu'
const kitsu = new Kitsu()
const { data: manga } = await kitsu.fetch('manga', {
filter: {
text: args.name
},
// Reduce the response to only fields you require (not required, but great to do)
fields: {
manga: 'posterImage,startDate,endDate'
}
})
dev
branch[ The #!musicMasterRole #command is not working. ]
Actual behavior:
[ Nothing ]
Reproduces how often:
[ N/A ]
Any additional information, screenshots, configuration or data that might be necessary to reproduce the issue.
npm
version: dev
branchThis is the error i get whenever i use it, it only started to do it when i linked it to a channel,
Also the part where it said "Test" is when i get the issue, if i do it in a line it works fine, but the moment it creates a new line is when i start to get the errors
Example !announce Hello world. (Works fine
Example !Announce
Hello world. (does not work)
But i was able to do the 2nd example before perfectly fine
Then i done !announcementChannel [channel name] and now i cant do an announcement like i did the 2nd example (Top picture)
!announcementChannel
command!announce line1
line2
Expected behavior:
It should post the announcement message.
Actual behavior:
The error you get when trying is this:
{ SyntaxError: Invalid or unexpected token
at Client._eval (D:\Discord Bots\Bastion\node_modules\discord.js\src\client\Client.js:493:17)
at ShardClientUtil._handleMessage (D:\Discord Bots\Bastion\node_modules\discord.js\src\sharding\ShardClientUtil.js:109:76)
at emitTwo (events.js:131:20)
at process.emit (events.js:214:7)
at emit (internal/child_process.js:772:12)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9) name: 'SyntaxError' }
Trace
at Object.exports.error.message [as error] (D:\Discord Bots\Bastion\handlers\logHandler.js:31:11)
at Object.exports.run (D:\Discord Bots\Bastion\modules\owner\announce.js:63:17)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
[/ERROR]
Reproduces how often:
100% of the time.
Any additional information, screenshots, configuration or data that might be necessary to reproduce the issue, if any.
6.0.0
Windows 10 x64-bit
8.9.0
5.5.1
dev
branchThe #!trivia command only accepts "true" and "false", despite instructing to "Reply with either True/False within 60 seconds."
Expected behavior:
If your answer is correct, it should say "you are absolutely right."
Actual behavior:
It does not recognize "True" or "False" as valid answers, so it says "you're wrong" even if you are right.
Reproduces how often:
Every time you use "True" or "False".
Any additional information, screenshots, configuration or data that might be necessary to reproduce the issue.
dev
branchTriggers are case sensitive.
addTrigger
commandExpected behavior:
It should give the response of the trigger even if the trigger was in different case
Actual behavior:
It doesn't send the response if the message is different than the original case of the trigger
Reproduces how often:
100%
No additional info.
6.3
9.1.0
5.5.1
The mutual server count that was added in this release shows a wrong amount of mutual servers
uinfo
commandv6.8.0
v8.9.4
npm
version: v5.5.1
Change the default install location of bastion.
Install bastion to %userprofile%
by default, rather than desktop.
Installing bastion by default to %userprofile%
will prevent accidental deletion or modification. Saw it happening to some users.
yeah, I can do it myself.
Users can react to the message specified to be assigned to a role. They can also remove that reaction to be remove from the assisigned role.
It will make discord server cleaner without using the "#!iAm" command
Kinda
Don't understand this question
Buyable roles
a command string such as #!sellRole -(role ID) -(price in BC) then a roll can be bought with something like #!buyRole (role name). A command like #!buyableRoles could be use to show the listing of roles and their prices.
as of currently it will make the currency more interactive for my community, being that there is not really much of a functional use for it
it is similar to the gift shop feature
If I could get it as a private feature i would be just as happy but i dont know coding.
Add mutual servers section to the userInfo command. It will show the no of servers the user share with the bot.
It can help us in finding how many servers we share with Bastion.
no
It can be done something like
function findMutualServers(user_id) {
return client.guilds.filter(guild => {
if(guild.members.find("id",user_id)) return guild;
}).size;
}
book
command
A command to get details of a book/novel. Details can include author, a summary, etc.
Will be very useful while chatting with a friend and you want to suggest a book to them, you can directly use the command to suggest the book rather than doing an internet search and finding the right site for it and linking to it.
No. Maybe movie
and tvShow
is somewhat similar.
Yeah
At least I am not being given a help message or any kind of response to the command
Able to specify time with the poll command
Would be helpful for short running polls
yes, a lot of other commands support custom time
hopefully
If a page has redricet bot will post auto ⚠ This Page Has Redrects The link : x Redricets to: y
Prevent to gettşng hacked or mining etc
No
Yes
The sinfo
command isn't showing the server emojis if a server has animated emojis.
sinfo
command in a server that has animated emojis6.6.2
8.9.4
npm
version: 5.6.0
The claim
/daily
command isn't working without the patreon api keys. this is supposed to be optional but it isn't. it crashes with 401
error.
claim
/daily
command.npm
version: v5.6.0title says it all
When server members buy roles from the role store, the server gets paid.
If server members get paid from sales of roles in their server, the server owner will benefit and can get more bastion currencies.
Will encourage server owners in selling roles to make more bastion currencies.
No
Yes
So i was using the welcome command today and i have used other bots where you can do this type in command like - imgur link :https://imgur.com/a/u8AKC, to like mention the user when they join i think it would be cool to see this come to bastion
EG - {user}, Welcome to {server}! Have a great time here, just remember to read and understand #info-rules 😉 !
wget https://raw.githubusercontent.com/TheBastionBot/Bastion-Scripts/master/BastionInstaller.sh && chmod +x BastionInstaller.sh
wget: not an http or ftp url: https://raw.githubusercontent.com/TheBastionBot/Bastion-Scripts/master/BastionInstaller.sh
Bastion bot will be delete emoji spams
No emoji spam while chatting no more annoying emoji spams while you talking
No
Maybe, Hopfull
It's been happening since Bastion v2.0.0
. In discord.js support server i found that it's bug in discord.js v11.1.0
.
dev
branchWhen the overwatch
command is used for any player who does not have any stats, the stats are shown as undefined
. This is a recent issue, it was not happening in older versions of Bastion.
overwatch
command for a new user or for someone who does not have any stats.Expected behavior:
Showing N/A
or Not Available
or something easily understandable is a better choice.
Actual behavior:
The output shows undefined
.
Reproduces how often:
Everytime
No additional information.
5.2
Ubuntu 16.04 64-bit
9.0.0
5.5.1
@Bastion
@Bastion is what it should look like, no response between
npm
version: 5.5.1Server owner or adminsastior perm wo has can be use! #!dismodule it will close that module for that guild
For who want use some modules in their server and not want to host themself for close modules
Yes
No
It would be nice to be able to delete a playlist:
"! playlist [name_of_playlist] remove"
easier to remove playlist
yeah, a lot of other commands
no
dev
branchUsing the #!airhorn command in Bastion's Testing server doesn't actually join a voice channel, but if you're not in a voice channel it will tell you to join one.
Expected behavior:
I expect the bot to join the voice channel and do whatever the command does.
Actual behavior:
Doesn't return any output.
Reproduces how often:
100%
Here's a GIF of the error; https://i.jellz.me/9ae9f18ab1.gif
title says it all
the commands command will output the same thing, regardless of if a module is specified or not
run commands, then run commands with a module
eg commands moderation
tested on self host and official discord server one
npm
version:Bastion bot will be delete embeds if send from selfbots
Prevent selfbots sends embed in servers
No
Yes
Auto mod : Auto delete attachment/embed cooldown message spam
Anti spam
No
Yes
Prevent to mention spam bot will delete the mention spam and say in channel sorry a user mention spammed i delete (bcz of thats will be confusing pinged but no message for that a info message) after delete spam it will do the action (which is a command #!mentionSpamAction <KİCK/BAN/DELETE/WARN>)
Prevent to mention spam! Make the spammers ban kick or warn
No
Yes
dev
branchUnable to install the youtube-dl
dependency.
node_modules
foldernpm install
or while simply installing youtube-dl
(npm install youtube-dl
)Expected behavior:
This should install all the dependencies successfully
Actual behavior:
The youtube-dl
dependency is unable to install and causes the problem while running Bastion.
Reproduces how often:
100%
The error output:
C:\Users\Midnight\Desktop\Bastion>npm install youtube-dl
> [email protected] postinstall C:\Users\Midnight\Desktop\Bastion\node_modules\youtube-dl
> node ./scripts/download.js
Error: Could not find download link in https://rg3.github.io/youtube-dl/download.html
at Request.get [as _callback] (C:\Users\Midnight\Desktop\Bastion\node_modules\youtube-dl\lib\downloader.js:64:31)
at Request.self.callback (C:\Users\Midnight\Desktop\Bastion\node_modules\request\request.js:186:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request.<anonymous> (C:\Users\Midnight\Desktop\Bastion\node_modules\request\request.js:1163:10)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at IncomingMessage.<anonymous> (C:\Users\Midnight\Desktop\Bastion\node_modules\request\request.js:1085:12)
at Object.onceWrapper (events.js:314:30)
at emitNone (events.js:110:20)
+ [email protected]
added 59 packages in 6.339s
5.0.0
All
8.5.0
5.3.0
Bastion doesn't notify the server whenever a followed twitch streamer goes live.
Hello,
please add a moderator role which can use all Moderative Commands or add at the config.json something to set the permissions needed for a specified command.
Here an example:
Permissions
{
TextMute
: CREATE_INSTANT_INVITE
,
},
Regards,
BLOCKSTORM_
dev
branch[ deletechannel fails to delete channels ]
Expected behavior:
[ the channel getting deleted ]
Actual behavior:
[ nothing, see error below ]
Reproduces how often:
[ every time so far, around 10 times ]
Any additional information, screenshots, configuration or data that might be necessary to reproduce the issue.
dev
branchWhen using userID's instead of mentions, the bot outputs a different last seen time (5 days instead of 0 seconds for example)
lastSeen
command with usermentiongoto
step 1Expected behavior:
Should show the last time user sent a message in Discord.
Actual behavior:
Sometimes states correct output, sometimes none at all, or whole days ago.
Reproduces how often:
Every so often (3 of 5 results average)
N/A
v6.3.2
Okay so i am not sure if this is a bug or not but when you do the Overwatch command and it gives the stats of the player it doesn't show the proper level of someone
For instance I'm '111' on Overwatch but when i use the stats command it only shows my level to be 11 and not '111'
Not sure if this is a bug or not but thought id report it just in case.
When Updating Bot To lasted version the Database
is reseting also bastion.sqlite
file gone all database is gone
Multiple playing status. auto update the playing with status of bastion from a given no. of status
It will help us in circulating multiple messages through the status itself
no
hopefully
Sometimes, when chatting with Bastion, the typing event starts and doesn't stops. I've tested it multiple times, and it happens when Cleverbot API doesn't send any response.
chat
command.v6.6
v8.9.3
npm
version: v5.5.1
Cleverbot API sends empty responses, sometimes. It's a known issue: https://www.npmjs.com/package/cleverbot-node
promo codes on Bastion Curency bot owner can do !addpromo <currency count>
bastion will be male a random promo code that currency has and !promoapply<code>
it will give <cırrency count> yo user
Able to giveaway on website or like a twitter or youtube etc
No
No
When I try to run npm i
:
npm ERR! No valid versions available for gamequery
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-08-18T04_39_56_026Z-debug.log
Moderation Case number search, by using#!list cases you get a list of cases and its action
or #!case [number] for easy searching [it reproduces the Modlog in the chat the command is given]
Better errorcorrecting and moderation guildwide
Not that I know of, but is similar/ in conjunction with the #! reason command [plausibly give this command case number support aswell if it doesnt already
No
The Title says all , it would be more good bcz ita anmoying if forgot to unmute them
It will make users more good moderation no need remember unmute users anymore!
Yes
Yes
Users can react to the message specified to be assigned to a role. They can also remove that reaction to be remove from the assisigned role.
It will make discord server cleaner without using the "#!iAm" command
Kinda
Don't understand this question
Use user IDs in give
command.
Using user IDs in give
command, like other commands (userInfo
, profile
, etc.), to give bastion currencies.
This will make it better as it won't mention anyone and mentioning users is a bit annoying.
userInfo
, roleInfo
, profiles
, etc.
Yeah
Twitch wont announce when a streamer goes live, it shows they are streaming but bastion won't announce to a channel
A complete description of how to reproduce the problem.
npm
version: 5.6.0the textmute
command requires manage roles perms, i think that should have a less restrictive perms requirement. maybe some other commands that need admin perms should have at most manage guild perms.
if the perms are less restrictive then it may benefit mods of a server a lot. and if this is implemented, this should also close #131
yeah
yeah.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.