Skip to content

Converts Discord permissions hash to human understandable words

License

Notifications You must be signed in to change notification settings

maaaathis/DiscordPermissionConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Permission Converter

Easily convert Discord permissions hashes to human-understandable words.

Installation

This libary requires at least PHP 7.4 and PHP Composer installed

composer require maaaathis/discordpermissionconverter

Usage

Get result as a sequential array:

$PermissionConverter = new \Maaaathis\DiscordPermissionConverter\PermissionConverter;
$result = $PermissionConverter->convertPermission("551903302016");

or

Get result as a json array:

$PermissionConverter = new \Maaaathis\DiscordPermissionConverter\PermissionConverter;
$result = $PermissionConverter->convertPermission("551903302016", true);

Copyright and License

The maaaathis/discordpermissionconverter library is copyright © Mathis and licensed for use under the Apache 2 License (APACHE-2). Please see LICENSE for more information.

About

Converts Discord permissions hash to human understandable words

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages