Coder Social home page Coder Social logo

fmbot-discord / fmbot Goto Github PK

View Code? Open in Web Editor NEW
295.0 11.0 44.0 207.34 MB

.fmbot is a social Discord bot that provides music statistics for you and your friends.

Home Page: https://fmbot.xyz/

License: Other

C# 58.48% Batchfile 0.01% Dockerfile 0.04% HTML 41.46% Shell 0.02%
discord-bot fmbot-discord lastfm lastfm-api discord bot discord-net fmbot

fmbot's Introduction

.fmbot logo

Codacy code quality Join our server Discord bot status Discord bot server amount

.fmbot is a social Discord bot that provides music statistics for you, your friends, and your fellow server members.

Easily see who listens to your favorite artist in a server and make new friends. Or discover new artists within your favorite genres.


Documentation and website: https://fmbot.xyz/

Join our Discord server: http://server.fmbot.xyz/

Click here to add the bot to your server.

Funding

For funding, see .fmbot supporter.

Supporting helps us maintain and host the bot, while you get some nice perks in return.

Packages

See our Docker builds on Github Packages.

Git branch Type Discord username Invite link
main production .fmbot#8173 https://discord.com/api/oa...
dev beta/develop .fmbot develop#7613 Closed for invites

Contributing

Please see https://fmbot.xyz/setup on how to setup a local development environment, and see the CONTRIBUTING.md for further info.

Thanks

Thanks to JetBrains for providing a free license of ReSharper.

And a special thanks to Last.fm and it's community, the Last.fm developer community, the .fmbot community, contributors and staff, all supporters and all others who have helped out.

fmbot's People

Contributors

azlkiniue avatar bitl avatar chinatsu avatar crygup avatar cyberflamego avatar davwheat avatar dependabot[bot] avatar enessene avatar fb-sean avatar fres621 avatar javaroc avatar jivison avatar kefkef123 avatar koloml avatar mrcakeslayer avatar pbadr avatar regorforgot avatar th0mk avatar umbreon22 avatar vap0r1ze avatar whelanb avatar zeroxysm 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  avatar  avatar

fmbot's Issues

Improve chart performance

Big charts can take quite a while to generate, up to over a minute long.
Maybe smaller images for bigger charts would help.

Improved format for help commands

Also don't show admin commands if the user is not an admin, and don't show guild settings if user does not have admin on that guild.

I like this format from another bot:
image

add status command

displays
bot uptime
server uptime
number of db files
number command executions since bot start
number of servers the bot is on
bot status

add server settings

fm style
if users should show scrobbles from the same album
prefix
cooldown time

You can add lastfmusers to your friends list that don't exist

.fmaddfriends needs to:

  • Check if the user exists on LastFM
  • Check if the user isn't already on your friendslist
  • Optional: Check if current friends already exist

Also I'm removing .fmsetfriends, since its confusing and can be replaced by fmaddfriends

Admin commands don't work with the new database

Need to get usersettings and then check the UserType to see if a user is permitted to use the admin command.

My suggested way to go is to add a function in UserService that checks if a user has admin permissions, and then add the admin functions in a new AdminService.

Error log ID's

Logger should generate some kind of ID that gets returned to the user. This way we can keep track of errors easier.

Add a permission checker

The bot needs 3 permissions to function properly:

  • Read messages
  • Send messages
  • Embed links
    Has to be generic, no pasting code in every command please

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.