Coder Social home page Coder Social logo

bioman's Introduction

Summary

Welcome here! I am Helmasaur and I live in Paris, France.

For now, you can mostly find projects related to discord.js, but some other things might slowly appear. I might be talking about a CMS and a video game 👀.

Stay tuned!

How to reach me

🐦 Twitter: @helmasaur
📷 Instagram: @helmasaur
🐽 Discord: Helmasaur#1138

Statistics

NOTE: Top Languages does not indicate my skill level or anything like that. It's a GitHub metric of which languages have the most code on GitHub. It's a new feature of github-readme-stats.

Helmasaur's GitHub stats Top languages

bioman's People

Contributors

helmasaur avatar

Stargazers

 avatar

Watchers

 avatar  avatar

bioman's Issues

Command executed in DM to bot proceeds

When a command is written in a direct message to the bot, it answers in the conversation. Either the command shouldn't be executed, either it should be executed in a the default channel.

capture d ecran 2016-12-21 a 02 42 23

Add command change user role

Implementation of a command to change the role of a member.

  • !halfop @user and !dehalfop @user
  • !mode +h @user and !mode -h @user
  • !role @user halfop and !role @user voice

Create documentation

Create wiki to document:

  • Installation
  • Commands
  • Contribution

The README file should also be updated.

Add about command

Implementation of a command to display the description and other informations about the server. Maybe arguments could be used.

!about
!about chan

Russian roulette

When a player loses, he gets kicked. The winner is the last man standing.

Add command to make bot say something

Implementation of a command which makes the bot say something an admin asks for. For people to not know what the bot will say, the command could be executed in a private message to the bot.

!say I am Bioman.

Configuration values in command files

Some of the configuration values are set in bioman.js. It's the case because the name, the description and the version of the bot is fetched from package.json.

Commando doesn't let us send arguments in a command class. As only the gif command uses it and only for the public rate value. That's why for the moment, the configuration file is loaded with require.

If there is a way to manage it in an other way, it would be awesome.

Add horoscope command

Implementation of an horoscope command. If no attribute is indicated, it shows the horoscope of each signs. If a sign is indicated, it shows its horoscope.

!horoscope cancer
!horoscope ♋️
!horoscope ♋︎

Using an API is required in this case.

Improve update events

Check if both old and new object has same ID and manage each value that can be modified.

Add dice role command

Implementation of dice roles command. Maybe adding the possibility to choose the number of dices and their number of faces.

Maybe using an API would be the best way.

Improve the "say" command

For the moment, when the command !say is executed, the bot just repeat what's said.

What would be good is to remove the member's message who typed the command and only keep the bot message. Also, the possibility to make the bot talk with TTS would be fun.

imrpove_say_command

Upgrade the eventHandler's code

Use a way to automatically load the events from subfolders. A good example is the command handler of Commando:

bot.registry
	.registerGroups([
		['admin', 'Admin'],
		['fun', 'Fun']
	])
	.registerDefaults()
	.registerCommandsIn(path.join(__dirname, 'commands'));

Add ban command

Implementation of the command to ban a member.

!ban @user

Add possibility to kick ourself

It should be possible to kick ourself when our username is added as argument or when no argument is written.

Example:

  • !kick @Helmasaur
  • !kick

Add bot message login

When the bot logs in or logs out, a message should be displayed in the console and in the default channel.

The issue #14 is related to this one.

Make bot compatible with several servers

Modify the code so the bot would be compatible with several servers.

Pieces of code to modify:

bot.on('ready', () => {
	console.log('Disque laser de Dorothée !');
	bot.guilds.first().defaultChannel.sendMessage('Disque laser de Dorothée !');
});

Add GIF command

Implementation of a GIF command. When an argument is indicated, it displays a random GIF from the results.
!gif keyword

Maybe using the GIPHY API would be the best way.

Add kick and ban description

Add the possibility to indicate a description to a kick or a ban when it's done through a command.

Example:
!ban @Horsengel refused to be a rubber duck => "@Horsengel has been banned by @helmasaur (refused to be a rubber duck)."
!kick @Horsengel no particular reason => "@Horsengel has been kicked by @helmasaur (no particular reason)."

Add console log

Implementation of logs on the console for errors, logins/logouts and so on.

The issue #13 is related to this one.

Add help attribute

Implement a help attribute to each command.

Example:
!ttb help

The issue #8 is related to this one.

Improve commands organisation

Modify the organisation of the code to manage the bot commands. There are at least two ways to do it:

  • using require('command.js') (information missing)
  • using the framework Commando

Personal commands wouldn't be shown anymore on the repository. Although, the issues #12 and #6 are related to it.

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.