Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Userinfo #114

Open
1 of 4 tasks
ShowMeYourSkil opened this issue Dec 23, 2020 · 5 comments
Open
1 of 4 tasks

[BUG] Userinfo #114

ShowMeYourSkil opened this issue Dec 23, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ShowMeYourSkil
Copy link
Member

ShowMeYourSkil commented Dec 23, 2020

Type of Bug

  • Minor
  • Medium
  • Important
  • Critical

Describe the bug

Describe the error as clear as possible

Command Userinfo has a lot of Bugs or other Problems.

  • Current Game is not working | remove? 🤔
  • Permission Level is always Bot Owner and it's wrong..

To Reproduce

Steps to reproduce the behavior:

  1. Use 'pb!userinfo'
  2. See error

Expected behavior

A clear and concise description of what you expected to happen.

Right user informations.

Additional context

Add any other context about the problem here.

Adding new ideas:

  • Display from Warns and Mute

Images

If available, send a screenshot with the problem. It could help us.

image
image

@ShowMeYourSkil ShowMeYourSkil added the bug Something isn't working label Dec 23, 2020
@HGotthard
Copy link
Collaborator

game = memb.getActivities().get(0).getName();
CacheFlag.ACTIVITY must be enabled for getActivities()

@ShowMeYourSkil ShowMeYourSkil self-assigned this Dec 23, 2020
@ShowMeYourSkil ShowMeYourSkil removed their assignment Jan 7, 2021
@ShowMeYourSkil
Copy link
Member Author

I have implemented the CacheFlag Activity and the MemberCachePolicy. I have not yet found an answer to the problem with the permissions.

        final String perm = new PermissionCore(event).getAccessLevel().name() + "";

@ShowMeYourSkil ShowMeYourSkil self-assigned this Jan 7, 2021
@HGotthard
Copy link
Collaborator

The PermissionCore class uses the event to get the member and the access level.
Try to use the member or mentioned member as an argument.

@ShowMeYourSkil
Copy link
Member Author

The PermissionCore class uses the event to get the member and the access level.
Try to use the member or mentioned member as an argument.

Did not work. It is always permission level 5. You have to look at it again.

@HGotthard
Copy link
Collaborator

Show me your approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants