GithubHelp home page GithubHelp logo

firediscordbot / bot Goto Github PK

View Code? Open in Web Editor NEW
376.0 9.0 76.0 65.02 MB

A Discord bot for all your needs. With memes, utilities, moderation & more, Fire is the only bot you'll need.

Home Page: https://getfire.bot/

License: GNU Affero General Public License v3.0

TypeScript 99.78% JavaScript 0.17% Dockerfile 0.05%
discord discordapp discord-api hacktoberfest bot discord-bot typescript typescipt discord-js discordjs

bot's Introduction

bot's People

Contributors

botatooo avatar brunohpaiva avatar chachydev avatar commanderroot avatar commandtechno avatar cubxity avatar dejaydev avatar dependabot[bot] avatar djtheredstoner avatar funwaa avatar gaminggeek avatar gegdev avatar kierandrewett avatar lowercasebtw avatar reddaedalus avatar sk1erprogrammingchannel avatar tandpfun avatar userteemu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bot's Issues

/color Suggestion

Add decimal to one of the hex conversions thing on /color

My english is bad.

Help Slash Command Consistently Fails

Sentry Issue: FIRE-3T2

DiscordAPIError: Unknown Channel
  File "/home/geek/Fire/lib/rest/RequestHandler.ts", line 290, in RequestHandler.execute
    throw new DiscordAPIError(
  File "/home/geek/Fire/lib/rest/RequestHandler.ts", line 57, in RequestHandler.push
    return await this.execute(request);
  File "/home/geek/Fire/lib/extensions/buttonMessage.ts", line 184, in Function.sendWithButtons
    return await (channel.client as Fire).req
  File "/home/geek/Fire/src/commands/Main/help.ts", line 172, in Help.sendHelp
    return await ButtonMessage.sendWithButtons(message.channel, null, {
  File "/home/geek/Fire/src/commands/Main/help.ts", line 36, in Help.exec
    if (typeof args.command == "undefined") return await this.sendHelp(message);
...
(5 additional frame(s) were not displayed)

Replying to a non-existent message results in DiscordAPIError

Sentry Issue: FIRE-3HK

DiscordAPIError: Invalid Form Body
message_reference: Unknown message
  File "/home/geek/Fire/lib/rest/RequestHandler.ts", line 282, in RequestHandler.execute
    throw new DiscordAPIError(
  ?, in runMicrotasks
  File "/home/geek/Fire/lib/rest/RequestHandler.ts", line 54, in RequestHandler.push
    return await this.execute(request);
  File "/home/geek/Fire/src/commands/Moderation/unmute.ts", line 56, in Unmute.exec
    return await message.error(`UNMUTE_FAILED_${unmuted.toUpperCase()}`);
  File "/home/geek/Fire/lib/util/commandhandler.ts", line 42, in CommandHandler.runCommand
    const ret = await command.exec(message, args);
...
(3 additional frame(s) were not displayed)

Cannot be fixed fully until discordjs/discord.js#5298 is merged, but a hotfix will be made to catch the error and send normally, unfortunately requiring two requests to send one message.

[SUGGESTION] Log server avatar updates

Is your feature request related to a problem? Please describe.
Server avatar updates are not logged in audit logs.

Describe the solution you'd like
For them to be logged in moderation logs.

Additional context
image
image
image

Incorrect log when disabling welcome screen

When disabling the welcome screen for a server, the logs will say that a removed feature was "Welcome Screen Enabled", instead of saying that the removed feature was the "Welcome Screen". Same goes for enabling the welcome screen.

image

[SUGGESTION] Welcome message embed

Is your feature request related to a problem? Please describe.
I'm always frustrated when [...] no welcome embed

Describe the solution you'd like
welcome message embed

Describe alternatives you've considered
sobbing

Additional context
he do not sing if i give javascript object notation

[SUGGESTION] Lyrics command.

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
A lyrics command using the MusixMatch API.

Describe alternatives you've considered
N/A

Additional context
N/A

[BUG] Emojis don't display in slash commands

Describe the bug

When you use a slash command that has a success or error message, the emoji does not appear you just see :emojiname:.

To Reproduce

Use a slash command like /public

Expected behavior

The emojis should appear like they do in normal commands.

Screenshots

image

Discord & device versions

  • Windows 10 OS Version 2004 (Build 19041.928)
  • Stable 83040 (f19e353)

Additional context

[BUG] When using Hytilities Reborn with the Log Scanner, it thinks it’s normal hytilities.

Describe the bug
When uploading a log using Fire’s log scanning feature, if you are using Hytilities Reborn with the classpath net.wyvest.hytilities, Fire thinks that you are using normal Hytilities, and displays the error message:

  • Hytilities is no longer supported and may break at any time due to changes made by Hypixel, use at your own risk

To Reproduce
Use Hytilities Reborn, and upload an error log.

Expected behavior
No message shown.

Screenshots
N/A

Discord & device versions

App: 106.0 (Build 29538) stable; Build Override: N/A; Device: iPad13,4 OS 15.2;

Additional context
N/A

Deleting a stage channel invite causes Fire to crash

Sentry Issue: FIRE-3DH

TypeError: Cannot read property 'id' of undefined
  File "/media/geek/Gukky/Projects/Fire/node_modules/discord.js/src/managers/ChannelManager.js", line 23, in ChannelManager.add
    const existing = this.cache.get(data.id);
  File "/media/geek/Gukky/Projects/Fire/node_modules/discord.js/src/structures/Invite.js", line 95, in Invite._patch
    this.channel = this.client.channels.add(data.channel, this.guild, false);
  File "/media/geek/Gukky/Projects/Fire/node_modules/discord.js/src/structures/Invite.js", line 15, in new Invite
    this._patch(data);
  File "/media/geek/Gukky/Projects/Fire/node_modules/discord.js/src/client/actions/InviteDelete.js", line 15, in InviteDeleteAction.handle
    const invite = new Invite(client, inviteData);
  File "/media/geek/Gukky/Projects/Fire/node_modules/discord.js/src/client/websocket/handlers/INVITE_DELETE.js", line 4, in Object.module.exports [as INVITE_DELETE]
    client.actions.InviteDelete.handle(packet.d);
...
(5 additional frame(s) were not displayed)

[SUGGESTION] Reaction Roles with buttons

Is your feature request related to a problem? Please describe.
Not a problem at all

Describe the solution you'd like
Like currently reaction roles are all reactions and there's button in discord now and it will be pog to have it with reaction roles.

Describe alternatives you've considered
Reaction roles with button idk what to fill here

Additional context
You can do it coz ur Geek i know you can.

[SUGGESTION] Discord Activity command

Is your feature request related to a problem? Please describe.
Nope :D

Describe the solution you'd like
An activity command that allows you to play a discord activity (YouTube Together, Fishington.io, etc.) in a voice channel

Describe alternatives you've considered
I have a bot that does this but it would be nice if it was in Fire.

Additional context
D4B444EB-F1E6-4F04-9DEF-95E9D7E92BD5

[SUGGESTION] Quoting privacy setting

Is your feature request related to a problem? Please describe.
I want to be able to cross server quote my friend's messages but they don't want their discord tag shown.

Describe the solution you'd like
A way to opt to have it so when your messages are quoted it does not show your username or avatar. It would also be useful if a server admin could opt an entire server out of having their messages quoted cross server, with or without the discord tag showing.

/logging doesn't work

image
Whenever I select the members logging type when using the slash command, it will say it's not a valid logging type. The same thing happens with the other 2 types.
image

Unit conversion command [SUGGESTION]

Overview: I'd like a unit conversions commands please

Explanation: Make a command that's like "fire convert 300ml l" and it returns "0.3L"

Alternatives: None, I would never consider anything outside of Best Bot (and google but that's inconvenient when I just want quick conversion when I'm on Discord)

Additional notes: Maybe just a calculator command in general but not as much

[SUGGESTION]

The problem that’s recently plagued hundreds of thousands of Discord users and servers, scam links that contain the ability to repost themselves infinitely, are a menace that need to be stopped.

Now, with Fire, a scamlink blocker could be implemented, running off of a database potentially such as the one found inthis database for @Lisenaaaa’s Rain-TEMP bot, that does the following:

1: Blacklisted link is sent
2: Fire detects said blacklisted link
3: Fire deletes message(s) containing blacklisted link
4: Fire does one of the following, based on user configuration by /spamlink
4a: Temporarily mute member who sent the link, default time is 15 minutes but can be changed in /spamlink mutetime
4b: Temporarily ban the member who sent the link, default time is again 15 minutes but user-configurable via /spamlink bantime
4c: Permanently ban the user who sent the link, enabled by setting /spamlink bantime to 0

Some alternative bots that already do this (that I know of) include @Lisenaaaa’s Rain-TEMP bot. That’s all

I don’t really have a context screenshot, but just look around discord DMs and whatnot. You’ll find a “Free nitro at deezcord.gg/nuts” link somewhere

[SUGGESTION] Ticket transcripts and Logs

Is your feature request related to a problem? Please describe.
Not really.

Describe the solution you'd like
I would like there to be a setting where Fire automatically logs and transcripts tickets after you close them (possibly in hastebin)

Describe alternatives you've considered
Fire transcripts logs and sends them to the creator of the log but it would be nice if Fire also gave an option to save the ticket transcript in the Ticket category.

Additional context
Add any other context or screenshots about the feature request here.

[BUG] /ticket alert not working

When I use /ticket alert with a role to alert when someone makes a ticket, it doesn’t alert that role.

  1. Setup tickets with /ticket fire
  2. Run /ticket alert and pass a role as a parameter
  3. Run /new and it doesn’t ping the role specified in /ticket alert

The role specified in /ticket alert to be alerted / pinged when someone creates a new ticket.

Screenshots

Discord & device versions

  • Discord 99.0, iPad, iOS 15.1

Additional context

[SUGGESTION] make modlogs have user id in footer

Is your feature request related to a problem? Please describe.
When you run /modlogs (as a slash command) there isn't a way to copy the user's id
image

Describe the solution you'd like
just putting the user id in the footer, if possible, quite a few other commands/features have that

Describe alternatives you've considered
getting discord to let you copy user id in slashcommand args idk

Additional context
not much other than nopo wanting the user id for some reason in mb #evidence

[SUGGESTION] Improve Error Messages

Is your feature request related to a problem? Please describe.
fire's error messages aren't the best tbh

Describe the solution you'd like
image
if the user isn't on the server, make it say something like "That user isn't on the server!"

Describe alternatives you've considered
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

Additional context

[SUGGESTION]

fire user should show first join date instead of most recent join date (idk if this is possible but it would be cool)

[SUGGESTION] ttt as alias for tictactoe

Is your feature request related to a problem? Please describe.
Typing tictactoe for a command is kinda long and inconvenient
Describe the solution you'd like
Add ttt as an an alias

Describe alternatives you've considered
N/A
Additional context
N/A

[BUG] slashcommands (at least /user) don't work right in private threads

Describe the bug

slashcommands in private threads (and maybe public ones? haven't tested) don't work if the bot hasn't been invited

To Reproduce

make a private thread, run a slashcommand before pinging the bot

Expected behavior

i was expecting the slashcommand to run and the bot to join the thread

Screenshots

image

Discord & device versions

ubuntu 20.04.2 lts, discord is whatever it uses for browsers

Additional context

image

User converter throwing TypeError

Sentry Issue: FIRE-2CS

TypeError: Cannot read property 'toLowerCase' of null
  File "/home/geek/FireTS/dist/lib/util/converters.js", line 129, in null.<anonymous>
    const match = message.client.users.cache.filter((user) => user.username.toLowerCase() == argument.toLowerCase());
  File "/home/geek/FireTS/dist/lib/util/converters.js", line 129, in Object.userConverter
    const match = message.client.users.cache.filter((user) => user.username.toLowerCase() == argument.toLowerCase());
  File "/home/geek/FireTS/dist/src/arguments/userMemberSnowflake.js", line 9, in Function.userMemberSnowflakeTypeCaster
    const user = await converters_1.userConverter(message, phrase, true);
  ?, in runMicrotasks
...
(5 additional frame(s) were not displayed)

[SUGGESTION] Command fire australia it flips your pfp

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Slash command data is null

Sentry Issue: FIRE-2ZZ

TypeError: Cannot read property 'guild_id' of null
  File "/home/geek/Fire/src/listeners/INTERACTION_CREATE.ts", line 45, in InteractionCreate.exec
    const guild = this.client.guilds.cache.get(command.guild_id);
...
(5 additional frame(s) were not displayed)

[SUGGESTION] Rolestate

Is your feature request related to a problem? Please describe.
A rolestate function that gives people back their roles when they leave and come back

Describe the solution you'd like
Logs the roles and nickname a user has before they leave the server/get banned and give it back when they come back

Describe alternatives you've considered
The 42 bot has this feature, but it often has very out of date roles and nicknames, sometimes even being over a year old.

Additional context
Could use the same logged roles and nickname from the moderation logs.
image

[BUG] Moderation slash commands don’t produce output

Describe the bug

When using a moderation command such as /warn or /mute the command runs successfully but does not send any output to the channel to command was used in.

To Reproduce

Use any moderation command. For example /warn

Expected behavior

An embed is sent to the invocation channel confirming the moderation action.

Discord & device versions

App: 94.0 (28267) stable; Manifest: W/"867744694017f75631f4d3c8b4183d22"; Build Override: N/A; Device: iPhone13,4 OS 15.0;

[BUG] Experiment locked features do not work in DMs

Describe the bug
Using a command that checks FireGuild#hasExperiment in DMs fails due to the lack of a guild.

To Reproduce

  • Open DMs with Fire
  • Use /lyrics
  • ...
  • Profit see that it brokey

Expected behavior
The command should work perfectly since Fire should be flawless.

Screenshots
image

Discord & device versions

Canary 86228 (df42107), KDE Neon 5.21.5

Additional context
Potential fix: Add FireMessage#hasExperiment that can check both guild & user experiments

[SUGGESTION] Sapphire Migration

Is your feature request related to a problem? Please describe.
Yes but no.

Describe the solution you'd like
Akairo hasn't done any major updates for so long (I love akairo) but it would be good to try something new. Sapphire framework is just so op.

Describe alternatives you've considered
Stay in akairo.

Additional context
None because I'm like begging the fire devs to rewrite a f*ck ton of areas on their bot just to migrate to something lol.

TypeError: Cannot read property 'user' of undefined

Sentry Issue: FIRE-2ZM

TypeError: Cannot read property 'user' of undefined
  File "/home/geek/Fire/src/listeners/INTERACTION_CREATE.ts", line 49, in InteractionCreate.exec
    member: `${command.member.user.username}#${command.member.user.discriminator}`,
  ?, in runMicrotasks

[SUGGESTION] Add more pride avatar commands

Is your feature request related to a problem? Please describe.
trans circle looks mad ugly with that gradient and i have a server full of people who agree

Describe the solution you'd like
make the /trans command not have an ugly gradient just use the normal trans pride flag with solid lines

Additional context
i'm also not trans myself can you add a gay rainbow one 🥺 (also if there's too much bloat with these you could put it all in /pride [type] [user])

[Request] Rainbow roles

Is your feature request related to a problem? Please describe.
yes, i miss rainbow roles feature

Describe the solution you'd like
working and customizable rainbow roles

Describe alternatives you've considered
working rainbow roles

Additional context
makes roles rainbow

[SUGGESTION] make $reminders have a thing in the embed's footer saying "use $delremind {number} to delete that reminder"

Is your feature request related to a problem? Please describe.
not really a problem, just $reminders just being a bit unclear

Describe the solution you'd like
image

Describe alternatives you've considered
honestly im not really sure what a good alternative would be, its already in $help

Additional context
what do i put here, other than that i was trying to delete a joke reminder and couldnt figure out how (yes i am both stupid and blind and forgot to look at $help, and when i did while writing this it took me a few minutes to find $delremind)

[SUGGESTION]

Random characters for badnames? Make it so we can create our own custom badname but with random characters. You can add like a {random(interval)} plugin to the /badname command.
Ex: /badname Moderated Nickname {random8}
Preview: Moderated Nickname (XXXXXXXX)

Incorrect language used

The security field in the guild command can sometimes use the wrong language due to an oversight in the code.

It uses the guild language rather than the message language, causing it to be incorrect when the user's language differs from the guild's

[SUGGESTION] Highlights

Is your feature request related to a problem? Please describe.
not every server uses carl, so i cant have highlights everywhere

Describe the solution you'd like
add highlights to fire (when someone says a specific word, it dms you, if it hasnt been said in the past 30 seconds or you havent talked in that server for the past 3 mins)

Describe alternatives you've considered
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

Additional context

image

[SUGGESTION] Use Crowdin's new "open-source project" beta feature for localization.

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
The use of Crowdin's open-source project translation feature would be nice for easier translations, I believe it's free from what I've read.

Describe alternatives you've considered
None found.

Additional context
Crowdin added an option to make translation projects for open-source projects, and from what I've seen it's free.

[SUGGESTION] Allow clearing more than warns

Is your feature request related to a problem? Please describe.
I need to clear some mutes & am unable to do so.

Describe the solution you'd like
I'd like a command similar to clearwarnings but for mutes & tempbans

Describe alternatives you've considered
Allowing clearwarnings to clear modlogs would also do suffice what I need to happen

Additional context
Add any other context or screenshots about the feature request here.

[SUGGESTION] Timestamps in /user

Is your feature request related to a problem? Please describe.
Whenever doing /user, there is no indication to what timezone is being displayed.

Describe the solution you'd like
A solution I propose is to simply use Discord's native timestamp formatting. You could simply let it display in whatever timezone the user has.

Additional context
image
(It also hadn't updated to say 5 years despite passing the 5 year point)

image

Incorrect usage of MISSING_PERMISSIONS_USER for buttons

Sentry Issue: FIRE-497

TypeError: permissions.join is not a function
  File "/home/geek/Fire/src/languages/en-US.ts", line 223, in MISSING_PERMISSIONS_USER
    `You are missing ${permissions.join(
  File "/home/geek/Fire/lib/util/language.ts", line 35, in enUS.get
    return message(...args);
  File "/home/geek/Fire/lib/extensions/buttonMessage.ts", line 205, in ButtonMessage.error
    `${emojis.error} ${this.language.get(key, ...args)}`,
  File "/home/geek/Fire/src/listeners/button.ts", line 183, in Button.exec
    .error(
  File "/home/geek/Fire/src/listeners/interaction.ts", line 86, in InteractionListener.handleButton
    this.client.emit("button", message);
...
(5 additional frame(s) were not displayed)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.