Giter Club home page Giter Club logo

form2rolebot's People

Contributors

dependabot[bot] avatar dsong175 avatar taliyos avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

form2rolebot's Issues

Single Role role groups

For more control over role groups.

ie. If a single role is assigned, all other roles in rolegroups are removed.

GUI

For increased UX

Error (without roles?)

Screenshot (14)
Bot throws this error (I'm assuming it's when roles aren't configured)-is there any way to remove the role functionality entirely? I just need it for nicknames per user.

Roles not updating?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to: Bot Config/Console
  2. Put in form info and tokens
  3. Load a range from a subsheet (Currently loading 'Assignment'!A2:B1000)
  4. Names are in A2:A1000
  5. Roles are in B2:B1000
  6. Roles will not update but discord names are fully recognized

Expected behavior
People should be assigned roles properly

Screenshots
If applicable, add screenshots to help explain your problem.
https://imgur.com/a/8aNhFd0

Desktop (please complete the following information):

  • Form2Role Bot v0.3.0a3

Bot crash after start

The bot crash directly after the start but i was able have saved the errormessages.
Something with ther SERVER MEMBERS INTENT function broke the bot. Without this function the bot is running but won't update the user roles. With this function enabled i get the following errormessages and the bot chrash.

Errorlog:
Unbehandelte Ausnahme: System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: name
bei Discord.Rest.GuildHelper.d__20.MoveNext()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
bei DiscordBot.SheetsFunctionality.d__3.MoveNext() in E:\Talios0\Form2RoleBot\DiscordBot\SheetsFunctionality.cs:Zeile 87.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DiscordBot.Sheets.d__6.MoveNext() in E:\Talios0\Form2RoleBot\DiscordBot\Sheets.cs:Zeile 95.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DiscordBot.Sheets.d__5.MoveNext() in E:\Talios0\Form2RoleBot\DiscordBot\Sheets.cs:Zeile 47.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DiscordBot.Program.d__4.MoveNext() in E:\Talios0\Form2RoleBot\DiscordBot\Program.cs:Zeile 58.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei DiscordBot.Program.Main(String[] args) in E:\Talios0\Form2RoleBot\DiscordBot\Program.cs:Zeile 22.

Remove roles from user if they don't belong.

The bot should now the assignable roles. If it detects that a user has two of the same "class" of roles, the older one should be removed. Note: This should not remove roles that aren't meant to be assigned by the bot.

Add option to PM users only after nickname/role has been assigned

Additional context
Maybe have a toggle to PM users only once their nickname/role in a server has been assigned? I'm using the bot for verification through a restricted google form, so users are only able to access the server once their info has been updated. Would this toggle be difficult to do integrate?

Sorry for the basically back-to-back requests, this is a very unique bot!

CMD Exclusive mode

Allow the bot to run without the GUI by either starting it with "--cmd" or specifying it in config.json

Change the Google Sheets update delay from seconds to minutes

If it ain't broke don't fix it?
Never heard of it before, but I quickly found out that having delays in the terms of seconds is both impractical and improbable. Therefore, changing the delay from seconds to minutes will save the few seconds it would take to make the conversion.

Allow for custom delays

The delay between updates should be easily customizable. (This was already implemented, but is being created so that it is documented.)

Ask for required information on first load

Instead of creating the configuration files and closing, have the program ask for the required values.
Allowing for the user to input the values instead of opening and editing a JSON file will make the program easier to use and more user friendly.

Desired solution
When starting without valid configuration files, the program should ask the user to input the values into the command prompt. From there, the values will be stored in the JSON configuration files for future use. However, the user should still be able to close the program and enter the values manually as was the case in the previous versions.

Need help with bot not updating roles!

The bot gets all the way to say "updating roles in {my server]" but it just sits there and does not update or move at all. I have already tried restarting, pressing enter clicking, and redownloading. I even tried an older version.

Roles with different capitilization aren't found

The program should find the pre-existing role, no matter how the information from the attached Google Sheets is formatted. As of now, it'll create a new role instead, which has the potential for creating problems if an "Other" field or text field is used.

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.